Commit 6b1546c8 authored by Oliver Lowe's avatar Oliver Lowe

enable, configure first lan interface

configures NAT
enables ip forwarding via sysctl(8)
configures lan interface with /24 network
parent 99524905
# configures our dolphinbox network interface
# the network is just a /24
inet 10.0.69.1 255.255.255.0 10.0.69.255
......@@ -10,6 +10,9 @@
dbif = "em1" # dolphinbox wired interface
set skip on lo0
match out on egress inet from !(egress:network) to any nat-to (egress:0)
# Drop all traffic which doesn't match a rule. Allow all outbound
# traffic.
block all
......
net.inet.ip.forwarding=1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment