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

    Internet access via OpenVPN

    Scheduled Pinned Locked Moved OpenVPN
    9 Posts 4 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.
    • D
      deadmor0z
      last edited by

      I wonder can I access Internet on Vista through an OpenVPN connection to a remote pfSense 1.2.2. server, which has access  to Internet?

      1 Reply Last reply Reply Quote 0
      • Cry HavokC
        Cry Havok
        last edited by

        Yes.

        If you're unsure about how OpenVPN works I'd strongly recommend you read the OpenVPN documentation, available on their web site.

        1 Reply Last reply Reply Quote 0
        • D
          deadmor0z
          last edited by

          The OpenVPN documentation referes to different UNIX OVPN servers, but not to pfSense. For example, how do i edit the server config file using pfSense?

          1 Reply Last reply Reply Quote 0
          • Cry HavokC
            Cry Havok
            last edited by

            Through the GUI the package provides.

            1 Reply Last reply Reply Quote 0
            • T
              taphy
              last edited by

              pfSense = FreeBSD

              1 Reply Last reply Reply Quote 0
              • A
                afvadmin
                last edited by

                what would the server configuration look like to achieve a setup were the client surfs the internet throught the vpn

                1 Reply Last reply Reply Quote 0
                • Cry HavokC
                  Cry Havok
                  last edited by

                  Depends on how you want to do that.

                  You can either put up a proxy server (say squid) and configure the client to use that, or you can push the default route (push redirect-gateway def1) to be down the VPN.

                  1 Reply Last reply Reply Quote 0
                  • A
                    afvadmin
                    last edited by

                    so with the push rule would internet explorer lan settings would have to change ? cause as far as i know with push enabled you can't browse the internet

                    1 Reply Last reply Reply Quote 0
                    • Cry HavokC
                      Cry Havok
                      last edited by

                      Can I strongly suggest you:

                      a) Read the documentation for OpenVPN, as found on the OpenVPN site
                      b) Stop making random assumptions based on nothing but guesswork

                      You add that setting (push redirect-gateway def1) to your OpenVPN server configuration (which is what you asked about).  That will then cause the default route for traffic to be through the VPN.  Assuming you've configured the rest of your network accordingly you can then browse the Internet.

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