LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-15-2006, 03:25 AM   #1
NightSoul
LQ Newbie
 
Registered: Nov 2005
Location: Lithuania
Distribution: Slackware 10.2
Posts: 29

Rep: Reputation: 15
Unhappy Tunneling through proxy


Hello, may be you know, how to do, that program, that can't use proxy(http or socks), tunnel it through proxy? May be there is any software or what? On my slack running only console, so i don't need programs with graphical interface, only console. Please help! Thanks
 
Old 05-15-2006, 03:54 AM   #2
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 567

Rep: Reputation: 30
So you wish to tunnel http request through a proxy right ?If so use iptables
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to 3128(proxyport) ... !!! ?
 
Old 05-15-2006, 06:03 AM   #3
NightSoul
LQ Newbie
 
Registered: Nov 2005
Location: Lithuania
Distribution: Slackware 10.2
Posts: 29

Original Poster
Rep: Reputation: 15
Red face

So there only need to redirect the port, which program using to proxy and thats it? Ant there is no mater if there is a http or socks proxy? I nd how about udp ports, can i redirect udp ports to proxy?
 
Old 05-15-2006, 08:38 AM   #4
lhrt
Member
 
Registered: Mar 2006
Posts: 82

Rep: Reputation: 15
3128 in the squid proxy server. I think it can but why you want to use proxy for udp. its a connectionless protocol and not very much used for data transfer.
if you want to redirect udp port do like this

use -p udp --dport ***
bye
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Proxy tunneling SSH over HTTP Gibsonist Linux - Networking 0 12-05-2005 04:43 AM
http proxy tunneling xowl Linux - Networking 1 02-22-2005 01:41 PM
PROXY tunneling on Linux pirgos_madden Linux - Networking 0 01-04-2005 08:50 PM
tunneling apache with proxy Saleh Linux - General 0 12-22-2003 02:55 AM
proxy tunneling Rohit Linux - Networking 0 07-09-2002 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration