OpenVPN Suddenly not allowing all traffic

Issues related to configuring your network
Post Reply
nthomthom
Posts: 16
Joined: 2019/11/24 18:54:48

OpenVPN Suddenly not allowing all traffic

Post by nthomthom » 2020/02/22 19:45:37

Hello I have openvpn and am able to connect to it; however I get no internet connection. Normally, I would just allow all traffic to passthrough and then use the command:

iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o enp6s0 -j MASQUERADE

It used to work, then suddenly out of nowhere I can longer get web access. Can anyone help me diagnosis the issue ?

matt2020
Posts: 13
Joined: 2020/01/20 07:26:39

Re: OpenVPN Suddenly not allowing all traffic

Post by matt2020 » 2020/03/07 19:06:51

Have you enabled forwarding ?

$ sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 1

iptables -L -v -n should have counters to see if something is being dropped somewhere.

And is DNS set up correctly from VPN server ?

Post Reply

Return to “CentOS 8 - Networking Support”