![]() |
|
|
#11 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
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% 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. |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|