Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 1998 13:01:25 -0600
From:      Leonardo Madrigal <lmadrig@acnet.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   litle question
Message-ID:  <360FDD04.DBBD820@acnet.net>

next in thread | raw e-mail | index | archive | help
Hi all!

i already posted this in the news but with no answer :(

I have a litle question , i hope you can help me out...:)

i have a T1 line for the internet via one cisco router,(as5200) and a
FreeBSD 2.2.6-RELEASE box with 1 ethernet card.
The server its a dns machine, ftp machine, mail ,etc,etc,etc,
im trying to setup the server to act as a firewall to protect the inside

network 167.114.17.
and also the server itself., so i need a second nic.

The fisrt nic have the ip 167.114.28.234 with netmask 255.255.255.192
The seond nic will have the ip 167.114.17.101 with netmask
255.255.255.224


My cisco have to gateways, one its for the modem's access (isp) and the
gateway is 167.114.28.193,also
the first ip 167.114.28.234 use this gateway for its internet
connection.
The second gateway on the cisco its 167.114.17.97 for LAN connection.

in my rc.conf i have

ifconfig_vx0="inet 167.114.28.234  netmask 255.255.255.192"
defaultrouter="167.114.28.193"
gateway_enable="YES"
router_enable="YES"

i think i have to write another line on the rc.conf to especify the ip
167.114.17.101 to the second nic

but which routes do i  need in the server so the LAN  can see the
167.114.17.101 ethernet card
for firewall purposes?




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?360FDD04.DBBD820>