Answer the question
In order to leave comments, you need to log in
Why does the Internet stop working after connecting to OpenVPN?
After connecting to OpenVPN, the Internet stops working. I can't figure out what could be the reason. I connect accordingly with Windows 10.
Local config:
client
dev tun
proto udp
sndbuf 0
rcvbuf 0
remote <ip_removed> 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
comp-lzo
setenv opt block-outside-dns
key-direction 1
verb 3
auth SHA512
port 1194
proto udp
dev tun
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-auth ta.key 0
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
#push "redirect-gateway def1 bypass-dhcp"
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
cipher AES-256-CBC
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem
Answer the question
In order to leave comments, you need to log in
The logs should be written what is the reason.
And so on the skid, apparently the exit to the outside on the server is not registered.
Something like that:
Where xxxx is the IP of the server where the traffic should go outside.
And packet forward must be enabled:
AND in /etc/sysctl.confnet.ipv4.ip_forward = 1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question