ipfw regeln für ip-range

Status
Not open for further replies.

aspirin

Cadet
Joined
Feb 13, 2014
Messages
2
Hallo,

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?
 

aspirin

Cadet
Joined
Feb 13, 2014
Messages
2
Die Frage hat sich soweit geklärt. Die Hin-Route fehlte, ebenso die entsprechenden Angaben zu den angesprochenen Ports.
 
Status
Not open for further replies.
Top