SQUID is a highâperformance proxy caching server for web clients, supporting FTP, gopher, and HTTP data objects etc. By default it listen on TCP 3128 port. Following iptables rules allows SQUID incoming client request (open TCP port 3128) for server IP address 202.54.1.20:
iptables -A INPUT -p tcp -s 0/0 --sport 1024:65535 -d 202.54.1.20 --dport 3128 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -p tcp -s 202.54.1.20 --sport 3128 -d 0/0 --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop













{ 11 comments… read them below or add one }
sir,
how r u.my proluem is i want linux squid proxy server + linux firewall and dhcpd server configur name and mac address based.kindly send me mac address
configuration.
Thanx
plz sir I install linux AS 3 squid is run proprely but Transparent Proxy not run plz sir give me detail information on Transparent Proxy and configuration.
Thanks
Shahbaz
Hi
Both of you dear Contact me at my email address ejaz@beaconet.net
its a simple and easy configuration ok
take care
FE AMAN ALLAH
hi sir some sites not open my local DNS iam useing linux server not open some sites
i did install a squid proxy server (white box)
but how to connect a system with this proxy server while the client system ” white box ” in text mode
Hello
I want to configure squid as a linux server to sharing of net on xp machine as a client.
Plz tell me about squid configuration on linux server and xp client.
Thanks
hi
sir m using squid for non-transparent proxy server with iptable .plz tell how i will configure it .m using squid 2.6.19 stable
Sir, still iam now using Advanced Server 2. but I am now tray to stable
2.6 how to configure proxy server and how working in internet ….
Dear sir how can I restrict to browse some sites from my local network using proxy server and how can I configur to all my user control from proxy server?
Dear Sir, how to configure the proxy server to allow access to a single site to all clients on my network ?
Thanks in advance.
sir,
i am connected internet connection through fedora13 in iptables,
some web sites are blocking in ip tables, i have accept this website only my pc.