Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 04.03.2007, 14:03   #11
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Make a BAT file and execute with this content...

Update WebServerIP in the third line before execute.

Code:
@echo off
cls
set WebServerIP=127.0.0.1

netsh firewall add portopening protocol = ALL port = 2106 name = LoginL2 mode = ENABLE scope = ALL
netsh firewall add portopening protocol = ALL port = 7777 name = L2GameServer mode = ENABLE scope = ALL
netsh firewall add portopening protocol = ALL port = 2012 name = CacheDInt mode = ENABLE scope = CUSTOM addresses = %WebServerIP%
netsh firewall add portopening protocol = ALL port = 2108 name = LoginInt mode = ENABLE scope = CUSTOM addresses = %WebServerIP%
netsh firewall add portopening protocol = ALL port = 1433 name = SQL_Server mode = ENABLE scope = CUSTOM addresses = %WebServerIP%
You can make it manual like always, but this is faster i think, and is the way i use to change firewall rules from the beggining.

With this you open 2106 and 7777 for all players... and CacheD Interactive port, Login Interactive port and SQL ... are only open to your webserver.
FidoW is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:49.