Register for your free account! | Forgot your password?

You last visited: Today at 13:05

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



ipFw firewall help

Discussion on ipFw firewall help within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2009
Posts: 26
Received Thanks: 4
ipFw firewall help

nach der ervolgreichen installation der firewall wird im clienten nicht mehr angezeigt das der channel online ist, was muss in der ipfw.rules dafür noch eingetragen werden?
PHP Code:
 IPF="ipfw -q add"
ipfw --f flush

#loopback
$IPF 10 allow all from any to any via lo0
$IPF 20 deny all from any to 127.0.0.0
/8
$IPF 30 deny all from 127.0.0.0
/8 to any
$IPF 40 deny tcp from any to any frag

# statefull
$IPF 50 check-state
$IPF 60 allow tcp from any to any established
$IPF 70 allow all from any to any out keep
-state
$IPF 80 allow icmp from any to any

# open port ftp (20,21), ssh (22), mail (25)
# http (80), dns (53) etc
$IPF 110 allow tcp from any to any 21 in
$IPF 120 allow tcp from any to any 21 out
$IPF 130 allow tcp from any to any 22 in
$IPF 140 allow tcp from any to any 22 out
$IPF 170 allow udp from any to any 53 in
$IPF 175 allow tcp from any to any 53 in
$IPF 180 allow udp from any to any 53 out
$IPF 185 allow tcp from any to any 53 out
$IPF 190 allow tcp from any to any 3306 in
$IPF 195 allow tcp from any to any 3306 out


# metin2 ch1 ports
$IPF 200 allow tcp from any to any 11002 in
$IPF 210 allow tcp from any to any 11002 out
$IPF 200 allow udp from any to any 11002 in
$IPF 210 allow udp from any to any 11002 out
$IPF 200 allow tcp from any to any 13000 in
$IPF 210 allow tcp from any to any 13000 out
$IPF 200 allow tcp from any to any 13001 in
$IPF 210 allow tcp from any to any 13001 out
$IPF 200 allow tcp from any to any 13002 in
$IPF 210 allow tcp from any to any 13002 out
$IPF 200 allow tcp from any to any 13003 in
$IPF 210 allow tcp from any to any 13003 out
$IPF 200 allow tcp from any to any 13004 in
$IPF 210 allow tcp from any to any 13004 out
$IPF 200 allow tcp from any to any 13061 in
$IPF 210 allow tcp from any to any 13061 out
$IPF 200 allow tcp from any to any 13099 in
$IPF 210 allow tcp from any to any 13099 out 
Slyer99 is offline  
Old 09/29/2011, 16:11   #2
 
Collmanyeah's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 281
Received Thanks: 39
Du kannst doch noch spielen oder?
Oder kommse garnicht mehr rein?
Collmanyeah is offline  
Old 09/29/2011, 16:16   #3
 
elite*gold: 0
Join Date: Mar 2009
Posts: 26
Received Thanks: 4
klar alles geht, nur ich sehe den status im clienten nimmer
Slyer99 is offline  
Old 09/29/2011, 16:19   #4
 
Collmanyeah's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 281
Received Thanks: 39
Schon die ports acuh clientside sprich in den root-dateien(soweit ich weiss)
angepasst
Collmanyeah is offline  
Old 09/29/2011, 16:26   #5
 
elite*gold: 0
Join Date: Mar 2009
Posts: 26
Received Thanks: 4
der server leuft perfeckt und leuft auch ohne probleme, der client leuft ebenfalls perfeckt, alles geht, nur der status nicht, er geht aber wenn ich die firewall aus mache.

Fazit: ich muss was in der ipfw.rules ändern, nur was muss ich da ändern, siehe php code am anfang.
Slyer99 is offline  
Old 09/30/2011, 09:00   #6
 
[ShiizoPhreN]™'s Avatar
 
elite*gold: 40
Join Date: May 2010
Posts: 413
Received Thanks: 519
die zweite zeile solltest bearbeiten denn port 80 is das web vielleicht solltest mal testen ob es mit ner anderen modifikation klappt

