OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Jon Hoffman (jhoffman_at_unr.net)
Date: Wed Dec 18 2002 - 07:17:07 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    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

    -- 
    Check the headers for your unsubscription address
    For additional commands, e-mail: suse-security-helpsuse.com
    Security-related bug reports go to securitysuse.de, not here