Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2001 23:10:49 +1000
From:      "Tuan Jean" <tjtee@optushome.com.au>
To:        "FreeBSD questions" <freebsd-questions@FreeBSD.ORG>
Subject:   how to setup 2 NIC?
Message-ID:  <011701c0bb76$57b1a990$0100a8c0@co3018900a>

next in thread | raw e-mail | index | archive | help
I am new to FreeBSD. I would like to attempt the following but still no luck
after 5 months of try and error. I appreciate any advice from any guru.
Thanks.

I could like to have a proxy/firewall that sits between two networks. say
192.168.0.0 and 192.169.0.0. One of the interface is connected to a router
that links all the time to an ISP. How should I setup my rc.conf file?
following is my current rc.conf.

ifconfig_lnc0="inet 192.168.0.2 netmask 255.255.255.0"
ifconfig_lnc1="net 192.169.0.2 netmask 255.255.255.0"
hostname="firewall.home.com"
gateway_enable="YES"
defaultrouter="192.168.0.1"
inetd_enable="YES"

192.168.0.1 is the router I connect to ISP.

Thank you :)




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?011701c0bb76$57b1a990$0100a8c0>