Iptables please
ok. this is my first post here! i have done some research for iptables but i cant take it anymore! i need some rest from reading but i really need this to work! i have a linux pc being used a my router and as a server. i have iptables installed (may i add my cuzin did 99% of all the work on this router so to say i know everything would be a lie), apache, and some other stuff. now what im trying to do is open a port that will allow port 8602 to be open tcp and udp so a program i have called xbconnect (google it, the forum wont let me post the url because of spamming purposes) so that i can play online. please tell me the command. ive used this one but it doesnt seem to work:
Code:
iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 8602 -j DNAT --to-destination 192.168.2.2 Code:
iptables -t nat -A PREROUTING -i ppp0 -p udp --dport 8602 -j DNAT --to-destination 192.168.2.2 need more info? just ask and ill tell you. |
This is how I used to open ports in iptables:
iptables -A INPUT -i eth0 -p tcp --dport 8602 -m state --state ESTABLISHED -j ACCEPT |
All times are GMT -5. The time now is 12:41 PM. |