PF & NAT, how to forward GRE?

Mel fbsd.questions at rachie.is-a-geek.net
Thu Sep 27 02:14:54 PDT 2007


On Thursday 27 September 2007 02:47:14 Paul Fraser wrote:

> I'd like to forward all incoming GRE traffic on the WAN link to a system
> on the wired network. Could anyone advise how?

I take it you mean gre(4), which defines two IP protocols. So your rules will 
need to include proto gre or proto mobile to identify the traffic. Something 
like:
nat on $wan_if proto gre from $int_if:network to any -> ($wan_if)

-- 
Mel


More information about the freebsd-questions mailing list