mirror of
https://github.com/SWG-Source/swg-main.wiki.git
synced 2026-01-16 20:04:18 -05:00
Updated Enabling External Access To Your Server (markdown)
This commit is contained in:
@@ -63,7 +63,7 @@ If you compare network traffic to a postman delivering mail then your one piece
|
|||||||
|
|
||||||
Now we complicate things for the poor postman, when he gets to your house it turns out to be an apartment complex. So in order to deliver to you the postman now needs another piece of information, your apartment number. So in computers terms that's a port number. The public IP address gets someone from the internet to your router, the router chooses to allow or deny access to your PC by providing the internal IP and includes a port number so the correct "service" on your PC can communicate with the incoming traffic.
|
Now we complicate things for the poor postman, when he gets to your house it turns out to be an apartment complex. So in order to deliver to you the postman now needs another piece of information, your apartment number. So in computers terms that's a port number. The public IP address gets someone from the internet to your router, the router chooses to allow or deny access to your PC by providing the internal IP and includes a port number so the correct "service" on your PC can communicate with the incoming traffic.
|
||||||
|
|
||||||
So that means we need to tell your router which PC on your local network contains the SWG Server and auth web site by using the internal IP address of the VM and we also need to provide the port numbers on that PC that will be required. The complication is that this is specific to each router and so how you can set these port forwarding rules up will differ greatly from router to router. Here are some examples of the three ports that you need to open up (80, 44453, 44463) based on how my router handles these things.
|
So that means we need to tell your router which PC on your local network contains the SWG Server and auth web site by using the internal IP address of the VM and we also need to provide the port numbers on that PC that will be required. The complication is that this is specific to each router and so how you can set these port forwarding rules up will differ greatly from router to router. Here are some examples of the three ports that you need to open up (80, 44453, 44463) based on how my router handles these things. **The full range that you need to open up is 44450 to 44465 for TCP & UDP.**
|
||||||
|
|
||||||
Port 80 - Auth web site that allows players to register accounts:
|
Port 80 - Auth web site that allows players to register accounts:
|
||||||
|
|
||||||
@@ -92,7 +92,7 @@ This is setup exactly like the last rule but using 44463 rather than 44453.
|
|||||||

|

|
||||||

|

|
||||||
|
|
||||||
All things being equal, at this point you should be able to have external SWG clients connect to your VM, register accounts, login to the server and play the game.
|
All things being equal, at this point you should be able to have external SWG clients connect to your VM, register accounts, login to the server and play the game. **Using just those two ports (44453 & 44463) will allow players to connect, create characters and run around in the game world but they will see 95% packet loss unless you also open up the other ports in the 44450 to 44465 range.**
|
||||||
|
|
||||||
# Troubleshooting
|
# Troubleshooting
|
||||||
Due to the nature of what is being done here, there is a level of complexity that comes along with that. You are attempting to have someone on the internet use an SWG client to connect to your router and then have the router allow that connection to your Host PC which in turn must allow the connection to the VM so that the SWG Connection Server can decide if that person has an account or needs to register one before getting access to the SWG Game.
|
Due to the nature of what is being done here, there is a level of complexity that comes along with that. You are attempting to have someone on the internet use an SWG client to connect to your router and then have the router allow that connection to your Host PC which in turn must allow the connection to the VM so that the SWG Connection Server can decide if that person has an account or needs to register one before getting access to the SWG Game.
|
||||||
|
|||||||
Reference in New Issue
Block a user