On Wednesday 18 December 2002 07:31, Andre Vorster wrote:
Hi all
Using SuSE 7.3 I am trying to setup my firewall so that it will forward port 23 (telnet) to unix server on the internal net. If I dial into my linux box via ppp0.
My linux server has two LAN card eth1 - ext & eth0 - int & then the ppp0 dial-up that needs to forward to eth0.
I am using my server as a web & mailserver.
Can somebody please help.
Andre Vorster Business Print Centre Tel: 012 349 2295 Fax: 012 349 2299
What are you using for your firewall? I forward ports through our firewall to machines that are behind it using IPTABLES and the rule that you want looks like this: iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 23 -j DNAT --to-destination IP.ADDRESS.OF.MACHINE.TO.GET.TELNET:23 (that is all one line) Jon Hoffman