Martin Koenig wrote:
Hi Anonymous,
What is the best way to forward TCP and UDP ports from one computer to another?
Assuming you use NAT and 2.4 kernel:
iptables -A PREROUTING -t nat -p [PROTO] --dport [PORT] -i [I_IF] -j DNAT --to [DEST]
[PROTO]: tcp / udp [PORT]: Port on public IP, the one you wish to forward [I_IF]: incoming (public) interface ( e.g. ppp0 ) [DEST]: destination ip:destination port
// Martin Koenig
PS: Why not use your real Name? PPS: Now what part of your question exactly was security-related?
Thanks all, I found the section for port-forwarding in the SuSEfirewall2 config file. I'm sorry if the question was off-topic on this list, I'm a newbie with Linux and exspecially with configuring firewalls. I thought that because it had to do with firewalling, people on the security list might know alot about these things. I do not use my real name with mailing list, because I have my email software set-up with my nick and most people do not seem to care about it. Martin Koenig, I receved your message three times, there might be something wrong with your client