Game server
# server
v
Anyone here willing to help out a linux novice lol? My isp is a mobile provider and I'm trying to use netmaker to create a tunnel for public traffic to reach my game server. I have netmaker installed on a vps with ufw set to default allow all traffic and I have set the ipv4 forwarding to true as I will be limiting traffic at the game server.The vps has no other means of blocking ports. I have set the vps to relay the game server. Now I'm not sure what else I'm missing as when I try to connect via the relay, it times out. I have also tried setting the server to egress 0.0.0.0/0 but as soon as I enable that port range It seems to break internet access for the game server. I'm honestly kinda stumped trying to wrap my head around what I'm missing. Any help would be very much appreciated! Thanks!
b
I want to clarify what you want. You have netmaker set up on vps and have installed netclient on your game server. The vps is ser up as relay and is relaying the game server. When another machine running netclient tries to connect to games server it times out. Have I got this correct?
v
Correct up to the last bit, user machine not using net client but using vps ip Basically client -> vps/netmakerserver game server
b
You need to install netclient on that machine
or you have to setup firewall forwarding rules on bps server
v
Firewall forwarding would probably be the most efficient way, would I need to egress the connection?or anything beyond just realying?
https://www.whizanth.com/blog/vps-portforwarding/ I did find this, suggesting that I need to modify iptables, but from my understanding netmaker does this process automatically?
b
Netmaker does this automatically for netclient clients. You said you did not want netclient on the connecting client so netmaker can't do anything and you are on your own setting up the correct firewall rules
v
Ahh I gotcha, so I would just need to create the correct rules for the ip tables at the vps and then realy server should function correctly for my use case?
And ingress egress only applies to net client?
b
ingress/egress are for clients on netmaker network
extclients use barebones wg (netclient is not required) to connect to a netmaker network via ingress gateways
v
That makes much more sense, thank you for the clarification.
4 Views