yes, pf for newbies... sorry
Daniel T. Staal
DStaal at usa.net
Thu Nov 30 14:03:53 PST 2006
On Thu, November 30, 2006 4:34 pm, Vim Visual said:
> Hi,
>
> ahem... I am starting to play around with pf and I am trying to figure
> out how my internal interface and external interface are called... I
> mean dhcp and the private IP address...
>
> I am using this by now:
>
> ext_if="fxp1" #the external interface
> int_if="fxp0" #the internal interface
> internal_net="192.138.3.100/150"
Um, that number after the '/' is the number of bits in the bitmask that
are _not_ allowed to vary. Assuming you meant the address range
192.138.3.100 to 192.138.3.150, the closest bitmask would be /26. (Which
actually allows the range up to 192.138.3.162.)
Daniel T. Staal
---------------------------------------------------------------
This email copyright the author. Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes. This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------
More information about the Openbsd-newbies
mailing list