Suvi Hleb 1 Dec, 2015 @ 6:01am
Server with an installed VPN Server and a CS:GO Server
Hello.

My server has installed a VPN server and also a CS:GO server. When I'm not connected to my vpn server, I can reach my CS:GO server, but when I connect to my VPN server(which is running on the same server machine like the CS:GO server), then I can't reach my server. I tried to connect to some free VPN server, and I can reach my CS:GO server.

So the problem exists, that when I connect to my VPN server, I can't reach my CS:GO server. (both are running on the same server machine)

My before.rules are looking like this (only the part for the vpn):
# START OPENVPN RULES # NAT table rules *nat :POSTROUTING ACCEPT [0:0] # Allow traffic from OpenVPN client to eth0 -A POSTROUTING -s 10.8.0.0/8 -o eth0 -j MASQUERADE COMMIT # END OPENVPN RULES

For the VPN server, I also needed to change the following in the /etc/default/ufw
From: DEFAULT_FORWARD_POLICY="DROP" To: DEFAULT_FORWARD_POLICY="ACCEPT"

Ports are all forwarded for the CS:GO server. (also over iptables)

I don't know, what is causing the trouble, I hope you can help me!

P.S.: Sorry if I said a thing more than once :P
< >
Showing 1-2 of 2 comments
Loki 21 Sep, 2016 @ 7:02am 
Found any solution for this problem?
Blaquicat 10 Nov, 2016 @ 4:36am 
Not sure, but dont you need ACCEPT insted of MASQUERADE ?
MASQUERADE will make your computer ip as your server ip, if you dont have a reverse route, the reply from the server will never reach your machine..

Again, not sure, im not that good at iptables rules anyway, just something i was thinking about while reading..
Last edited by Blaquicat; 10 Nov, 2016 @ 4:37am
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: 1 Dec, 2015 @ 6:01am
Posts: 2