Ich habe diese Tutorial gemacht.
Hier sind meine Firewallregel-Datei:
Code:
ipfw -g -f flush IPF="ipfw -g add" # Standart Regeln \$IPF 10000 allow all from any to any via lo0 \$IPF 20000 deny all from any to 127.0.0.0/8 \$IPF 30000 deny all from 127.0.0.0/8 to any \$IPF 40000 allow all from any to any # SSH \$IPF 00001 allow all from 192.168.1.102 to any 22 \$IPF 00002 allow all from 127.0.0.0/8 to any 22
Code:
... Line 1: bad command 'ipfw' ...