Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Ipsec/IKEv2 VPN - mobile has access to LAN resources but dsn't force all traffic

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 1 Posters 341 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bob88
      last edited by

      Hello all,
      I used this setup:
      https://doc.pfsense.org/index.php/IKEv2_with_EAP-MSCHAPv2

      I can connect to the LAN from my iphone, I can access internal resources. The problem is that the rest of the internet traffic is not forced through my networks WAN. I have some random IP from my carrier. I did set 0.0.0.0/0 as my network address in the Phase 2 field.
      Also, using the above tutorial I don't know how to set the pfsense IP as DNS for my VPN connection. I have some LAN servers that I want to access using a defined name.
      So, how do I force all internet traffic from my phone through the VPN connection, and how do I set the pfsense IP as DNS for the phone, while connected to VPN?
      Thank you

      1 Reply Last reply Reply Quote 0
      • B
        bob88
        last edited by

        I tried again using an OpenVPN setup. I followed this tutorial:
        https://doc.pfsense.org/index.php/OpenVPN_Remote_Access_Server

        I have the same problem. Either I can only access the internal resources, but no internet. Either I can access the internal resources but internet is from mobile provider. Can't get my phone to use the VPN internet connection. What am I doing wrong? Is this thing even possible?
        I did check the "Force all client generated traffic through the tunnel." option. No internet on phone, only LAN resources.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.