Network Troublshooting > Linux Proxy Server Support

Help please


setup proxy in between public pc's and ISP: (this proxy should handle all ports for ex: 21,22,23,80)

Two pc's ( ubuntu installed (will act as a proxy) and ubuntu installed (will act as a client) )
1) setup Gateway for client pc to redirect traffic to proxy
2) setup proxy on using iptables


1) install squid in x.x.x.13 and run the squid in port 3128
2) put the following redirection rule in proxy x.x.x.13
     iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
3) set gateway x.x.x.13 for x.x.x.12

But remember your squid will not proxy 21 ftp port.

only 80 http port.


[0] Message Index

Go to full version