Page 1 of 1

OVPN Client connected but without internet.

Posted: Fri Jun 14, 2019 5:40 pm
by norbertcz94
Hi.
I read all internet from 7 days and I don't know what is wrong.
I have ovpn server on LAN 192.168.1.1
When I run it with Administrator rights I got IP 10.10.10.1

Server
port 1194
proto tcp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
server 10.10.10.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3


And I trying to connect to server from client. I got IP 10.10.10.6 but don't have internet.

client
client
dev tun
proto tcp
remote PUBLIC.IP.ADDRESS 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
remote-cert-tls server
comp-lzo
verb 3


Please, help me, what more I need to do? :/

PS My firewall allows on both PCs in/out-comming for OpenVPN GUI. And I have 1194 forwarded.

Re: OVPN Client connected but without internet.

Posted: Mon Jun 17, 2019 10:54 pm
by fhcd
Sometimes this is due to missing iptables rule or missing sysctl parameter.

Re: OVPN Client connected but without internet.

Posted: Tue Jun 18, 2019 9:24 pm
by norbertcz94
but how to fix it?

Re: OVPN Client connected but without internet.

Posted: Tue Jun 18, 2019 9:39 pm
by TinCanTech
norbertcz94 wrote:
Fri Jun 14, 2019 5:40 pm
Hi.
I read all internet from 7 days and I don't know what is wrong.
Yes, your shirt is indeed a mess



Please see:
viewtopic.php?f=30&t=22603

Re: OVPN Client connected but without internet.

Posted: Fri Jun 21, 2019 10:37 am
by norbertcz94
I got it :D Thanks. I must to set up "routing" and "share connection to vpn".
Now I have another problem... How to connect via TAP? I want to see LAN PCs...