Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2012 21:23:33 +0200
From:      =?UTF-8?B?SnVhbiBKb3PDqSBTw6FuY2hleiBNZXNh?= <juanjo.listas@doblej.net>
To:        freebsd-net@freebsd.org
Subject:   Re: Multiroute question
Message-ID:  <505E1035.1000805@doblej.net>
In-Reply-To: <20120920180115.ede9a2b8.misho@elwix.org>
References:  <505B2555.40704@doblej.net> <20120920180115.ede9a2b8.misho@elwix.org>

next in thread | previous in thread | raw e-mail | index | archive | help

El 20/09/2012 17:01, Michael Pounov escribió:
> Hi, Juan
>
> Use pf like in that simple example:
>
> $dsl_if = "CardA"
> $int_if = "CardB"
> $dsl_addr = "_dsl_if_ip_"
> $int_addr = "_int_if_ip_"
> $dsl_gw = "_dsl_gw_ip_"
> $int_gw = "_int_gw_ip_"
>
> set state-policy if-bound
>
> .... blah blah blah whatever rules ...
>
> pass out on $dsl_if route-to ($int_if $int_gw) from $int_if no state
> pass out on $int_if route-to ($dsl_if $dsl_gw) from $dsl_if no state
>
> # End pf example ;)

Thanks!!! Worked perfectly !!!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?505E1035.1000805>