Date: Thu, 16 Nov 2006 18:29:59 -0200 From: "Gilberto Villani Brito" <linux@giboia.org> To: "FreeBSD (PF)" <freebsd-pf@freebsd.org> Subject: Re: Source routing (Policy routing) Message-ID: <6e6841490611161229n4392c4aame4f58fd41974b8ae@mail.gmail.com> In-Reply-To: <45593F08.9060708@joeholden.co.uk> References: <45593F08.9060708@joeholden.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6e6841490611161229n4392c4aame4f58fd41974b8ae>