Network Troublshooting > Linux Proxy Server Support

Setting Proxy server in Ubuntu


Hi Fiends,

please help me to set up proxy server on my ubuntu desktop..

i need to forward my all Pc's traffic through this desktop (all these PC's in same network)

my TL said to do this concept using iptables. on Ubuntu desktop.

sorry for my bad english..

Thanks  :)

1. Open squid configuration file.
2. create an ACL for your network
3. Allow that ACL to access internet.
4. Restart squid services.
4. Setup net forwarding in /etc/sysctl.conf
5. Configure IPTables to forward rest of the traffic to internet
       # iptables -t nat -I POSTROUTING -o <external interface> -j MASQUERADE

Thanks kaushalpatel1982.

here external interface means. i am using internal networks this same network i have a proxy server

iptables -t nat -I POSTROUTING -o <external interface> -j MASQUERADE


[0] Message Index

Go to full version