Hallo,
ich habe ein Problem mit dem erstellen von Regeln welche nur einen bestimmten IP-Range zulassen sollen.
Kann mir eventuell jemand einen Tip geben woran es hapert, ausser dass ich mit Sicherheit etwas in der Doku übersehe?
ich habe ein Problem mit dem erstellen von Regeln welche nur einen bestimmten IP-Range zulassen sollen.
Code:
ipfw -f flush ipfw add 1000 allow all from any to any via lo0 ipfw add 1010 allow tcp from any to 192.168.2.0/24 ipfw add 1020 allow udp from any to 192.168.2.0/24 ipfw add 1030 allow ip from any to 192.168.2.0/24 ipfw add 1040 allow tcp from any to any ipfw add 1050 allow udp from any to any ipfw add 1060 allow ip from any to any
Kann mir eventuell jemand einen Tip geben woran es hapert, ausser dass ich mit Sicherheit etwas in der Doku übersehe?