On Sat, Oct 17, 2009 at 6:02 PM, M E <[email protected]> wrote:
>
> hello ,
> I wondered if anyone could assist me in writing a simple packet filter
> firewall on my OpenBSD v4.5.
> All I intend doing is to have two firewalling machine on a separate network :
> 192.168.1.1
> ext_if = xl0 (dhcp) // Internet interface
> int_if=xl1 // Internatl interface
>
please add these lines in your first gateway
ext_gw2 = 192.168.2.20
pass out on $ext_if route-to ( $ext_if $ext_gw2 ) from $int_if:network
to any port { 80, 443 }
--Siju
> 192.168.2.20
> ext_if = rl0 = 192.168.1.120 (static IP) //
> int_if=rl1 = 192.168.2.20
>
> My problem is how I could have the first machine passing the webtraffic to
> the second firewall machine?
> Please I wondered if anyone could send me a brief explanation on this. I am
> not running a webserver or services to the outside world.
> thanks
> Matt
>
> _______________________________________________
> bsd-india mailing list
> [email protected]
> http://www.bsd-india.org/mailman/listinfo/bsd-india
>
_______________________________________________
bsd-india mailing list
[email protected]
http://www.bsd-india.org/mailman/listinfo/bsd-india