Results 1 to 3 of 3
Hi, How can I forward all my http and https traffic to my transparent proxy? I'm not able to do this at router level right now, so I need to ...
- 07-31-2008 #1Just Joined!
- Join Date
- Jul 2006
- Posts
- 14
Forward 80 traffic
Hi, How can I forward all my http and https traffic to my transparent proxy? I'm not able to do this at router level right now, so I need to know how to do this from my local box.
- 07-31-2008 #2Linux Newbie
- Join Date
- Feb 2008
- Location
- Bangalore, India
- Posts
- 112
Please always post your host, os details. it help us to suggest platform specific solutions.
Which os are you using. ? Are you using squid to setup transparent proxy?
Code:iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
bigunix.blogspot.com
Registered Linux User: #476440
- 08-05-2008 #3Just Joined!
- Join Date
- Jul 2006
- Posts
- 14
I'm running ubuntu hardy, yes squid as my proxy on port 80. My squid is running on another server, running debian, so I think I am looking for basically the command you gave, except I need to be able to put in a ip for another server.
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to 192.168.1.88
iptables v1.3.8: IP address not permitted


Reply With Quote