Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2006 22:35:48 -0500
From:      Dennis Olvany <dennisolvany@gmail.com>
To:        PFS IT <pfsbsd@gmail.com>
Cc:        freebsd-ipfw@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: IPFW - Two External Interfaces
Message-ID:  <446A9A14.30507@gmail.com>
In-Reply-To: <996142470605161456n46e43682x392b1f4f2ccfec73@mail.gmail.com>
References:  <996142470605161456n46e43682x392b1f4f2ccfec73@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
PFS IT wrote:
> I am complicating the use of IPFW...

> Here is a pretty ascii picture. I drawed it meself.

>         ISP 1
>    [192.168.2.254]
>           |
>           |
> [bge1:192.168.2.1]
>           FIREWALL[bge0:10.0.0.1]-------[10.0.0.2]internal_system
>  [em0:192.168.1.1]
>           |
>           |
>    [192.168.1.254]
>         ISP 2



> #Send traffic to natd
> divert 8869 ip from any to any via bge1
> divert 8868 ip from any to any via em0

> #Send "special" traffic out via em0
> fwd $isp2_gw ip from $internal_system to $remote_system 80

> $internal_system# hping -STp 80 $remote_system
> 
> Should result in a trace across em0 to google



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?446A9A14.30507>