Helpful Net BSD Commands

setting up a firewall

To enable ip forwarding

For ipv4

sysctl -w net.inet.ip.forwarding=1

For ipv6

sysctl -w net.inet6.ip6.forwarding=1

Document last modified Thu, 02 Dec 2004 16:00:07