Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Proxy Server Support => Topic started by: rasheedahme27 on July 19, 2010, 02:01:58 PM

Title: Help please
Post by: rasheedahme27 on July 19, 2010, 02:01:58 PM
setup proxy in between public pc's and ISP: (this proxy should handle all ports for ex: 21,22,23,80)

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

  ::)
Title: Re: Help please
Post by: getviswa on August 31, 2010, 05:03:31 AM
hi
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
Title: Re: Help please
Post by: netguy2000 on January 21, 2011, 08:29:40 AM
But remember your squid will not proxy 21 ftp port.

only 80 http port.