Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2007 11:14:22 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: PF & NAT, how to forward GRE?
Message-ID:  <200709271114.23434.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <5B12658D0EB52A429B07DFD300B9391CCAF7C1@WIC002EBCLV3.exchange.server-login.com>
References:  <5B12658D0EB52A429B07DFD300B9391CCAF7C1@WIC002EBCLV3.exchange.server-login.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709271114.23434.fbsd.questions>