I have OpenBSD 3.8 as a router. This is my pf.conf
ext_if=dc0
int_if=xl0
tcp_services = {22, 113}
icmp_types = echoreq
priv_nets = {127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8}
#options
set block-policy return
#set loginterface $ext_if
#scrub
scrub in all
#nat/redirect
nat on
Keywords: openbsd 3.8, pf, accounting, per-protocol, per-ip, bridging
I am in a bit of a mess trying to get this setup to work. The topology
is as follows:
Host Martin -\
217.218.45.80 \local zoneinternet zone
\
Before more description, here's the layout:
[Cisco Router]
|
[iPrism] (configured as a transparent bridge)
64.xxx.xxx.58/28
|
64.xxx.xxx.63 (carp4)
64.xxx.xxx.61 (fxp4)
[OpenBSD router]
192.168.0.1