Jump to content

Help with Hosting inside SSH


Recommended Posts

Hello, so currently my server is hosted through SSH, which the host IP for the SSH is 10.105.1.2 
My external IP address is 123.123.123.123 (example) and the port I would like to use is 8123.
Currently, my shard settings for the cluster.ini are as followed:
 

[SHARD]
shard_enabled = true
bind_ip = 0.0.0.0
master_ip = 127.0.0.1
master_port = 10888
cluster_key = Password

and my server.ini is

[NETWORK]
server_port = 8123


[SHARD]
is_master = true


[STEAM]
master_server_port = 27018
authentication_port = 8768


[ACCOUNT]
encode_user_path = true

I am able to directly connect to the server using the command c_connect("10.105.1.2",8123,"password")

The port seems to bind to the SSH IP instead of the External Server IP.

Hence I am only able to connect to it locally but not from another computer of different network despite the port being opened.

How can I solve this so that the IP will bind to the External Server IP instead?

Link to comment
Share on other sites

Your "SSH" IP is the IP adress of your Server itself (Or to be more specific, the Network card you are using in your server.) in your local network. So everything that somehow connects to your server has to connect to the IP "10.105.1.2", if it's already in your local network.

Your external IP is the IP your provider assigned to your router. That's where all the requests over the internet come from. So you probably have to set up some portforwarding. Meaning in your Router you set it up that all requests that come from the internet on the port 8123 get forwarded to the IP "10.105.1.1" (to the port 8123) or your server device, depending on what router you have.

Means: Request from the internet asking for your external IP and port 8123-> your router get's the request and translates it to your local IP with port 8123 and sends it to your server -> your server get's the request and accepts the connection.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...