i'm having trouble opening ports with iptables. i've used firestarter before and it works great, but i want to start using iptables because i work on the server edition quite a bit.
anyway, this is what i see when i type 'iptables -L':
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
which is the default. I want open port 11211 so i ran the following command:
iptables -A INPUT -s 192.168.1.4 -d 192.168.1.3 -p tcp --dport 11211 -j ACCEPT
and it showed up in the output when i ran 'iptables -L'. So i ran the following command from 192.168.1.4
sudo nmap -sS -O 192.168.1.3
but the port still seems to be closed. it only shows two open ports.
what am i doing wrong?
Bookmarks