Multiroute question
Juan José Sánchez Mesa
juanjo.listas at doblej.net
Sat Sep 22 19:23:22 UTC 2012
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 !!!
More information about the freebsd-net
mailing list