PDA

View Full Version : [other] Pass traffic from port 27960(on pc) to 5190(on router) by firestarter



hullap
May 1st, 2008, 01:47 PM
Um....
Well......
as the title suggests
(im not sure if this is the right section :()

HermanAB
May 1st, 2008, 02:41 PM
Use the iptables redirect feature.

/sbin/iptables -t nat -I PREROUTING -p tcp --dport 27960 -j REDIRECT --to-port 5190


Cheers,

Herman

hullap
May 1st, 2008, 03:02 PM
Use the iptables redirect feature.

/sbin/iptables -t nat -I PREROUTING -p tcp --dport 27960 -j REDIRECT --to-port 5190


Cheers,

Herman

but will i have to do it everytime my computer restarts or my router?