Results 1 to 3 of 3
Thread: Forward 80 traffic
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
07-31-2008 #1
- Join Date
- Jul 2006
- Posts
- 14
Forward 80 traffic
-
07-31-2008 #2
- 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 #3
- 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