Код: Выделить всё
# Setup a default deny policy.
block in all
block out all
# Pass traffic on the loopback interface in either direction.
pass quick on lo0 all
# Pass traffic out on rl0 from the OpenBSD machine's IP address 192.168.1.2.
# Also, pass the return traffic on rl0.
pass out on rl0 from 192.168.1.2 keep state
Код: Выделить всё
# Setup a default deny policy.
block in all
block out all
# Pass traffic on the loopback interface in either direction.
pass quick on lo0 all
# Table.
table <vt> persist file "/etc/vt"
# Pass traffic in on rl0 from the local network, vt,
# to the OpenBSD machine's IP address 192.168.1.2. Also, pass the
# return traffic out on rl0.
pass in on rl0 from <vt> to 192.168.1.2
pass out on rl0 from 192.168.1.2 to <vt>