F5F Stay Refreshed Power Users Networks Set up a VPN connection and redirect traffic through it.

Set up a VPN connection and redirect traffic through it.

Set up a VPN connection and redirect traffic through it.

G
GoPatriots1
Member
221
05-29-2023, 07:10 PM
#1
You can set up a private virtual machine and use a VPN to route traffic through your own network. This way, visitors can access the game server using its public IP from the VPS instead of your personal one.
G
GoPatriots1
05-29-2023, 07:10 PM #1

You can set up a private virtual machine and use a VPN to route traffic through your own network. This way, visitors can access the game server using its public IP from the VPS instead of your personal one.

L
LOTR
Member
50
05-30-2023, 06:56 PM
#2
Sharing an IP with many users won’t work for port forwarding. You’d need a dedicated server with a fixed address. That way, you control DNS and stay safe from attacks. If needed, consider using a cloud service like Cloudflare for gaming.
L
LOTR
05-30-2023, 06:56 PM #2

Sharing an IP with many users won’t work for port forwarding. You’d need a dedicated server with a fixed address. That way, you control DNS and stay safe from attacks. If needed, consider using a cloud service like Cloudflare for gaming.

X
xSkylerr
Member
177
05-30-2023, 07:40 PM
#3
I meant to set up the VPN on my personal virtual private server, being the sole host. I’d just pay for the most basic VM specs to run OpenVPN or something similar. Relying on a public VPN wouldn’t be a good choice.
X
xSkylerr
05-30-2023, 07:40 PM #3

I meant to set up the VPN on my personal virtual private server, being the sole host. I’d just pay for the most basic VM specs to run OpenVPN or something similar. Relying on a public VPN wouldn’t be a good choice.

T
TheApolloo_
Junior Member
5
05-30-2023, 08:26 PM
#4
The concept involves users linking to a VPS, which serves as a proxy, sending data to their PC via a VPN. You might expect this to function, though you should be aware that a VPN will likely introduce significant delays. It’s often more efficient to host the game server directly on the VPS. You’ll need a VPN connection between your home server and the VPS, ensuring both can communicate over the network (for example, using a ping test). After setting this up, configure firewall rules on the VPS to allow traffic on specific ports from your home server.
T
TheApolloo_
05-30-2023, 08:26 PM #4

The concept involves users linking to a VPS, which serves as a proxy, sending data to their PC via a VPN. You might expect this to function, though you should be aware that a VPN will likely introduce significant delays. It’s often more efficient to host the game server directly on the VPS. You’ll need a VPN connection between your home server and the VPS, ensuring both can communicate over the network (for example, using a ping test). After setting this up, configure firewall rules on the VPS to allow traffic on specific ports from your home server.

T
T1NA_Bear
Member
221
05-30-2023, 08:36 PM
#5
It might be true, but running a VM yourself is significantly more affordable. For me, the benefits outweigh the delay.
T
T1NA_Bear
05-30-2023, 08:36 PM #5

It might be true, but running a VM yourself is significantly more affordable. For me, the benefits outweigh the delay.

J
JohnP1021
Member
68
05-31-2023, 01:48 PM
#6
I’ve tried this myself and it works often. I rent an AWS EC2 instance with OpenVPN, and whenever I need to forward ports, I connect to the server and configure iptables to route traffic through the VPN to my PC. For more steps, check out the guide here: https://github.com/lost1227/ovpn-port-forward
J
JohnP1021
05-31-2023, 01:48 PM #6

I’ve tried this myself and it works often. I rent an AWS EC2 instance with OpenVPN, and whenever I need to forward ports, I connect to the server and configure iptables to route traffic through the VPN to my PC. For more steps, check out the guide here: https://github.com/lost1227/ovpn-port-forward

S
Sandunsel
Junior Member
15
05-31-2023, 04:17 PM
#7
Thanks in advance! It means a lot.
S
Sandunsel
05-31-2023, 04:17 PM #7

Thanks in advance! It means a lot.