Navigation

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

    openVPN Issues

    OpenVPN
    2
    9
    164
    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.
    • J
      Junior44 last edited by

      Capture11.PNG Hello I implement an openVPN solution with pfsense but I can not connect:
      here is my IT infrastructure. LAN -----> Pfsense -----> WAN ------> TUNEL ---> Customers
      LAN: 192.168.0.0/24
      Pfsense: 192.168.0.254/24
      WAN: 192.168.8.1/24
      TUN: 10.101.10.0

      when i log out of my local network here is the message that the openvpn GUI console is referring me
      I really need help

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

        Seems the client cannot reach the server.

        The client tries to connect to a private address (192.168.8.140)? You wrote you go over WAN.

        J 1 Reply Last reply Reply Quote 0
        • J
          Junior44 @viragomann last edited by

          @viragomann Ok Sorry!!
          192.168.8.1 is the default gateway address of the router and 192.168.8.140 is the WAN interface address

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

            The client tries to connect to 192.168.8.140:1194, but that IP:port is not responding or isn't reachable.

            The client is within the WAN: 192.168.8.0/24 network?

            J 1 Reply Last reply Reply Quote 0
            • J
              Junior44 @viragomann last edited by

              @viragomann No the client is out of the 192.168.0.0/24 network and out of the 192.168.8.0 network

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

                But as the log above shows, the client tries to connect to 192.168.8.140. How should that work if he isn't within that network???

                You have to change your client config remote line to the public IP or FQDN.

                J 2 Replies Last reply Reply Quote 0
                • J
                  Junior44 @viragomann last edited by

                  @viragomann Indeed I wanted to set up a remote desktop so log in from my home to my server at the office via my vpn

                  1 Reply Last reply Reply Quote 0
                  • J
                    Junior44 @viragomann last edited by

                    @viragomann but when I connect the client in the network 192.168.0.0 it connects without problem

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

                      Both networks 192.168.0.0/24 andd 192.168.8.0/24 are connected to the same router. So you go across the router.

                      Man when you’re outside that network you have to use the public IP to access the network.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post