Internet access issue


I’ve encountered a problem that I have no access to the internet with enabled VPN.
I can reach web-interface of Pritunl server and console via ssh, but not internet.
Anyway internet is accessible from Pritunl server.
It seems to be some troubles with routing…

I have no idea how to fix that.

That’s my config:

According to this config all traffic should pass through VPN, but nothing happens. Even ping is not working.


fixed that

iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE
iptables -A FORWARD -i ens3 -o tun11 -j ACCEPT
iptables -A FORWARD -i tun11 -o ens3 -j ACCEPT