iptables firewall
I have a NAT set up on my linux box and now I'm trying to get the fire wall working. What I want to have is just the firewall to block everything and then punch holes for the different services that are running. When I do this though it seems to block everything, even the services that I have running (ie my web server). My output from the tables are:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp spt:10000
ACCEPT tcp -- anywhere anywhere tcp spt:http
ACCEPT tcp -- anywhere anywhere tcp spt:domain
ACCEPT udp -- anywhere anywhere udp spt:domain
ACCEPT tcp -- anywhere anywhere tcp spt:ssh
DROP all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Thanks,
Jason
|