OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [suse-security] Port forwarding

BLeonhardtanalytek.de
Date: Mon Jun 16 2003 - 04:51:07 CDT


Hi,
try it with iptables :

iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 --to-destination
192.168.2.4:80 -j ALLOW

Note :

eth0 -> if you're using DSL on eth0
ippp0 -> if you're using ISDN

Wrote this from scratch - not sure if really working ...

regards,
bruno

Olsson Mattias <mattias.olssonsiemens.com> schrieb am 16.06.2003
11:13:18:

> Hi all!
>
> Im running SuSE 8.1 with SuSEfirewall at home. Works nice but i wish to
do a
> port forwarding from my external masq.
> ethernet device to on internal machine. Can that be done with 8.1?
>
> Eg
>
> -----> http --> external masq dev. ---> internal web server port 80
>
>
> What is the syntax?
>
> Regards /Mattias
>
> --
> 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
>

--
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