Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jun 1998 17:04:57 -0400
From:      David Boisvert <David_Boisvert@uqtr.uquebec.ca>
To:        FreeBSD questions <freebsd-questions@FreeBSD.ORG>
Subject:   ipfw & natd problems
Message-ID:  <357C51F9.167EB0E7@uqtr.uquebec.ca>

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

  I need some assistance and help with the install of ipfw and natd. I
have a P100 with FreeBSD 2.2.6 on it and I also have a 489dx66 with
win3.11 for workgroup. I can telnet from my win3.11 to my FreeBSD box
and myFreeBSD box can ping my 486.

My settings are:

205.151.62.42 	: Cable modem connected to the internet (ed1)
192.168.1.1	: Second ethernet card in the FreeBSD 
		  connected to the 486 (ed2)
192.168.1.2	: Third ethernet card in the 486


In the 486:

IP Adress             	192.168.1.2
SubnetMASK            	255.255.255.0
Default Gateway       	192.168.1.1
Primary Wins Server   	1.1.1.1
Secondary Wins Server 	1.1.1.1

Enable dns for windows name resolution

dns			205.151.69.200 (same as my FreeBSD box)

/etc/rc.conf

firewall_enable="YES"         
firewall_type="open"
firewall_quiet="NO" 
gateway_enable="YES"

KERNEL:

options IPFIREWALL                      #code packet filtering
options IPFIREWALL_VERBOSE              #logging packet throught syslogd
options IPFIREWALL_VERBOSE_LIMIT=20     #limits the numbers of
packets                                           #logged throught
syslogd on a 							#per day basis
options IPDIVERT                        #for the use of NATD


FIREWALL:

01000 allow ip from any to any via lo0
01010 deny ip from 127.0.0.0/8 to 127.0.0.0/8
65000 allow ip from any to any
65535 deny ip from any to any


/etc/services:

natd            6668/divert # Network adress translation socke

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?357C51F9.167EB0E7>