Register for your free account! | Forgot your password?

You last visited: Today at 16:32

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

Advertisement



Port Setup

Discussion on Port Setup within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 77
Join Date: Aug 2009
Posts: 107
Received Thanks: 90
Port Setup

I bought a root server about a week or 2 ago ive add files for ipfw and everything but it still shows the ports and everything offline port 80 and 3306 show online how would i be able to turn all the other ports on for login and world server

Thanks if you can help
[SA]Darkness is offline  
Old 09/20/2010, 20:32   #2
 
elite*gold: 0
Join Date: Jun 2010
Posts: 1,567
Received Thanks: 974
open 'ur ipfw.rules & add this for ssh:

PHP Code:
$cmd allow tcp from any to any 22 setup keep-state 
.. same for login, world etc, or try this:

PHP Code:
$IPF 9 allow all from yourserverip to any yourport 
do you added the "standart commands"?

PHP Code:
$IPF 3400 allow all from any to any via lo0
$IPF 3401 deny all from any to 127.0.0.0
/8
$IPF 3402 deny all from 127.0.0.0
/8 to any
$IPF 3403 allow all from any to any 
αίίR7 :3 is offline  
Thanks
1 User
Old 09/20/2010, 20:38   #3
 
elite*gold: 77
Join Date: Aug 2009
Posts: 107
Received Thanks: 90
I have this in ipfw.rules
with x.x.x.x with my ip

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

#P2P FiXX
$IPF 1 allow all from x.x.x.x to any 11002
$IPF 2 allow all from 127.0.0.0
/8 to any 11002
$IPF 3 deny all from any to me 11002
$IPF 4 allow all from x
.x.x.x to any 12001
$IPF 5 allow all from 127.0.0.0
/8 to any 12001
$IPF 6 deny all from any to me 12001
$IPF 7 allow all from x
.x.x.x to any 14000
$IPF 8 allow all from 127.0.0.0
/8 to any 14000
$IPF 9 deny all from any to me 14000
$IPF 10 allow all from x
.x.x.x to any 14001
$IPF 11 allow all from 127.0.0.0
/8 to any 14001
$IPF 12 deny all from any to me 14001
$IPF 13 allow all from x
.x.x.x to any 14002
$IPF 14 allow all from 127.0.0.0
/8 to any 14002
$IPF 15 deny all from any to me 14002
$IPF 16 allow all from x
.x.x.x to any 14003
$IPF 17 allow all from 127.0.0.0
/8 to any 14003
$IPF 18 deny all from any to me 14003
$IPF 19 allow all from x
.x.x.x to any 14004
$IPF 20 allow all from 127.0.0.0
/8 to any 14004
$IPF 21 deny all from any to me 14004
$IPF 22 allow all from x
.x.x.x to any 14061
$IPF 23 allow all from 127.0.0.0
/8 to any 14061
$IPF 24 deny all from any to me 14061
$IPF 25 allow all from x
.x.x.x to any 14099
$IPF 26 allow all from 127.0.0.0
/8 to any 14099
$IPF 27 deny all from any to me 14099
$IPF 28 allow all from x
.x.x.x to any 17000
$IPF 29 allow all from 127.0.0.0
/8 to any 17000
$IPF 30 deny all from any to me 17000
$IPF 31 allow all from x
.x.x.x to any 17001
$IPF 32 allow all from 127.0.0.0
/8 to any 17001
$IPF 33 deny all from any to me 17001
$IPF 34 allow all from x
.x.x.x to any 17002
$IPF 35 allow all from 127.0.0.0
/8 to any 17002
$IPF 36 deny all from any to me 17002
$IPF 37 allow all from x
.x.x.x to any 17003
$IPF 38 allow all from 127.0.0.0
/8 to any 17003
$IPF 39 deny all from any to me 17003
$IPF 40 allow all from x
.x.x.x to any 17004
$IPF 41 allow all from 127.0.0.0
/8 to any 17004
$IPF 42 deny all from any to me 17004
$IPF 43 allow all from x
.x.x.x to any 17061
$IPF 44 allow all from 127.0.0.0
/8 to any 17061
$IPF 45 deny all from any to me 17061
$IPF 46 allow all from x
.x.x.x to any 17099
$IPF 47 allow all from 127.0.0.0
/8 to any 17099
$IPF 48 deny all from any to me 17099
$IPF 49 allow all from x
.x.x.x to any 19000
$IPF 50 allow all from 127.0.0.0
/8 to any 19000
$IPF 51 deny all from any to me 19000
$IPF 52 allow all from x
.x.x.x to any 19001
$IPF 53 allow all from 127.0.0.0
/8 to any 19001
$IPF 54 deny all from any to me 19001
$IPF 55 allow all from x
.x.x.x to any 19002
$IPF 56 allow all from 127.0.0.0
/8 to any 19002
$IPF 57 deny all from any to me 19002
$IPF 58 allow all from x
.x.x.x to any 19003
$IPF 59 allow all from 127.0.0.0
/8 to any 19003
$IPF 60 deny all from any to me 19003
$IPF 61 allow all from x
.x.x.x to any 19004
$IPF 62 allow all from 127.0.0.0
/8 to any 19004
$IPF 63 deny all from any to me 19004
$IPF 64 allow all from x
.x.x.x to any 19061
$IPF 65 allow all from 127.0.0.0
/8 to any 19061
$IPF 66 deny all from any to me 19061
$IPF 67 allow all from x
.x.x.x to any 19099
$IPF 68 allow all from 127.0.0.0
/8 to any 19099
$IPF 69 deny all from any to me 19099
$IPF 70 allow all from x
.x.x.x to any 21000
$IPF 71 allow all from 127.0.0.0
/8 to any 21000
$IPF 72 deny all from any to me 21000
$IPF 73 allow all from x
.x.x.x to any 21001
$IPF 74 allow all from 127.0.0.0
/8 to any 21001
$IPF 75 deny all from any to me 21001
$IPF 76 allow all from x
.x.x.x to any 21002
$IPF 77 allow all from 127.0.0.0
/8 to any 21002
$IPF 78 deny all from any to me 21002
$IPF 79 allow all from x
.x.x.x to any 21003
$IPF 80 allow all from 127.0.0.0
/8 to any 21003
$IPF 81 deny all from any to me 21003
$IPF 82 allow all from x
.x.x.x to any 21004
$IPF 83 allow all from 127.0.0.0
/8 to any 21004
$IPF 84 deny all from any to me 21004
$IPF 85 allow all from x
.x.x.x to any 21061
$IPF 86 allow all from 127.0.0.0
/8 to any 21061
$IPF 87 deny all from any to me 21061
$IPF 88 allow all from x
.x.x.x to any 21099
$IPF 89 allow all from 127.0.0.0
/8 to any 21099
$IPF 90 deny all from any to me 21099

