Daroo Firewall ports freigeben?

12/10/2011 20:32 £αšεℜ™#1
Hallo Com
Ich bin in in der richtung eher ein anfänger desswegen frage ich lieber nochmal nach und zwar
ich habe die einzelenen Channels auch mehre cores aufgeteil so jezt muss ich ja die neuen p2p ports und die normalen ports in der ipfw.rules freigeben

Mein erstes proplem ist halt bei den Daroo sf ist nur eine firewall.rules drinn mit filgendem inhalt

PHP Code:
IPF="ipfw -q add"
ipfw -q -f flush

##Custom-Rules
#P2P Ports
$IPF 4 allow all from me to any 14000
$IPF 5 allow all from 127.0.0.0
/8 to any 14000
$IPF 6 deny all from any to me 14000
$IPF 7 allow all from me to any 14001
$IPF 8 allow all from 127.0.0.0
/8 to any 14001
$IPF 9 deny all from any to me 14001
$IPF 10 allow all from me to any 14099
$IPF 11 allow all from 127.0.0.0
/8 to any 14099
$IPF 12 deny all from any to me 14099
$IPF 13 allow all from me to any 12000
$IPF 14 allow all from 127.0.0.0
/8 to any 12000
$IPF 15 deny all from any to me 12000
#Game Ports
$IPF 16 allow all form any to me 11002
$IPF 17 allow all from any to me 13000
$IPF 18 allow all from any to me 13001
$IPF 19 allow all from any to me 13099
#Dienste
$IPF 20 allow all from any to me 3306
$IPF 21 allow all from any to me 80
$IPF 22 allow all from any to me 21

##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 
Muss ich die neuen ports/p2p da eintragen oder wo hinn?

2. porplem was muss ich danach eingeben das sich die firewall aktualisiert?

3. Kann mir einer ein bsp machen wie ich das einfügen muss mit einem beliebigen port :D


mfg
12/10/2011 21:09 .iXream.#2
Quote:
Originally Posted by £αšεℜ™ View Post
PHP Code:
IPF="ipfw -q add"
ipfw -q -f flush

##Custom-Rules
#[B]P2P Ports[/B]
$IPF 4 allow all from me to any 14000
$IPF 5 allow all from 127.0.0.0
/8 to any 14000
$IPF 6 deny all from any to me 14000
$IPF 7 allow all from me to any 14001
$IPF 8 allow all from 127.0.0.0
/8 to any 14001
$IPF 9 deny all from any to me 14001
$IPF 10 allow all from me to any 14099
$IPF 11 allow all from 127.0.0.0
/8 to any 14099
$IPF 12 deny all from any to me 14099
$IPF 13 allow all from me to any 12000
$IPF 14 allow all from 127.0.0.0
/8 to any 12000
$IPF 15 deny all from any to me 12000
#[B]Game Ports[/B]
$IPF 16 allow all form any to me 11002
$IPF 17 allow all from any to me 13000
$IPF 18 allow all from any to me 13001
$IPF 19 allow all from any to me 13099
#Dienste
$IPF 20 allow all from any to me 3306
$IPF 21 allow all from any to me 80
$IPF 22 allow all from any to me 21

##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 
Muss ich die neuen ports/p2p da eintragen oder wo hinn?

2. porplem was muss ich danach eingeben das sich die firewall aktualisiert?
Einfach wieder hochladen und rebooten
PHP Code:
$IPF 99 allow all from me to any P2P Port
$IPF 99 allow all from 127.0.0.0
/8 to any P2P Port 

PHP Code:
$IPF 99 allow all form any to me Nummer des Ports 
12/10/2011 21:15 £αšεℜ™#3
Alles klar Danke
also suzusagen ist das der ersatz von der ipfw.rules oder wie? weil es ja keine ipfw gibt bei den daroo sf.
12/10/2011 21:34 .iXream.#4
firewall.rules vllt.?