€habs falsch verstanden keine eventuelle lösung im kopf sry xD
[ShiizoPhreN]™ is offline  
Old 09/30/2011, 11:27   #7
 
elite*gold: 15
Join Date: Mar 2009
Posts: 295
Received Thanks: 150
Post mal bitte deine serverinfo.py mit dazu und welche server rev benutzt du? Kann dir helfen.
Lordechen is offline  
Old 10/02/2011, 11:16   #8
 
[ShiizoPhreN]™'s Avatar
 
elite*gold: 40
Join Date: May 2010
Posts: 413
Received Thanks: 519
also du mußt bei auth und Channel 1-4 die ports im udp öffnen

Bsp.
$IPF 170 allow tcp from any to any 99999 in
$IPF 180 allow tcp from any to any 99999 out
$IPF 190 allow udp from any to any 99999 in
$IPF 200 allow udp from any to any 99999 out

ob ein out reicht weiß ich nciht hab ich nciht versucht
[ShiizoPhreN]™ is offline  
Reply


Similar Threads Similar Threads
[how to] ipfw firewall
05/07/2012 - Metin2 PServer Guides & Strategies - 33 Replies
Hallo ich wollte euch hier ma zeigen wie man eine ipfw Firewall installiert auf FreeBSD da es viele ungesicherte FreeBSD roots gibt es sollten niemals mehr Port als nötig gefönet sein ich erkläre euch wie ihr eine ipfw firewall auf FreeBSD installiert ich übernehme keine Verantwortung für irgend welche fehlt Einstellung oder sonstiges wenn ihr die Sachen einfach kopiert selbst schuld was brauche ich? 1 FreeBSD root 1 metin2 Server 1 ein wenig Grips und die Ports die der metin2 Server...
[Firewall]Ipfw rules, hilfe gesucht!
09/04/2011 - Metin2 Private Server - 12 Replies
Hallo com. Also ich habe da mal eine Frage zur Ipfw Firewall, ich habe nun alles gemacht aber die ipfw.rules faild etwas. Immer wenn die Firewall gestartet ist, ist ftp und ssh down, man kann also nicht mehr connecten. Und wenn ich die Firewall starte kommt: http://img4.fotos-hochladen.net/uploads/unbenan11 nteydm2hw1pf.png
IPFW FIREWALL
06/30/2011 - Metin2 Private Server - 7 Replies
Hallo ich hab eine frage und zwar ist das nun installier bloß block alle IP`s wie kann ich nun über die Serielle schnittstelle das ändern das er nur manche IP´s block kan mir da jemand weiter helfen Ich bin nicht nach dem TUT von epvp gegangen hab da so mein eigenes ding nur Eigentlich sollte alles richtig sein trotzdem Blockt es mir alle IP´s
IPFW Firewall + Squid
04/17/2011 - Metin2 Private Server - 2 Replies
Hi Leutz, hab ma ne Frage...hab IPFW Firewall auf Freebsd drauf alles so eingestelt das nur eine IP drauf kommt und wollte jetzt Proxy für alle freigeben. Läuft ja auf Port 3128 und wird irgendwie durch Port 80 weitergeleitet oder? Wie kann die passende Rule dafür aussehen? Vielen dank im vorraus
weiß jemand wie ich ipfw firewall & PAE
12/17/2010 - Metin2 Private Server - 10 Replies
Moin weiß jemand wie ich ipfw firewall & PAE nutzen kann? Weil normal funtkioniert es ja nicht da sich der Kernel ändert oder soetwas.. Und da einige rumprahlen das sie es geschaft haben möchte ich ganz einfach wissen wie ich mir beides aufen root installieren kann? und ob jemand bereit ist mir dabei zuhilfen ich hoffe ihr seid nicht so egoistisch wie manch anderer hier. Danke! mfg holzi



All times are GMT +1. The time now is 13:05.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.