#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 
[SA]Darkness is offline  
Old 09/20/2010, 20:55   #4
 
elite*gold: 0
Join Date: Jun 2010
Posts: 1,567
Received Thanks: 974
Quote:
Originally Posted by demon297 View Post
I have this in ipfw.rules
with x.x.x.x with my ip

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

#P2P FiXX
$IPF 1 allow all from x.x.x.x to any 11002
$IPF 2 allow all from 127.0.0.0
/8 to any 11002
$IPF 3 deny all from any to me 11002
$IPF 4 allow all from x
.x.x.x to any 12001
$IPF 5 allow all from 127.0.0.0
/8 to any 12001
$IPF 6 deny all from any to me 12001
$IPF 7 allow all from x
.x.x.x to any 14000
$IPF 8 allow all from 127.0.0.0
/8 to any 14000
$IPF 9 deny all from any to me 14000
$IPF 10 allow all from x
.x.x.x to any 14001
$IPF 11 allow all from 127.0.0.0
/8 to any 14001
$IPF 12 deny all from any to me 14001
$IPF 13 allow all from x
.x.x.x to any 14002
$IPF 14 allow all from 127.0.0.0
/8 to any 14002
$IPF 15 deny all from any to me 14002
$IPF 16 allow all from x
.x.x.x to any 14003
$IPF 17 allow all from 127.0.0.0
/8 to any 14003
$IPF 18 deny all from any to me 14003
$IPF 19 allow all from x
.x.x.x to any 14004
$IPF 20 allow all from 127.0.0.0
/8 to any 14004
$IPF 21 deny all from any to me 14004
$IPF 22 allow all from x
.x.x.x to any 14061
$IPF 23 allow all from 127.0.0.0
/8 to any 14061
$IPF 24 deny all from any to me 14061
$IPF 25 allow all from x
.x.x.x to any 14099
$IPF 26 allow all from 127.0.0.0
/8 to any 14099
$IPF 27 deny all from any to me 14099
$IPF 28 allow all from x
.x.x.x to any 17000
$IPF 29 allow all from 127.0.0.0
/8 to any 17000
$IPF 30 deny all from any to me 17000
$IPF 31 allow all from x
.x.x.x to any 17001
$IPF 32 allow all from 127.0.0.0
/8 to any 17001
$IPF 33 deny all from any to me 17001
$IPF 34 allow all from x
.x.x.x to any 17002
$IPF 35 allow all from 127.0.0.0
/8 to any 17002
$IPF 36 deny all from any to me 17002
$IPF 37 allow all from x
.x.x.x to any 17003
$IPF 38 allow all from 127.0.0.0
/8 to any 17003
$IPF 39 deny all from any to me 17003
$IPF 40 allow all from x
.x.x.x to any 17004
$IPF 41 allow all from 127.0.0.0
/8 to any 17004
$IPF 42 deny all from any to me 17004
$IPF 43 allow all from x
.x.x.x to any 17061
$IPF 44 allow all from 127.0.0.0
/8 to any 17061
$IPF 45 deny all from any to me 17061
$IPF 46 allow all from x
.x.x.x to any 17099
$IPF 47 allow all from 127.0.0.0
/8 to any 17099
$IPF 48 deny all from any to me 17099
$IPF 49 allow all from x
.x.x.x to any 19000
$IPF 50 allow all from 127.0.0.0
/8 to any 19000
$IPF 51 deny all from any to me 19000
$IPF 52 allow all from x
.x.x.x to any 19001
$IPF 53 allow all from 127.0.0.0
/8 to any 19001
$IPF 54 deny all from any to me 19001
$IPF 55 allow all from x
.x.x.x to any 19002
$IPF 56 allow all from 127.0.0.0
/8 to any 19002
$IPF 57 deny all from any to me 19002
$IPF 58 allow all from x
.x.x.x to any 19003
$IPF 59 allow all from 127.0.0.0
/8 to any 19003
$IPF 60 deny all from any to me 19003
$IPF 61 allow all from x
.x.x.x to any 19004
$IPF 62 allow all from 127.0.0.0
/8 to any 19004
$IPF 63 deny all from any to me 19004
$IPF 64 allow all from x
.x.x.x to any 19061
$IPF 65 allow all from 127.0.0.0
/8 to any 19061
$IPF 66 deny all from any to me 19061
$IPF 67 allow all from x
.x.x.x to any 19099
$IPF 68 allow all from 127.0.0.0
/8 to any 19099
$IPF 69 deny all from any to me 19099
$IPF 70 allow all from x
.x.x.x to any 21000
$IPF 71 allow all from 127.0.0.0
/8 to any 21000
$IPF 72 deny all from any to me 21000
$IPF 73 allow all from x
.x.x.x to any 21001
$IPF 74 allow all from 127.0.0.0
/8 to any 21001
$IPF 75 deny all from any to me 21001
$IPF 76 allow all from x
.x.x.x to any 21002
$IPF 77 allow all from 127.0.0.0
/8 to any 21002
$IPF 78 deny all from any to me 21002
$IPF 79 allow all from x
.x.x.x to any 21003
$IPF 80 allow all from 127.0.0.0
/8 to any 21003
$IPF 81 deny all from any to me 21003
$IPF 82 allow all from x
.x.x.x to any 21004
$IPF 83 allow all from 127.0.0.0
/8 to any 21004
$IPF 84 deny all from any to me 21004
$IPF 85 allow all from x
.x.x.x to any 21061
$IPF 86 allow all from 127.0.0.0
/8 to any 21061
$IPF 87 deny all from any to me 21061
$IPF 88 allow all from x
.x.x.x to any 21099
$IPF 89 allow all from 127.0.0.0
/8 to any 21099
$IPF 90 deny all from any to me 21099

