I have ipfw on my laptop, started with the following lines in my /etc/rc.conf
I wish to set up a similar firewall on my home server, but here I need incoming connections to ssh and samba. Can I do this by adding the following line? The Handbook does not seem to suggest this method, but I saw this suggestion in another thread here.
I have also seen the suggestion in another thread to use own script /etc/ipfw.rules. Which method is recommended? Also, can I limit the incoming connections to only computers within my home network? Any help would be appreciated.
Code:
firewall_enable="YES"
firewall_type="workstation"
Code:
firewall_myservices="22/tcp 445/tcp"