16 Jul
2002
16 Jul
'02
18:11
Z_God wrote:
What is the best way to forward TCP and UDP ports from one computer to another? I have only one ip adress and I want to use programs like WinMX, that require an incomming port, on different computers behind my firewall. I'm using SuSE Linux 7.3 with SuSEfirewall2. Thanks in advance.
should be able with that setup. i don't know if susefirewall has own config options for that but if i remember right such option exist. iptables -t nat -I PREROUTING -p tcp --dport winmxport -i inetdev -j DNAT --to-dest yourwinmxpc is the rule for manual adding (which will not work i think cause you first need to allow data from inet -> yourpc at the mx port.) HTH Sven