Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2001 23:09:04 +1000
From:      "Educatee" <educatee2001@yahoo.com>
To:        "FreeBSD questions" <freebsd-questions@FreeBSD.ORG>
Subject:   How to setup 2 interface?
Message-ID:  <011601c0bb76$572b3b80$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 :)



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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?011601c0bb76$572b3b80$0100a8c0>