I have a pc with 2 nic(re0-with conexions to the internet,rl0-conection with laptop) I have compiled the kernel with the
, in the /etc/rc.conf i've add
and the /etc/natd.conf
What I do wrong becouse the internet do not go to the laptop ? What I must to do?
Code:
options IPFIREWALL, IPDRIVERT, IPFIREWALL_DEFAULT_TO_ACCEPT& IPFIREWALL_VERBOSE
Code:
getway_enable="YES" , firewall_enable="YES" , firewall_type="YES" , natd_enable="YES" , natd_interface="re0" , natd_flags="-f /etc/natd.conf"
Code:
redirect_port tcp 172.16.0.2:80 80