TCP and UDP Gateway FiveM Server
MaxenceHP Posted messages 33 Status Member -
Hello,
I'm setting up a self-hosted game server on FiveM and I'm using NGROK to create a TCP tunnel (ngrok tcp 33120) to access my server.
The only problem is that a FiveM server needs both TCP and UDP ports open, but NGROK can only open a TCP tunnel.
I don't want to open the ports on my router (for security and management reasons).
Do you have any alternatives to NGROK that can open both TCP and UDP and are reasonably safe?
What would you recommend?
Thank you in advance.
1 answer
-
Hello,
Most tunneling solutions (like ngrok, localtunnel, tunnelto, CloudFlare, ...) are limited to HTTP(S) or TCP proxying (with/without TLS).
The most reliable solution seems to be using an external server (VPS at €5/month) as a "remote NAT" through a VPN (OpenVPN or Wireguard). On this remote NAT, you can then do "port forwarding" from the server's public IP to the VPN client's private IP (your FiveM server).