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

    Unable to connect LAN over Pfsense using openvpn

    Scheduled Pinned Locked Moved OpenVPN
    15 Posts 4 Posters 5.5k 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
      preet.dhiman83
      last edited by

      I am using Cisco E900 Wireless + LAN router

      I have a dedicated 2mb Wan link with sticky IP connecting to my cisco router over RJ45. Its being NAT(1) to 192.168.1.0/24 and then its bridged with physical LAN to connect Virtual box from where I am getting 192.168.1.114 from Cisco DHCP which is again getting NAT(2) to 10.0.2.15.

      On Cisco I am using port forwarding to the Virtual box i.e 192.168.1.114 and the from Virtual-box its being port forwarded to Pfsense (10.0.2.15).

      My aim is to access the Home network over VPN for security reason otherwise its working fine. I am using this setup cause I don't want to disturb my existing network(Laptops and phones) and also don't want pfsense running all the time. It will be turned on only when I want to connect from outside over the internet.

      If this doesn't work I will put pfsense internet facing and then the Cisco router. I already procured a CPU for the same considering the future requirements.
      Thanks for your response, appreciated…..

      1 Reply Last reply Reply Quote 0
      • K
        kejianshi
        last edited by

        Take a look at your openvpn firewall rules, and WAN rules.  Lots of redundant rules that are exactly same.  Need to get them down to just 1 unique rule per.

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          I don't understand the point of the virtual box nat?  And then where is the pfsense lan interface connected too?  How are you going to get access to your home lan in this setup?

          Your lan is 192.168.1.0/24 – so your pfsense lan interface is on this network?

          If what your trying to do is just openvpn into your network.. Why are you even running pfsense?  Just run the openvpn server on any box or even its appliance?

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • P
            preet.dhiman83
            last edited by

            Thanks for your replies guys , I have changes the configuration and my aim is just to access my home LAN using OPENVPN on PFSENSE.

            Now I have a virtual Machine bridged on the physical network and I am able to connect over OPENVPN . WAN interface is disabled and connecting over the LAN interface only.

            Firewall Rules also modified to any to any.(screenshots attached)

            I am not receiving LAN routes from the VPN connection being established except the below routes.(screenshots)

            OPENVPN cert setting screenshot is also attached.

            LAN network 192.168.1.10/24
            OPENVPN Network 192.168.2.0/24

            Capture.PNG
            Capture.PNG_thumb
            Capture1.PNG
            Capture1.PNG_thumb
            Capture2.PNG
            Capture2.PNG_thumb
            Capture3.PNG
            Capture3.PNG_thumb

            1 Reply Last reply Reply Quote 0
            • K
              kejianshi
              last edited by

              What is the OS of the machine running the VPN client?

              1 Reply Last reply Reply Quote 0
              • P
                preet.dhiman83
                last edited by

                Windows 7 64bit

                1 Reply Last reply Reply Quote 0
                • P
                  preet.dhiman83
                  last edited by

                  Got it working , issue was with the services running on the remote client

                  Referred to the below doc and bingo….. :)

                  http://www.vpntutorials.com/tutorials/openvpn-client-setup-tutorial-for-windows-8/

                  Thanks a lot guys for your help.... Really appreciated......

                  1 Reply Last reply Reply Quote 0
                  • K
                    kejianshi
                    last edited by

                    Yeah - Normally, thats more of a windows 8 issue.  Glad thats solved.

                    1 Reply Last reply Reply Quote 0
                    • P
                      preet.dhiman83
                      last edited by

                      Thanks a lot for your valuable replies, much appreciated….

                      1 Reply Last reply Reply Quote 0
                      • K
                        kejianshi
                        last edited by

                        There was another guy on another thread having same issue, so I posted your thread there.

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