Register for your free account! | Forgot your password?

You last visited: Today at 17:30

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

Advertisement



ipfw.rules Frage

Discussion on ipfw.rules Frage within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2011
Posts: 2,903
Received Thanks: 1,262
ipfw.rules Frage

Hey Com,
Ich wollte fragen neiner ipfw da ich leztetns Firewall draufgemacht habe und dann nicht mehr rein gekommen bin jezt will ich es nochmal versuchen und da frage ich lieber nach ob sie so wie sie ist auch geht so dass server sicher ist und das ich auch noch in putty etc rein komme

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

# 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 13005 in
$IPF 210 allow tcp from any to any 13005 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
$IPF 200 allow tcp from any to any 13098 in
$IPF 210 allow tcp from any to any 13098 out
$IPF 200 allow tcp from any to any 13097 in
$IPF 210 allow tcp from any to any 13097 out
$IPF 200 allow tcp from any to any 13096 in
$IPF 210 allow tcp from any to any 13096 out 

mfg
£αšεℜ™ is offline  
Old 03/06/2012, 22:12   #2
 
Stamm1994's Avatar
 
elite*gold: 24
Join Date: Jun 2011
Posts: 667
Received Thanks: 782
kann da nich jemand helfen?
Stamm1994 is offline  
Thanks
2 Users
Old 03/06/2012, 23:05   #3
 
elite*gold: 0
Join Date: Jan 2011
Posts: 2,903
Received Thanks: 1,262
wirklich keiner eine idee? oder kann keiner helfen?
£αšεℜ™ is offline  
Reply


Similar Threads Similar Threads
[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 frage ob das so richtig ist
08/10/2011 - Metin2 Private Server - 5 Replies
hi com hab eine kurze frage und zwar ist diese regel richtig: ich möchte wissen wie das mit den ips geht zb hier ist ein ausschnitt der rules 192.168.2.134 <--- mein pc im internen netzwerk 93.211.183.12 <--- pc 217.100.300.123 <--- root # open port ftp (20,21), ssh (22), mail (25) # http (80), dns (53) etc $IPF 110 allow tcp from 93.211.183.12 to 217.100.300.123 21 in
/etc/rc.d/ipfw: WARNING: Unable to load kernel module ipfw
03/27/2011 - Metin2 Private Server - 1 Replies
i write in putty "/etc/rc.d/ipfw start" but i have an error "/etc/rc.d/ipfw: WARNING: Unable to load kernel module ipfw" how can i fixx ?
ipfw.rules
02/28/2011 - Metin2 Private Server - 0 Replies
Wie mach ich das ich hab davon kein Plan... muss ich die selbst erstellen oder was muss ich machen?
IPFW Frage
01/13/2011 - Metin2 Private Server - 0 Replies
Ist mir ehrlich gesagt bisschen peinlich aber bevor ich hier noch weitere Stunden in den Sand stecke, frag ich einfach mal die Profi´s :P Geht um die IPFW! IPF="ipfw -q add" ipfw -q -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



All times are GMT +1. The time now is 17:31.


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.