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

Openvpn client getting IP, not getting a gateway

Scheduled Pinned Locked Moved OpenVPN
3 Posts 2 Posters 4.3k 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.
  • G
    glstud
    last edited by Jul 27, 2013, 3:54 PM

    I've seen a few posts on this topic but still not 100% sure on why there are config differences between an IOS config using openvpn connect and the exported windows openvpn installer for the client.  I can use the openvpn config exporter to export a config for IOS and it works fine.  If I export the exact same config for a windows installer package it does not work - I don't get a default gateway pushed to the windows PC and therefore no connectivity.  I will add a push route to the server this weekend which should solve for the PC client connect issues but may create a new issue with my IOS connectivity - we'll see.

    Any thoughts from more advanced users on why this issue may exist on one client platform but not on another?  Thx

    1 Reply Last reply Reply Quote 0
    • G
      glstud
      last edited by Jul 28, 2013, 6:32 PM

      OK - I was at the remote pfsense box today and added the push route in the advanced options.  Still no luck the openvpn log states "route addition failed using CreateIPForwardEntry: The object already exists".  So, my win 7 openvpn client still gets no gateway and while I can connect to the lan I cannot get out to the internet.  Yet, this same config still works perfect for my IOS device with openvpn connect app.  Any thoughts?

      1 Reply Last reply Reply Quote 0
      • K
        kejianshi
        last edited by Jul 28, 2013, 6:41 PM Jul 28, 2013, 6:37 PM

        My guess is that you didn't install the openvpn client package in windows as admin.
        When you install the package, you have to right click, run as admin and accept all the following dialogue boxes.
        I also make a habit of right click and running the openvpn gui as admin even after install, but its not required.

        If you are not sure that you installed as admin, please uninstall openvpn completely and and then reinstall with the right - click run as admin.
        I also use TUN usually and not TAP so much.  If you have other VPN solutions installed along side openvpn, those can also cause issue.

        (windows firewall or any firewall can also break things - Might want to deactivate those during troubleshooting)

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received