Hi Daniel
Please have a look at the HOWTO:
http://mirrors.indyramp.com/ipmasq/ipmasq-HOWTO-1.82.html
Your question is answered in:
http://mirrors.indyramp.com/ipmasq/ipmasq-HOWTO-1.82-6.html#ss6.8
regards
--
Tobias Reckhard
secunet
Security Networks AG Tel : +49(6196)95888-42
Mergenthalerallee 77 Fax : +49(6196)95888-88
D-65760 Eschborn E-Mail: [EMAIL PROTECTED]
> -----Original Message-----
> From: Daniel Baldoni [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, August 21, 2000 11:03 AM
> To: [EMAIL PROTECTED]
> Subject: ipfw masquerading and forwarding
>
> G'day folks,
>
> I have a client with a slightly out-of-date Debian (2.1 running a 2.0.36
> kernel) box wanting to use ipfwadm (2.3.0) to allow access to one of their
> internal (RFC1597 addressed) boxes from outside hosts. This diagram
> should show what I mean...
>
> +--------+ ppp0+---------+eth0 +----------+
> |Internet| <----> | gateway | <----> | internal |
> | hosts | | box | | server |
> +--------+ +---------+ +----------+
> TCP port 80 TCP port 80
>
> So, any request hitting the gateway at port 80 should be forwarded to the
> internal server - again at port 80 - with replies being correctly handled.
>
> Now, using various products, I could handle this easily but I've not used
> ipfwadm before. Any help would be much appreciated.
>
> Ciao.
>
> --
> -------------------------------------------------------+------------------
> ---
> Daniel Baldoni BAppSc, PGradDipCompSci | Technical
> Director
> require 'std/disclaimer.pl' | LcdS Pty. Ltd.
> -------------------------------------------------------+ 856B Canning Hwy
> Phone/FAX: +61-8-9364-8171 | Applecross
> Mobile: 041-888-9794 | WA 6153
> URL: http://www.lcds.com.au/ | Australia
> -------------------------------------------------------+------------------
> ---
> "Any time there's something so ridiculous that no rational systems
> programmer
> would even consider trying it, they send for me."; paraphrased from "King
> Of
> The Murgos" by David Eddings. (I'm not good, just crazy)
> -
> [To unsubscribe, send mail to [EMAIL PROTECTED] with
> "unsubscribe firewalls" in the body of the message.]
-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]