Hello BSD users,
the title is surely ever seen. I put FreeBSD on my main computer. Mostly good, I succeeded to protect my gateway with Ipfw. All ports are close and steal. My gateway communicate perfectly with my lan and all others between them. I use Hostapd, Dnsmasq and Samba plus Vsftpd. I have a problem. My lan cannot access to Internet. With my actual Ipfw rules I feel very well protected but only the gateway can access to Internet.
I troncated the Workstation rules but try to add the Open rules result to unsteal my ports. I want to be dead on Internet. I have been acked one time because I reversed the Ethernet cables of two cards. I dont want to repeat that. I show you my actual rules taked from rc.conf. If you can tell me what I must change to give access to Internet to my lan and keep 100% protected well, I'll be happy.
the title is surely ever seen. I put FreeBSD on my main computer. Mostly good, I succeeded to protect my gateway with Ipfw. All ports are close and steal. My gateway communicate perfectly with my lan and all others between them. I use Hostapd, Dnsmasq and Samba plus Vsftpd. I have a problem. My lan cannot access to Internet. With my actual Ipfw rules I feel very well protected but only the gateway can access to Internet.
I troncated the Workstation rules but try to add the Open rules result to unsteal my ports. I want to be dead on Internet. I have been acked one time because I reversed the Ethernet cables of two cards. I dont want to repeat that. I show you my actual rules taked from rc.conf. If you can tell me what I must change to give access to Internet to my lan and keep 100% protected well, I'll be happy.
Code:
# Firewall
# firewall_allowservices=""
firewall_enable="YES"
firewall_logdeny="YES"
firewall_logging="YES"
# firewall_myservices=""
firewall_nat_enable="YES"
firewall_nat_interface="eth0"
firewall_quiet="YES"
firewall_script="/etc/paul.conf"
firewall_trusted="192.168.xxx.xxx/24 192.168.xxx.xxx/24 192.168.xxx.xxx/24"
# firewall_type="open"
gateway_enable="YES"
ipnat_enable="NO"
natd_enable="NO"
natd_interface="eth0"