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

    Windows, OpenVPN, routing, net30

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 3 Posters 1.2k 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.
    • P
      pajo99
      last edited by

      I have couple of problems.

      Problem 1.

      I have setup my VPN and all works well. Using tun and IPv4 tunnel network 192.168.101.0/24 and DHCP for clients.

      Problem is when client on windows 7, 8 or 10 starts OpenVPN as user it will not redirect all traffic to VPN. If he starts OpenVPN as administrator it will do trafic redirection as wanted.

      What do I need to do so client can start OpenVPN as user and have all trafic redirected through pfsense?

      Problme 2.

      I want some clients to have static IP address and have set up User Specific Overrides with command ifconfig-push 192.168.101.101 255.255.255.0 but it gives me error on connection. It seems that I have to put IP address instead of net mask but I do not know what IP to put.

      And could someone explain me relation tun and net30 and option Topology on OpenVPN configuration. Thank you

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        @pajo99:

        Problem is when client on windows 7, 8 or 10 starts OpenVPN as user it will not redirect all traffic to VPN. If he starts OpenVPN as administrator it will do trafic redirection as wanted.
        What do I need to do so client can start OpenVPN as user and have all trafic redirected through pfsense?

        Run it as admin. (The openvpn export package has an option to provide support for the management interface, never worked for me, good luck.)

        @pajo99:

        And could someone explain me relation tun and net30 and option Topology on OpenVPN configuration. Thank you

        Maybe start here: https://forum.pfsense.org/index.php?topic=103331.0

        1 Reply Last reply Reply Quote 0
        • V
          viragomann
          last edited by

          192.168.101.101 is the server address in your case. You cannot push it to a client.

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