Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2008 19:37:25 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        Christopher Cowart <ccowart@rescomp.berkeley.edu>
Cc:        questions@freebsd.org
Subject:   Re: (more) confusion configuring NAT
Message-ID:  <18401.41909.143191.499557@jerusalem.litteratus.org>
In-Reply-To: <20080319231859.GM39509@hal.rescomp.berkeley.edu>
References:  <18401.29043.824662.173177@jerusalem.litteratus.org> <18401.30778.630307.932644@jerusalem.litteratus.org> <18401.31783.343088.197533@jerusalem.litteratus.org> <20080319205600.GJ39509@hal.rescomp.berkeley.edu> <18401.33813.132534.954227@jerusalem.litteratus.org> <20080319231859.GM39509@hal.rescomp.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

Christopher Cowart writes:

>  Do you have gateway_enable="YES" in your /etc/rc.conf?

huff@>> grep gate /etc/rc.conf
gateway_enable="YES"

>  $ sysctl -a net.inet.ip.forwarding 
>  net.inet.ip.forwarding: 1

huff@>> sysctl -a net.inet.ip.forwarding
net.inet.ip.forwarding: 1


>  Is the interface mentioned in the nat config the interface with the
>  public IP?

	em0 connects to the cable modem.

>  Try putting `$CMD count log ip from any to any' rules to see if traffic
>  is matching where you expect it to;

	Where do I find the results of this


				Robert Huff



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