View Single Post
  #2   (View Single Post)  
Old 15th May 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,128
Default

Your second NIC needs to be on another subnet. It cannot be on the same subnet as the first NIC.
After assigning an address in another subnet , you also need to enable forwarding of the IP traffic between the two NICs.

In rc.conf
Code:
gateway_enable='YES'
Alternative is to use the appropiate sysctl to enable this. Finding the name of this sysctl is left as an exercise for the reader
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote