Mailinglist Archive: opensuse-security (300 mails)
| < Previous | Next > |
Re: [suse-security] ppp0 to internal network
- From: "Andreas Bittner" <bittner@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 18 Dec 2002 13:46:10 +0100
- Message-id: <016701c2a693$756bd640$6496a8c0@lwg>
----- Original Message -----
From: "Andre Vorster" <andre.vorster@xxxxxxxxxxxxxxxxxxx>
To: "Suse-Security (E-Mail) (E-mail)" <suse-security@xxxxxxxx>
Sent: Wednesday, December 18, 2002 1:31 PM
Subject: [suse-security] ppp0 to internal network
> 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
ok now i dont know what u called the zone for the ppp0, but lets assume its
name is "dial"
then you have in your interfaces file a line for the ppp0 interface, we will
call that dial for example:
according to your setup:
#ZONE INTERFACE BROADCAST OPTIONS
int eth0
ext eth1
dial ppp0 - norfc1918 #example for your ppp0
dial interface on your firewall, options as you wish...
thank you need further a line in your rules file:
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL
# PORT PORT(S) DEST
DNAT dial int:ipofyourunixservertotelnetto tcp 23
# redirect port 23 (telnet port) to your ip-of-your-unixserver-to-telnet-to
did i get this correct? your firewall box extablishes a ppp0 connection to
the inet some way, via callback, remote trigger, scheduled calls whatever?
and after that you could telnet to the ip of your firewall box and it would
forward your telnet request to the inside to your unix box... right?
so telnet myfirewallbox.myzone.com would end up on
myunixbox.internal.myzone.com
maybe this helps?
regards,
andy
From: "Andre Vorster" <andre.vorster@xxxxxxxxxxxxxxxxxxx>
To: "Suse-Security (E-Mail) (E-mail)" <suse-security@xxxxxxxx>
Sent: Wednesday, December 18, 2002 1:31 PM
Subject: [suse-security] ppp0 to internal network
> 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
ok now i dont know what u called the zone for the ppp0, but lets assume its
name is "dial"
then you have in your interfaces file a line for the ppp0 interface, we will
call that dial for example:
according to your setup:
#ZONE INTERFACE BROADCAST OPTIONS
int eth0
ext eth1
dial ppp0 - norfc1918 #example for your ppp0
dial interface on your firewall, options as you wish...
thank you need further a line in your rules file:
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL
# PORT PORT(S) DEST
DNAT dial int:ipofyourunixservertotelnetto tcp 23
# redirect port 23 (telnet port) to your ip-of-your-unixserver-to-telnet-to
did i get this correct? your firewall box extablishes a ppp0 connection to
the inet some way, via callback, remote trigger, scheduled calls whatever?
and after that you could telnet to the ip of your firewall box and it would
forward your telnet request to the inside to your unix box... right?
so telnet myfirewallbox.myzone.com would end up on
myunixbox.internal.myzone.com
maybe this helps?
regards,
andy
| < Previous | Next > |