gateway_enable question

Tim Niy at extacy.homeip.net
Thu Dec 9 20:26:57 PST 2004


David Banning wrote:

>I have a few win boxes which use my FreeBSD box as a gateway to 
>the net. I am wondering how I can keep a network connection 
>between all the computers, allowing the FreeBSD box to 
>still be connected to the net, but disallow all win boxes from 
>connecting to the net? 
>
>My thought was to disable the gateway configuration set in rc.conf.
>How do I disable the gateway option without rebooting?
>
>
>  
>

Another option: Try tweaking your firewall rule set to deny all traffic 
from the card facing the inside lan? For example, using ipfw:

#>ipfw add <open rule number> deny ip from any to any via <dev facing lan

Check out the man for your firewall for more info. Just a thought, might 
work for ya.


More information about the freebsd-questions mailing list