Device connected with OpenVPN Connect has no internet access
-
This post is deleted! -
@philb001 Sounds like this might be a NAT issue. Are you using automatic outbound NAT? Check under Firewall > NAT > Outbound... try just re-saving if you don't see your OpenVPN internal subnet listed. Or, if you're using manual mode (probably shouldn't be if you're new to pfSense) then make sure you're NAT'ing your openvpn net to your WAN.
-
This post is deleted! -
@philb001 is 10.0.0.0/24 or 10.0.8.0/24 your VPN subnet? could you post screenshots of your VPN server config? can you ping raw public IP addresses eg 1.1.1.1 when connected to the VPN? if yes then it could just be a DNS issue.
-
@luckman212 my subnet is 10.0.0.0/24. I was not able to ping on my with my phone.
first 3 screen shots of my VPN server config are attached.

-
@luckman212 and here are the last four screen shots
Thanks for you help.

-
Hmm. Not quite sure what's going on there. It all looks reasonably correct. Are you expecting all your phone's traffic to get routed through the VPN? If yes, you'd want to enable this checkbox

Also, not sure who your mobile carrier is, but it's worth making sure if they use CGNAT that it isn't overlapping somehow with either of your 10.x subnets. I've seen that before and it would break things.
If I were you I'd try dropping to the pfSense console from a computer while your phone is connected, running eg
tcpdump -vv -ni ovpns1 'host 1.1.1.1 && dst port 443'(if you don't have anovpnsXassigned, go to Interfaces > Assignments and add it under Available network ports... )Then, try to access
https://1.1.1.1from the phone while it's connected to the VPN, and watch the packets to figure out why they might be hitting a wall. Paste some of the output here if you can. -
Thank you for the guidance. I going to take a break from working on this until tomorrow. I will post an update then.
-
@luckman212 Quick question. Would it be a bad idea to remove the VPN server and create a new one? Or would that be opening another bag of worms?
-
@philb001 I wouldn't do that just yet. I don't think that's the problem. As long as the VPN client connects all the way (shows connected status) then I think you just have a settings issue. Something may be getting pushed to your phone, eg a route or a DNS server, that is throwing things off.
Is there any logfile in your OpenVPN Connect client - I'd be looking there for clues as well...
-

Check if the resolver actually listens to the VPN server (10.0.0.1) IP address :
Typically :
and you can double check with :

and Start.
As soon as you connect your phone with the OpenVPN app, you will (should) see DNS requests coming in :
-
@Gertjan I just connect to the VPN with my Verizon phone using the phones data connection and it worked for about 10 minutes and then webpages failed to load. I turned of the OpenVPN Connect connection and then restarted it and it worked again. Also, when it works and I check my ip address it was not my home ip but Verizon's. Not sure if this indicates anything. I have attached the packet capture from when it was working. Thanks
-
@philb001 as expected with the config you have above, the only traffic going across the VPN tunnel is DNS, since you specified DNS server in your server config. If you want your IP address to appear as if you are at home, you need to route ALL traffic through the VPN, which is the option I screenshotted above:

The packet capture will be more useful once you are capturing all traffic from your phone - then if the failure happens again, we can try to inspect the pcap to see what happened.
-
You will prob also want to allow users ip to change - because on cell its quite possible your ip could change quite often.
-
@johnpoz yep- good call and that's probably the real reason it's failing for him after a short period of time ... Verizon IP changes -> VPN stops passing traffic -> DNS is now dead.
"It's always DNS..."
^^the setting in question -
@luckman212 Thank you all for your help. I just made the changes to my VPN config and so far the VPN connection on my phone is working fine. It is showing my home IP as well. Good day to you guys!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy