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

    Not able to RDP or SSH via OpenVPN

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 3 Posters 715 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.
    • S
      sakthi
      last edited by

      Hi All,
      I have setup OpenVPN via Tunnel mode (TUN) and all the LAN ports are bridged. I'm able to successfully connect to my home network via OpenVPN and able to access the pfsense web configurator page. I'm also running a ESXi host on my Bridge subnet and i'm able to access the ESXi homepage as well. But I'm unable to SSH or RDP to my Centos VM running on the bridge subnet. I checked the firewall log and I can see its allowed but when I checked my states its showing "SYN_SENT:CLOSED". I already allowed 3389 & port 22 on my linux firewall and tried stopping it too but I'm not able to get the connection established. Can someone please try to tell what additional configuration I need to perform inorder to overcome this issue.

      Looking forward for some help

      My OpenVPN subnet is different - 192.168.66.0/24
      My BRIDGE subnet - 192.168.65.1/24

      Regards
      Sakthi

      kiokomanK GertjanG 2 Replies Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8 @sakthi
        last edited by

        @sakthi
        does it work from the lan ?
        SYN_SENT:CLOSED means nothing is replying. the port is closed / the service is not running

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        S 2 Replies Last reply Reply Quote 0
        • S
          sakthi @kiokoman
          last edited by

          @kiokoman , Thanks for your reply. Yes, Its works from LAN (Bridge Subnet). I disabled selinux and stopped firewalld process too for testing but still same error.

          Regards
          Sakthi

          1 Reply Last reply Reply Quote 0
          • S
            sakthi @kiokoman
            last edited by

            @kiokoman , The services are listening too
            Screen Shot 2021-04-21 at 9.42.52 AM.png

            1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @sakthi
              last edited by

              @sakthi said in Not able to RDP or SSH via OpenVPN:

              and i'm able to access the ESXi homepage as well

              What is the IP of this ESXI VM ? 192.168.65.x/24 ?
              pfSense is 192.168.65.1 ?

              During setup, set up firewall rules on the OpenVPN (or OPENVPN interface if you have instantiated the OpenVPN interface - see Youtube => Netgate video's for details) lie this :

              d891ffed-7b91-45b7-a625-eae293eb9346-image.png

              I'm using myself the OpenVPN server of pfSense so I can call in, use the GUI of pfSEnse, or the SSH access, and also some RDP access to other devices on my LAN's (192.168.1.x/24 and 192.168.2.x/24)
              My OpenVPN Tunnel network is 192.168.3.x/24

              I had to inform my RDP (Microsoft based devices) that these had to accepts connection from the outside of their 'own' LAN, as by default they are restricted to their LAN == local access only.

              Btw : I have two local physical networks, 192.168.1.x/24 and 192.168.2.x/24
              As my devices to be contacted from "remote" are all on 192.168.1.x/24, I used the 192.168.2.x/24 network to see if I could connect to these RDP and SSH devices on 192.168.1.x/24.
              When I knew how to make it work from 192.168.2.x/24 I knew I could also make it work from 192.168.3.x/24 - the OpenVPN network.
              That was the moment I started to build my OpenVPN access.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

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