Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2001 14:48:42 -0500
From:      Daniel Cote <dccote@sympatico.ca>
To:        freebsd-ipfw@freebsd.org
Subject:   ipfw: ppoe0 IP address
Message-ID:  <a05100900b6ea931427f5@[64.229.107.229]>

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



I am trying to set up the firewall on Darwin, but I am not too sure
how to get the outside ip address since it changes dynamically via
pppoe.

How do you set up a firewall with a changing address?

#
# Define your variables
#
fwcmd="/sbin/ipfw"	#leave as is if using ipfw
oif="pppoe0"		#set to outside interface name
onwr="64.229.0.0/16"	#set to outside network range
oip="a.b.c.d"		#set to outside ip address

iif="en0"		#set to internal interface name
inwr="192.168.0.0/24"	#set to internal network range
iip="192.168.0.1"	#set to internal ip address

ns1="204.101.251.1"	#set to primary name server best if = oif
#ntp="i.j.k.l"		#set to ip of NTP server or leave as is

--
Daniel Côté

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a05100900b6ea931427f5>