Solved Newbie ipfw question

hi,

I am just want to install firewall on my Thinkpad, which is behind a home router.
After installing the firewall, I am not able to ssh into my laptop from my iPad.
If I disable the firewall, then I am able to ssh.
How do I allow ssh thru the firewall?

Thanks!
Code:
root# service ipfw start
Firewall rules loaded.

root# service ipfw stop

root# grep firew /etc/rc.conf
firewall_enable="YES"
firewall_quiet="YES"
firewall_type="workstation"
firewall_logdeny="YES"
firewall_myservices="22/tcp"
 
firewall_myservices works in combination with firewall_allowservices. You'll need to set both.
Code:
firewall_allowservices="any"
firewall_myservices="22/tcp"
Or something like this:
Code:
firewall_allowservices="192.168.0.0/24"
firewall_myservices="22/tcp"
 
Back
Top