Relative Content

Tag Archive for linuxiptablessquid

Allowing squid to listen while iptables default policy is drop

having some trouble with fresh squid server on a VPS box.
I have the box secured with iptables – simple iptables -P INPUT DROP, and only my home ip is allowed to connect.
The problem is, whatever http_port I set in squid.conf, squid does not listen when default action on INPUT chain is DENY.
I have an openvpn server on the same box and it works flawlessly without any settings except allowing my home IP to connect (2nd rule).