[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ipfw redirection



Use this proggie. It redirects all data from one port to another machine's
port.


-----Original Message-----
From: Erez Doron <erez@savan.com>
To: Net group for linux <linux-net@vger.rutgers.edu>; ILUG
<linux-il@linux.org.il>
Date: Tuesday, May 05, 1998 3:17 PM
Subject: ipfw redirection


>hi
>
>
>I have such a net:
>
>                /----------\    /--------\
>internet -------| firewall |----|  mail  |
>                |  (linux) |    | server |
>                \----------/    \--------/
>                     |
>                 /--------\
>                 |  http  |
>                 | server |
>                 \--------/
>
>I want any packet which is sent from the internet to the mail
>server at port 80 to be redirected to the http-server port 80,
>so it will be seen as both the mail server and http server
>are one computer.
>
>can i do it with ipfwadm ? ( didn't see it in the man page ! )
>
>regards
>Erez.
>
>

Datapipe.c

Datapipe