I have a VPS box with 4 external ips on it and I need to open the udp port for each ip in part but I can't seem to get it right with ip tables. Here's my rule so far:
iptables -I INPUT -d 98.158.xxx.86 -p udp --dport 34121 -j ACCEPT
The program I'm using needs to connect to that ip via udp but the server does not allow it. any ideas?
iptables -I INPUTrequires entry number. – poige Jul 25 '11 at 5:48