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

    windows 10 openvpn connect to multiple remote clients

    Scheduled Pinned Locked Moved OpenVPN
    24 Posts 3 Posters 2.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.
    • A
      ariban99
      last edited by

      see attached screenshot of screencapture-192-168-1-1-vpn-openvpn-server-php-2019-06-28-07_30_08_Page_3.jpg screencapture-192-168-1-1-vpn-openvpn-server-php-2019-06-28-07_30_08_Page_2.jpg screencapture-192-168-1-1-vpn-openvpn-server-php-2019-06-28-07_30_08_Page_1.jpg my server. as its still not working.
      the clients are my openvpn software on windows 10. not sure how to see the config files on windows 10. i dont think they are saying dont pull routes.
      i simply used the export wizard to export the setup file for windows 10.

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        And? Look at the routing table on a connected client.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        A 1 Reply Last reply Reply Quote 0
        • A
          ariban99 @Derelict
          last edited by

          @Derelict
          how do i see that in windows 10
          the config file for windows 10 openvpn program shows only
          dev tun
          persist-tun
          persist-key
          cipher AES-256-CBC
          ncp-ciphers AES-256-GCM:AES-128-GCM
          auth SHA1
          tls-client
          client
          resolv-retry infinite
          remote xx.xxx.xx.xx 1194 udp
          auth-user-pass
          ca firewall-UDP4-1194-ca.crt
          tls-auth firewall-UDP4-1194-tls.key 1
          remote-cert-tls server

          1 Reply Last reply Reply Quote 0
          • RicoR
            Rico LAYER 8 Rebel Alliance
            last edited by

            route print

            -Rico

            1 Reply Last reply Reply Quote 0
            • A
              ariban99
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • DerelictD
                Derelict LAYER 8 Netgate
                last edited by Derelict

                OK so the routes are there. Are you passing the traffic into pfSense on the OpenVPN firewall rules?

                Are the services on 192.168.1.0/24, 192.168.2.0/24, and 192.168.3.0/24 being blocked by some local firewall on the target hosts? (think windows firewall there.)

                Chattanooga, Tennessee, USA
                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                A 1 Reply Last reply Reply Quote 0
                • A
                  ariban99
                  last edited by

                  bc1d8d84-bc45-41ae-ae41-c8122e836275-image.png

                  i imagine i type that command in CMD of windows? if yes, here is the screenshot of the results.

                  1 Reply Last reply Reply Quote 0
                  • DerelictD
                    Derelict LAYER 8 Netgate
                    last edited by

                    bump ^

                    Chattanooga, Tennessee, USA
                    A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                    DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                    Do Not Chat For Help! NO_WAN_EGRESS(TM)

                    1 Reply Last reply Reply Quote 0
                    • A
                      ariban99 @Derelict
                      last edited by

                      @Derelict
                      my firewall in pfsense has a rule for openvpn interface to pass any protocal from ipv4
                      source and destination is set to any.
                      do i need another firewall rule in pfsense?

                      1 Reply Last reply Reply Quote 0
                      • DerelictD
                        Derelict LAYER 8 Netgate
                        last edited by

                        Post said rule.

                        Chattanooga, Tennessee, USA
                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          ariban99 @Derelict
                          last edited by

                          @Derelict see attached
                          sorry for the delay in responses, i have to wait 120 seconds between each postscreencapture-192-168-1-1-firewall-rules-edit-php-2019-07-02-17_39_13.png

                          1 Reply Last reply Reply Quote 0
                          • DerelictD
                            Derelict LAYER 8 Netgate
                            last edited by

                            OK it's not that. check the firewalls on the target hosts.

                            Try to ping the pfSense interface addresses.

                            Chattanooga, Tennessee, USA
                            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                            Do Not Chat For Help! NO_WAN_EGRESS(TM)

                            1 Reply Last reply Reply Quote 0
                            • A
                              ariban99
                              last edited by

                              ping from pfsense router 192.168.1.1 to a remote one 192.168.3.1

                              PING 192.168.3.1 (192.168.3.1): 56 data bytes
                              64 bytes from 192.168.3.1: icmp_seq=0 ttl=64 time=31.684 ms
                              64 bytes from 192.168.3.1: icmp_seq=1 ttl=64 time=34.436 ms
                              64 bytes from 192.168.3.1: icmp_seq=2 ttl=64 time=33.773 ms

                              --- 192.168.3.1 ping statistics ---
                              3 packets transmitted, 3 packets received, 0.0% packet loss
                              round-trip min/avg/max/stddev = 31.684/33.298/34.436/1.173 ms

                              ping from CMD windows 10
                              Pinging 192.168.3.1 with 32 bytes of data:
                              Request timed out.

                              1 Reply Last reply Reply Quote 0
                              • DerelictD
                                Derelict LAYER 8 Netgate
                                last edited by

                                No. From an OpenVPN client, man.

                                Chattanooga, Tennessee, USA
                                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                1 Reply Last reply Reply Quote 0
                                • A
                                  ariban99
                                  last edited by

                                  im sorry if im new and not understanding this properly and i appreciate your help.
                                  isnt my windows 10 computer considered the client? this is a vpn connection on my laptop when i travel i have openvpn installed and i login and i can connect only to the main pfsense server that is hosting my openvpn to my laptop client as a remote access user auth.
                                  however the same pfsense main server has other openvpn connections to remote pfsense routers in 2 other office locations using peer to peer shared key, and from my laptop i can not access those remote offices that are connected to my main pfsense server at the main office

                                  1 Reply Last reply Reply Quote 0
                                  • DerelictD
                                    Derelict LAYER 8 Netgate
                                    last edited by

                                    Your client is connecting and getting an address in the tunnel network, 10.1.0.0/24 (10.1.0.2)

                                    It is being pushed routes to route 192.168.1.0/24, 192.168.2.0/24, 192.168.3.0/24 over the tunnel. That looks like it's working.

                                    So from that connected client, ping 192.168.3.1. If that works, the VPN is working.

                                    Then try to access a host on that network (or one of the others.) if that fails it is almost certainly a firewall on the TARGET host, not on the pfSense firewall. Windows in particular likes to filter connections to it to just it's local subnet. Yout 10.1.0.0/24 tunnel network will be outside of that subnet.

                                    Chattanooga, Tennessee, USA
                                    A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                    DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                    Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                    1 Reply Last reply Reply Quote 0
                                    • DerelictD
                                      Derelict LAYER 8 Netgate
                                      last edited by

                                      Don't take this the wrong way, but you might want to hire someone to set this up for you.

                                      Chattanooga, Tennessee, USA
                                      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                      Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        ariban99
                                        last edited by

                                        do you know someone?

                                        1 Reply Last reply Reply Quote 0
                                        • DerelictD
                                          Derelict LAYER 8 Netgate
                                          last edited by

                                          Netgate Professional Services

                                          Chattanooga, Tennessee, USA
                                          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                          Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            ariban99
                                            last edited by

                                            thx

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