I have gone through nearly all the natd ipfw postings here but cannot seem to find a solution. I have set up a FreeBSD router with windows clients in the range of 169.254.0.0/24. I have also followed to the letter how to setup natd from the handbook. I am able to get to the internet from the external IP and from the internal IP of the server, however I am not able to get to the internet from the clients.
My ipfw -a list look like below
I have noted that the loopback interface is getting no traffic at all and i believe it should. What is the solution to this?
My natd.conf looks like below:
My /etc/sysctl.conf looks like below:
Can anyone help with this? I am wits' end now.
My ipfw -a list look like below
Code:
00050 34 3989 divert 8668 ip4 from any to any via bge0
00100 0 0 allow ip from any to any via lo0
00200 0 0 deny ip from any to 127.0.0.0/8
65000 141 14842 allow ip from any to any
65535 19514 2456258 allow ip from any to any
I have noted that the loopback interface is getting no traffic at all and i believe it should. What is the solution to this?
My natd.conf looks like below:
Code:
defaultrouter="41.191.77.33"
gateway_enable="YES"
hostname="XXXXXXXXXXX"
ifconfig_bge0="inet x.x.x.x netmask 255.255.255.0"
#inetd_enable="YES"
keymap="us.iso"
sshd_enable="YES"
rinetd_enable="YES"
squid_enable="YES"
firewall_enable="YES"
firewall_type="open"
firewall_logging="YES"
natd_enable="YES"
natd_interface="bge0"
#natd_flags="-f /etc/natd.conf"
apache22_enable="YES"
mysql_enable="YES"
Code:
net.inet.ip.fw.one_pass=0
net.inet.ip.forwarding=1
net.inet.ip.fw.verbose=1
net.inet.ip.fw.verbose_limit=5