Have an OpenVPN-Server running on an VPS. The VPS has no LAN that it is connected to, it just has an ethernet interface directly connected to the internet. Crappy illustration here:

No I want multiple clients from different locations to connect to the VPS-OpenVPN-Server in order to have them all connected to player LAN Games.
No most of the tutorials explain that what I am looking for is bridging. But in my case there is no LAN on the VPS side that I could bridge. All I want is to connect Clients through the VPS.
So I read through dozens of articles online and yet did not manage to achive my goal. Yet this article describes more or less the same thing I am trying to do:
viewtopic.php?f=6&t=17898&p=48179&hilit ... vps#p48179
But by now I unfortunately did not manage to get it to work for me.
So here is my Server-Configuration:
Code: Select all
remote-cert-tls client
port 1194
proto udp4
dev tap
server 10.200.0.0 255.255.255.0
persist-key
persist-tun
keepalive 10 120
dh /etc/openvpn/dh.pem
ca /etc/openvpn/ca.crt
cert /etc/openvpn/openvpn_server.crt
key /etc/openvpn/openvpn_server.key
user nobody
group nogroup
cipher AES-256-GCM
auth SHA256
tls-crypt /etc/openvpn/ta.key
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
verb 3
daemon
log /var/log/openvpn.log
status /var/log/openvpn/openvpn-status.log
ifconfig-pool-persist /var/log/openvpn/ipp.txt
Code: Select all
client
dev tap
proto udp4
remote MyServersRemoteAddress 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client_1.crt
key client_1.key
remote-cert-tls server
tls-crypt ta.key
cipher AES-256-GCM
auth SHA256
verb 3
Things that already work fine:
- I can connect with two different PCs to the VPS' OpenVPN.
- PC_1 is assigned to 10.200.0.2 and PC_2 is assigned to 10.200.0.3.
- PC_1 and PC_2 can ping 10.200.0.1 without problems.
- They can also ping each other without problems.
If I disconnect PC_1 and PC_2 from the VPS-OpenVPN (PC_1 and PC_2 are actually physically in the same room in the same LAN) then they can join each others games without problems.
Therefore I conclude that something is still not working properly with my VPN as joining the games works fine without the VPN.
(Of course the overall goal is to play with people that do not have their PC in the same room but for now that is my test-setup).
What could I do to investigate this further? I feel like there is no need for bridging here but I might be wrong. I appreciate any help!