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

    [SOLVED] OPENVPN TROUBLE

    Scheduled Pinned Locked Moved OpenVPN
    10 Posts 3 Posters 1.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.
    • ?
      A Former User
      last edited by

      Hi, i need help please i have connected my laptop to my LAN net with pfsense OpenVPN mode roadwarrior this work right but i need access from PC LAN to my laptop and i can't . How i can connect? this is part of my configuration:

      OpenVPN Servers

      Protocol/Port    Tunnel Network              Crypto                                                                          Descripcion
      UDP / 1194    172.16.1.0/28          Crypto: AES-256-CBC/SHA256 D-H Params: 2048 bits            SLPRW VPN (tun)

      Server Mode=Remote Access(SSL/TLS + User Auth)
      Interface=WAN
      DH Parameter Length=2048
      Enable NCP (x)
      NCP Algorithms=AES256-GSM / AES128-GSM
      IPv4 Tunnel Network=172.16.1.0/28
      Redirect Gateway (x)
      Inter-client communication (x)
      DNS Default Domain (x)
      DNS Default Domain=localnet.lo
      DNS Server 1=192.168.10.1

      Maybe can help. Thanks.

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

        If the VPN connection is up and traffic can flow in one direction, but you get no access in the other one, the block will be caused by a firewall. Presumably by the clients firewall.
        So you would have to open up the clients firewall to allow access from servers LAN.

        You may also do some tricks with NAT and VPN gateway on the server, so that the client will trust the access, but that's a little bit dirty.

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by

          Thanks for you response viragomann, i will see my firewall on my router.

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            Hi viragomann, i see that my firewall is stopped, how i can route the connection from my LAN to my laptop?

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

              Is the pfSsense running the OpenVPN server the default gateway in the LAN?
              If it is you should be able to access the Laptop by its VPN IP, presupposed all firewalls on the route permit it.

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by

                @viragomann:

                Is the pfSsense running the OpenVPN server the default gateway in the LAN?

                Yes, pfsense is my openvpn and default gateway

                @viragomann:

                If it is you should be able to access the Laptop by its VPN IP, presupposed all firewalls on the route permit it.

                I try make ping to the ip vpn on my laptop but i can't. How i make a routing?

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

                  Is it a Windows Laptop?

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User
                    last edited by

                    Yep, Laptop with windows 10

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

                      Windows out of the box would block ping from IP that is not on the local network… You need to adjust the windows firewall to allow access from your VPN clients.

                      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
                      • ?
                        A Former User
                        last edited by

                        Thanks viragomann & johnpoz, i solved this trouble, only need install the agent openvpn on my desktop LAN and i can access to the laptop. Thanks for all.

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