firewall outgoing connections
There have been port scanning viruses going around from people bringing in computers from their homes. I need a linux computer that will allow dhcp, and only forward udp ports 53, and tcp ports 20, 21, and 80. I have tried to make iptables do this with both the filters table and the nat table, but it either forwards everything, or nothing. Can someone please tell me what commands to give iptables?
|