You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently trying to forward my GMod server which is running Windows ARM on a Raspberry Pi to my Oracle Server so that the IP is static and public. I have opened the required ports: 27015/tcp | 27015/udp | 27005/tcp | 27005/udp. Even though I have forwarded them all, I still cant connect to the server using the public IP. I tried running an simple dev server running npx serve and a Minecraft server and it worked without problem. Not sure if I'm missing something in the config which will fix this. Thanks for all the help! I have seen some issues dealing with multi-port games already but didn't seem to work for me.
To Reproduce
Steps to reproduce the behavior:
Start a multi-port game such as a gmod server
Forward using the config
Try to connect
Configuration
Configuration used to reproduce the behavior:
Server:
[server]
bind_addr = "0.0.0.0:2333"heartbeat_interval = 0
[server.services.gmod1]
type = "tcp"token = "Otter"bind_addr = "0.0.0.0:27015"
[server.services.gmod2]
type = "tcp"token = "Otter"bind_addr = "0.0.0.0:27005"
[server.services.gmod3]
type = "udp"token = "Otter"bind_addr = "0.0.0.0:27015"
[server.services.gmod4]
type = "udp"token = "Otter"bind_addr = "0.0.0.0:27005"
Client:
[client]
remote_addr = "129.213.99.222:2333"
[client.services.gmod1]
type = "tcp"token = "Otter"local_addr = "127.0.0.1:27015"
[client.services.gmod2]
type = "tcp"token = "Otter"local_addr = "127.0.0.1:27005"
[client.services.gmod3]
type = "udp"token = "Otter"local_addr = "127.0.0.1:27015"
[client.services.gmod4]
type = "udp"token = "Otter"local_addr = "127.0.0.1:27005"
The dev service can be ignored since its just a simple TCP tunnel on port 3000 for testing the npx serve command.
Logs
Server:
2024-08-28T00:36:47.295816Z INFO rathole::server: Listening at 0.0.0.0:2333
2024-08-28T00:36:47.296677Z INFO config_watcher{path="server.toml"}: rathole::config_watcher: Start watching the config
2024-08-28T00:36:51.744201Z INFO connection{addr=***:54282}: rathole::server: Try to handshake a control channel
2024-08-28T00:36:51.744684Z INFO connection{addr=***:54284}: rathole::server: Try to handshake a control channel
2024-08-28T00:36:51.745359Z INFO connection{addr=***:54283}: rathole::server: Try to handshake a control channel
2024-08-28T00:36:51.747002Z INFO connection{addr=***:54285}: rathole::server: Try to handshake a control channel
2024-08-28T00:36:51.749202Z INFO connection{addr=***:54286}: rathole::server: Try to handshake a control channel
2024-08-28T00:36:51.795946Z INFO connection{addr=***:54282}: rathole::server: Control channel established service=gmod2
2024-08-28T00:36:51.796577Z INFO connection{addr=***:54282}:handle{service=gmod2}:run_tcp_connection_pool: rathole::server: Listening at 0.0.0.0:27005
2024-08-28T00:36:51.796713Z INFO connection{addr=***:54284}: rathole::server: Control channel established service=gmod1
2024-08-28T00:36:51.796806Z INFO connection{addr=***:54284}:handle{service=gmod1}:run_tcp_connection_pool: rathole::server: Listening at 0.0.0.0:27015
2024-08-28T00:36:51.796847Z INFO connection{addr=***:54286}: rathole::server: Control channel established service=gmod4
2024-08-28T00:36:51.797285Z INFO connection{addr=***:54285}: rathole::server: Control channel established service=gmod3
2024-08-28T00:36:51.797329Z INFO connection{addr=***:54283}: rathole::server: Control channel established service=dev
2024-08-28T00:36:51.797403Z INFO connection{addr=***:54283}:handle{service=dev}:run_tcp_connection_pool: rathole::server: Listening at 0.0.0.0:3000
2024-08-28T00:36:51.797547Z INFO connection{addr=***:54286}:handle{service=gmod4}:run_udp_connection_pool: rathole::server: Listening at 0.0.0.0:27005
2024-08-28T00:36:51.797629Z INFO connection{addr=***:54285}:handle{service=gmod3}:run_udp_connection_pool: rathole::server: Listening at 0.0.0.0:27015
Client:
2024-08-28T00:36:51.720557Z INFO handle{service=gmod2}: rathole::client: Starting f79377aad75f38bea54993e7b191f2c4022ce1b984a266e76c4cdd97cab94b14
2024-08-28T00:36:51.721097Z INFO handle{service=gmod1}: rathole::client: Starting b6eaf16171a6519e115957f23cc325ebcf81334eec37261f8344ace63d55ed0e
2024-08-28T00:36:51.721475Z INFO handle{service=gmod4}: rathole::client: Starting ddec55c6f0e9ea342b7c2df3b9b9747a9bef77c3cdbb50ddfe6c24564e828c16
2024-08-28T00:36:51.721909Z INFO handle{service=gmod3}: rathole::client: Starting 1f4f9e4499628354488c98cf93b5621502d919acc8530f097f26d9d37c17a5b4
2024-08-28T00:36:51.722164Z INFO config_watcher{path=".\\client.toml"}: rathole::config_watcher: Start watching the config
2024-08-28T00:36:51.722445Z INFO handle{service=dev}: rathole::client: Starting ef260e9aa3c673af240d17a2660480361a8e081d1ffeca2a5ed0e3219fc18567
2024-08-28T00:36:51.873895Z INFO handle{service=gmod2}:run: rathole::client: Control channel established
2024-08-28T00:36:51.898447Z INFO handle{service=dev}:run: rathole::client: Control channel established
2024-08-28T00:36:51.921560Z INFO handle{service=gmod1}:run: rathole::client: Control channel established
2024-08-28T00:36:51.926409Z INFO handle{service=gmod3}:run: rathole::client: Control channel established
2024-08-28T00:36:51.932690Z INFO handle{service=gmod4}:run: rathole::client: Control channel established
Environment:
OS:
Server: Linux ARM
Client: Windows ARM (I built from source but it still works)
Describe the bug
I am currently trying to forward my GMod server which is running Windows ARM on a Raspberry Pi to my Oracle Server so that the IP is static and public. I have opened the required ports:
27015/tcp | 27015/udp | 27005/tcp | 27005/udp
. Even though I have forwarded them all, I still cant connect to the server using the public IP. I tried running an simple dev server runningnpx serve
and a Minecraft server and it worked without problem. Not sure if I'm missing something in the config which will fix this. Thanks for all the help! I have seen some issues dealing with multi-port games already but didn't seem to work for me.To Reproduce
Steps to reproduce the behavior:
Configuration
Configuration used to reproduce the behavior:
Server:
Client:
The
dev
service can be ignored since its just a simple TCP tunnel on port 3000 for testing thenpx serve
command.Logs
Server:
Client:
2024-08-28T00:36:51.720557Z INFO handle{service=gmod2}: rathole::client: Starting f79377aad75f38bea54993e7b191f2c4022ce1b984a266e76c4cdd97cab94b14 2024-08-28T00:36:51.721097Z INFO handle{service=gmod1}: rathole::client: Starting b6eaf16171a6519e115957f23cc325ebcf81334eec37261f8344ace63d55ed0e 2024-08-28T00:36:51.721475Z INFO handle{service=gmod4}: rathole::client: Starting ddec55c6f0e9ea342b7c2df3b9b9747a9bef77c3cdbb50ddfe6c24564e828c16 2024-08-28T00:36:51.721909Z INFO handle{service=gmod3}: rathole::client: Starting 1f4f9e4499628354488c98cf93b5621502d919acc8530f097f26d9d37c17a5b4 2024-08-28T00:36:51.722164Z INFO config_watcher{path=".\\client.toml"}: rathole::config_watcher: Start watching the config 2024-08-28T00:36:51.722445Z INFO handle{service=dev}: rathole::client: Starting ef260e9aa3c673af240d17a2660480361a8e081d1ffeca2a5ed0e3219fc18567 2024-08-28T00:36:51.873895Z INFO handle{service=gmod2}:run: rathole::client: Control channel established 2024-08-28T00:36:51.898447Z INFO handle{service=dev}:run: rathole::client: Control channel established 2024-08-28T00:36:51.921560Z INFO handle{service=gmod1}:run: rathole::client: Control channel established 2024-08-28T00:36:51.926409Z INFO handle{service=gmod3}:run: rathole::client: Control channel established 2024-08-28T00:36:51.932690Z INFO handle{service=gmod4}:run: rathole::client: Control channel established
Environment:
rathole --version
output:Server:
Client:
Server: Downloaded Prebuilt Binaries
Client:
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
The text was updated successfully, but these errors were encountered: