Network Troublshooting > Linux Proxy Server Support

Setting Proxy server in Ubuntu

(1/1)

rasheedahme27:
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  :)

kaushalpatel1982:
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


rasheedahme27:
Thanks kaushalpatel1982.

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

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

Navigation

[0] Message Index

Go to full version