(more) confusion configuring NAT

Robert Huff roberthuff at rcn.com
Wed Mar 19 16:37:13 PDT 2008


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


More information about the freebsd-questions mailing list