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

    Connection failed REMOTE SERVER

    Scheduled Pinned Locked Moved Firewalling
    11 Posts 2 Posters 942 Views 2 Watching
    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.
    • C Offline
      cobca
      last edited by

      Hi, VPN client behind pfsense does not connect to remote server, help please.

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

        @cobca what sort of vpn? openvpn, ipsec, wireguard, etc.

        What is the error your getting, are you trying to resolve a fqdn, using the IP directly?

        Are you doing any sort of filtering on your lan side blocking ports, or forcing traffic out a vpn connection. Running IPS on pfsense? Using any sort of dns filtering?

        My work laptop vpns just fine into my work vpn.

        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 25.07.1 | Lab VMs 2.8, 25.07.1

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          cobca
          last edited by

          inside pfsense I have a windows 10 client with check point VPN, it connects well; On the same pc I have a software that establishes a connection to a remote server using the VPN, this connection fails.

          1 Reply Last reply Reply Quote 0
          • C Offline
            cobca @johnpoz
            last edited by

            @johnpoz inside pfsense I have a windows 10 client with check point VPN, it connects well; On the same pc I have a software that establishes a connection to a remote server using the VPN, this connection fails.

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

              @cobca well if your connection to the vpn shows up and working - and you can access other stuff the vpn seems more like a problem with that specific vpn.

              Pfsense could have no possible way to stop something inside the vpn connection.. While sure it would be possible for pfsense to cause an issues with making the vpn connection, once that is established pfsense would have zero insight to anything flowing through the vpn.

              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 25.07.1 | Lab VMs 2.8, 25.07.1

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                cobca @johnpoz
                last edited by

                @johnpoz When they remove the windows client behind pfsense and connect it directly to the wan connection, everything works fine! I don't understand that

                johnpozJ C 2 Replies Last reply Reply Quote 0
                • johnpozJ Offline
                  johnpoz LAYER 8 Global Moderator @cobca
                  last edited by johnpoz

                  @cobca well maybe that application or whatever is not actually going through vpn. But there is just not really anything pfsense could do with traffic inside a vpn.. It has no way to see that traffic, it only sees the outer vpn connection..

                  Maybe there is some sort of split tunnel setup on this vpn connection, and the network when your on pfsense seems like it should split tunnel for the IP your trying to access. But when your on the wan routers network, which I assume is also rfc1918 it doesn't split tunnel and sends the traffic down the vpn?

                  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 25.07.1 | Lab VMs 2.8, 25.07.1

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    cobca @cobca
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      cobca @johnpoz
                      last edited by

                      @johnpoz Is there a way to know how the vpn behind pfsense is working?

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

                        @cobca what do you mean how its working? Can you get to other stuff through this vpn?

                        Your saying you can not connect to this server, what about other resources - is this your work vpn? Can you get to email, other resources on the other end of the vpn. Or are you just trying to connect to this one server?

                        What is the IP of this server. You could also be running into a problem where the IP ranges on the other end of the vpn are say for example 192.168.1/24 and your local network is also 192.168.1/24 - that for sure can be problematic.

                        And would also explain why it works when you connect it direct to your router, because no your IP is say 192.168.2/24 which ties in with my split tunnel example.

                        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 25.07.1 | Lab VMs 2.8, 25.07.1

                        C 1 Reply Last reply Reply Quote 0
                        • C Offline
                          cobca @johnpoz
                          last edited by

                          @johnpoz Your explanation is very good, thank you.

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