Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 1999 16:16:42 -0700
From:      Emmanuel Gravel <chemtechweb@psn.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   How to setup IPFW rules for dynamic address?
Message-ID:  <36C7595A.34B3B91E@psn.net>

next in thread | raw e-mail | index | archive | help
I have a FreeBSD box that I want to use as a gateway/firewall to
the net in a small LAN through a dialup connection.  I have an idea
on how to setup User PPP so that it'll connect on-demand (at least
I know where to get the info).  What I don't know is how to tell the
firewall to restrict/accept incoming data from the modem (here tun0
interface of course) using a dynamically allocated address which can
be from one of three distinct IP ranges.  I know what the address of
the other side of the PPP link is, most often (I've seen it change
at times).

I've searched the archives, and Doug White had suggested to keep the
rules as general as possible, except from known (internal) addresses.
This is something I can't do since I want to setup servers which should
only be accessible to people who have certain IP address ranges (mostly
the same as the ones I can be assigned) and have all other connections
blocked out from the outside interface.  Does anyone know of any docs/
tutorials/etc about setting up firewalls on dynamically allocated
addresses on known interfaces?  Is it possible at all?

Thanks for your help,

Manu

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?36C7595A.34B3B91E>