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