Source routing (Policy routing)

Gilberto Villani Brito linux at giboia.org
Thu Nov 16 20:30:11 UTC 2006


Try using route-to like here: http://www.openbsd.org/faq/pf/pools.html#outgoing
But, put this rule at the last.

Gilberto

2006/11/14, Joe Holden <joe at joeholden.co.uk>:
> Hi all,
>
> I'm having a little trouble trying to do the equivalently of ipfw fwd in
> my pf ruleset (i've moved everything else from ipfw and it works great),
> however after much googling im still not sure of the proper syntax/ruleset.
>
> Basically, I have interface1, with a routable ip on, an openvpn
> connection goes out via that and creates tun0, which has another
> routable ip on.
>
> However, I want to be able to send traffic from my end of the openvpn
> tunnel, back via the tunnel, however i've tried all combinations of
> route-to, reply-to, even copied other peoples rulesets to the "space,"
> to no avail...
>
> Is anyone able to give me any pointers on this?
>
> I'm using -CURRENT as of this morning.
> (I originally moved from ipfw as it is still unusable as far as ipv6 goes)
>
> TIA,
> Joe
> _______________________________________________
> freebsd-pf at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"
>


More information about the freebsd-pf mailing list