No internet after connect

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
jfreak53
OpenVpn Newbie
Posts: 4
Joined: Fri Nov 19, 2021 6:11 pm

No internet after connect

Post by jfreak53 » Fri Nov 19, 2021 6:19 pm

Using the profile below I have local network, I can ping IPs in my local network, but I have no internet. I can ping Google DNS servers, but have no internet. Not sure why DNS just disappears on this as I didn't think I was pushing any DNS config over the profile. Any help would be greatly appreciated!

Here is my profile:

Code: Select all

setenv UV_ID {ID}
setenv UV_NAME {name}
client
dev tun
dev-type tun
remote {IP-of-server} 10149 tcp-client
nobind
persist-tun
cipher AES-128-CBC
auth SHA1
verb 2
mute 3
push-peer-info
ping 10
ping-restart 60
hand-window 70
server-poll-timeout 4
reneg-sec 2592000
sndbuf 393216
rcvbuf 393216
remote-cert-tls server
comp-lzo no
key-direction 1

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: No internet after connect

Post by TinCanTech » Fri Nov 19, 2021 7:24 pm


jfreak53
OpenVpn Newbie
Posts: 4
Joined: Fri Nov 19, 2021 6:11 pm

Re: No internet after connect

Post by jfreak53 » Fri Nov 19, 2021 7:39 pm

Yes I get that TinCanTech, my point is if I turn off OpenVPN I have internet. So what in my config above is causing me to lose internet please? I don't want internet traffic routed through the VPN, just it's network.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: No internet after connect

Post by TinCanTech » Fri Nov 19, 2021 7:49 pm

Then stop redirecting your client gateway. Configure your server correctly.

jfreak53
OpenVpn Newbie
Posts: 4
Joined: Fri Nov 19, 2021 6:11 pm

Re: No internet after connect

Post by jfreak53 » Fri Nov 19, 2021 8:17 pm

Ok, I'm trying to be nice here but your posts are really rude. I'm trying to just ask someone what in my config is causing it please? I'm not seeing anything in my config I posted above that would redirect the client to the VPN server. Could you please nicely help me with that, which one is causing it?

Thank you!

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: No internet after connect

Post by TinCanTech » Fri Nov 19, 2021 8:24 pm

I am not rude, I am curt.

Answering your question with so little information is guess work and you are lucky I responded at all.

viewtopic.php?f=30&t=22603

Start with the Howto.

jfreak53
OpenVpn Newbie
Posts: 4
Joined: Fri Nov 19, 2021 6:11 pm

Re: No internet after connect

Post by jfreak53 » Fri Nov 19, 2021 8:38 pm

Not quite sure what other information you would need, the profile I use to connect to the server is there, that should show which flag is pushing I would think.

Post Reply