Thread: port fowarding
View Single Post
  #3   (View Single Post)  
Old 12th October 2010
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 429
Default

Quote:
Originally Posted by wilfried View Post
You also probably want to nat outgoing traffic
And if you're doing nat, don't forget to run:

sysctl net.inet.ip.forwarding=1
echo "net.inet.ip.forwarding=1" >>/etc/sysctl.conf

and the same if you're using ipv6:

sysctl net.inet6.ip6.forwarding=1
echo "net.inet6.ip6.forwarding=1" >>/etc/sysctl.conf
Reply With Quote