Answer the question
In order to leave comments, you need to log in
VPN not working, how to find the reason?
For example, now I took a server (scw), and immediately after its launch I run a popular automatic configuration script
* https://github.com/Nyr/openvpn-install
As a result, the connection to the server is established but there is no Internet. Ubuntu 16.04 client -> Ubuntu 16.04 server
Exactly the same settings work for another provider, but this one doesn't. Most likely the problem is in the network settings, and not the VPN settings themselves. There is a dump of ipitables
# Generated by iptables-save v1.6.0 on Tue Oct 9 09:59:04 2018
*filter
:INPUT ACCEPT [2105:235388]
:FORWARD ACCEPT [312:19676]
:OUTPUT ACCEPT [1904:249646]
COMMIT
# Completed on Tue Oct 9 09:59:04 2018
# Generated by iptables-save v1.6.0 on Tue Oct 9 09:59:04 2018
*nat
:PREROUTING ACCEPT [604:31402]
:INPUT ACCEPT [581:29357]
:OUTPUT ACCEPT [32:2432]
:POSTROUTING ACCEPT [32:2432]
-A POSTROUTING -s 10.8.0.0/24 ! -d 10.8.0.0/24 -j SNAT --to-source THIS_SERVER_IP_ADDRESS
COMMIT
# Completed on Tue Oct 9 09:59:04 2018
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question