#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 
sure.

next step is, you have to add a command into your kernel conf.

PHP Code:
cd /usr/src/sys/i386/conf

ee YOURKERNEL 
YOURKERNEL means the name of your own kernel which u have created.

add now the follow option/s

PHP Code:
options IPFIREWALL_DEFAULT_TO_ACCEPT 
escape, - save this.

now install the kernel with this options[/php]cd /usr/src && make kernel KERNCONF=YOURKERNEL[/php] YOURKERNEL means again the name of your own kernel which u created & added this cmd.

reboot & try again
αίίR7 :3 is offline  
Reply

Tags
ports


Similar Threads Similar Threads
Cannot setup DB-bot
07/18/2010 - SRO Private Server - 1 Replies
hi all i have Big Proplem i cant Work with Bot i Setup it Normal & pen SrProxy & Bot Crack & Loging with Loader But When Game Open Bot Dont Read my x&y its Become 0 :(( What i have to do Plzzz Help me thx Guys :))
Setup
01/23/2010 - Technical Support - 4 Replies
Hi com, ich wollte euch fragen ob es eine möglichkeit gibt einen Setup ohne admin rechte zu starten? http://www.dathy.de/upload/12642792234179.jpg Weil bei mir funken die Admin kontos nicht es stürtzt einfach ab wenn ich in ein Admin konto rein gehe
[Question]What is Port Map and Port Map End?
11/10/2009 - EO PServer Hosting - 3 Replies
Hey anyone know that because i want to make non hamachi server
Bot Setup?
09/20/2009 - Dragonica - 1 Replies
can anyone help me set up my bot.. i got everything to work just not really sure how to use the bot and set it up.. can anyone help me out? a guide would be nice.. im playing THQICE using ESEEG Lite
best setup?
06/03/2009 - Lineage 2 - 1 Replies
I need some advice, I'm used to running quite large bot trains 7 man+ trains, but I want to keep it low profile and run a 3 man train at most 4 LvLing a Paladin Main. I was thinking Paladin,wc,bd but then not having a healer would hurt and id have to stick to 1x mobs ofc. Any ideas?



All times are GMT +1. The time now is 16:32.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.