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

    OpenVPN, connected but can not access local network.

    Scheduled Pinned Locked Moved OpenVPN
    10 Posts 3 Posters 1.1k 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.
    • N
      nhanyeudoi
      last edited by

      Firstly, I would like to say sorry cause I know there's so many people asked about same issue. But though I tried to follow many instruction in thi forum but still not luck.

      For main point:
      OpenVPN Connected, I can ping, can access to pfsense server through it's Lan IP address.
      Ive' already set the default gateway for local network to my Pfsense Lan port IP.
      Tried to turnoff firewall on pc from local network - just can ping it but can not //IP to access shared data.
      In my local network has a wifi AP but I can not ping nor access to it with it's IP.

      Use the firewall monitor I can see that all my package is passed.
      Thank you for any help
      ![passed traffic.PNG](/public/imported_attachments/1/passed traffic.PNG)
      ![passed traffic.PNG_thumb](/public/imported_attachments/1/passed traffic.PNG_thumb)

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

        Hey,

        Try this: https://www.reddit.com/r/PFSENSE/comments/6lxl6t/how_do_i_allow_openvpn_clients_access_the_local/?st=jely85jl&sh=c3569e17

        I have a similair problem, but I can access LAN with VPN connected, tho when I set my PC to bypass the VPN I cannot access lan…

        1 Reply Last reply Reply Quote 0
        • N
          nhanyeudoi
          last edited by

          Sorry but after check the link you gave me,I'm not sure what the key point here?

          1 Reply Last reply Reply Quote 0
          • N
            nhanyeudoi
            last edited by

            @truetype:

            Hey,

            Try this: https://www.reddit.com/r/PFSENSE/comments/6lxl6t/how_do_i_allow_openvpn_clients_access_the_local/?st=jely85jl&sh=c3569e17

            I have a similair problem, but I can access LAN with VPN connected, tho when I set my PC to bypass the VPN I cannot access lan…

            I though the issue here is because when I connect through VPN, the dynamic IP that I got from Pfsense is different subnet with Lan, so the ping, access is got trouble. I tried to turn off firewall on Lan's PC and it can ping.

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

              Don't know why you smite me, I'm a noob but I at least try to help. Might have to do with Remote Networks? https://doc.pfsense.org/index.php/OpenVPN_Site_To_Site

              1 Reply Last reply Reply Quote 0
              • N
                nhanyeudoi
                last edited by

                @truetype:

                Don't know why you smite me, I'm a noob but I at least try to help. Might have to do with Remote Networks? https://doc.pfsense.org/index.php/OpenVPN_Site_To_Site

                Sorry man,but English is not my mother tounge, but I don't ever try to smite you. I've just try to ask you and every body to help me. I only  try to make the VPN client (laptop, pc, cellphone… from outside network) - site (my home network). Site - site is higher level for what I wanting now. If you are noob so what I am? :))))

                1 Reply Last reply Reply Quote 0
                • R
                  Ryu945
                  last edited by

                  Did you make the NAT rules that give the internet on the VPN to your LAN network?

                  Firewall -> NAT -> Outbound

                  1 Reply Last reply Reply Quote 0
                  • N
                    nhanyeudoi
                    last edited by

                    @Ryu945:

                    Did you make the NAT rules that give the internet on the VPN to your LAN network?

                    Firewall -> NAT -> Outbound

                    Hi Ryu945, please take alook what I have in NAT in the attached picture. Am I miss something, please show me

                    ![Nat rule.PNG](/public/imported_attachments/1/Nat rule.PNG)
                    ![Nat rule.PNG_thumb](/public/imported_attachments/1/Nat rule.PNG_thumb)

                    1 Reply Last reply Reply Quote 0
                    • N
                      nhanyeudoi
                      last edited by

                      I've just try to turn off firewall on the PC in my local network, this time I can ping it from VPN client (outside network) and I can access the share Data.

                      I think that my problem is not about firewall now, because when I'm try to ping or access Local network, the Firewall logs show that the packet is PASSED but nothing respond.

                      Is there somehow that PCs and others device in my Local Network realize that the VPN client is from another network then they block the connect (like in case of the PC when I turn off the firewall)

                      ![Capture firewall.PNG](/public/imported_attachments/1/Capture firewall.PNG)
                      ![Capture firewall.PNG_thumb](/public/imported_attachments/1/Capture firewall.PNG_thumb)

                      1 Reply Last reply Reply Quote 0
                      • N
                        nhanyeudoi
                        last edited by

                        Still get no luck. Somebody can give me more advice, please.

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