iptables blocking all ports except port 80

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have iptables in centos 5.5.

How can i only allow port 80 in my vps.. Because i have squid in
remote server and my vps connects to port 3128 there. but when i do
torrent, it works,, how can i disable it? Please give me steps in
iptables routing thanks.

In short, what rules to add to block other ports except, ssh and port 80, 3128.
Thanks very much.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux