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

Pfsense OpenVpn RDP to LAN net.

Scheduled Pinned Locked Moved General pfSense Questions
9 Posts 6 Posters 1.9k 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.
  • N
    Nicolay1995
    last edited by Mar 8, 2019, 9:40 PM

    I have set up OpenVPN on PFsense and have VPN connection working to pfsense.
    Now i want to RDP to one of my Virtuel machines from my VPN connection.

    What steps do i have to do to allow RDP access to my LAN network. Currently all iv done is added the LAN network to OpenVPN 0_1552081042186_86eefacd-c913-4d5b-912e-440397431155-image.png

    and a standar rule is in place on WAN from when i set upp OpenVPN.
    0_1552081098503_4fb84a26-557f-42f4-a43a-6ab035fb3bad-image.png

    The vm i want to connect to is in a LAN network with everything open.
    0_1552081177095_4421ed69-fdda-4a04-a249-895339b355fa-image.png

    I have also enabled RDP on the VM i wanne connect to.

    What do i need to do to get RDP to this VM.

    Any suggestions would be helpfull., im new to PFsense.
    Thank you

    1 Reply Last reply Reply Quote 0
    • K
      KOM
      last edited by Mar 8, 2019, 9:55 PM

      That looks good. Perhaps change the IPv4 TCP to * for your OpenVPN rule in the last image.

      1 Reply Last reply Reply Quote 0
      • N
        Nicolay1995
        last edited by Mar 11, 2019, 8:27 AM

        the problem is still cannot RDP to the LAN network.
        Do i need some port forwarding or what could be missing?

        1 Reply Last reply Reply Quote 0
        • R
          Rico LAYER 8 Rebel Alliance
          last edited by Mar 11, 2019, 8:34 AM

          This VM you want to RDP is using pfSense as gateway?

          -Rico

          1 Reply Last reply Reply Quote 0
          • N
            Nicolay1995
            last edited by Mar 11, 2019, 8:42 AM

            Yes it is.

            1 Reply Last reply Reply Quote 0
            • R
              Rico LAYER 8 Rebel Alliance
              last edited by Mar 11, 2019, 9:44 AM

              When describing a whole /24 network you would normally put 172.25.0.0/24 in your IPv4 Local network box, not 172.25.0.1/24
              Is the third screenshot showing your LAN firewall rules or OpenVPN group tab?

              -Rico

              1 Reply Last reply Reply Quote 0
              • T
                tim.mcmanus
                last edited by Mar 11, 2019, 4:01 PM

                Have you done a ping/traceroute from the client connected to the VPN and the RDP server?

                1 Reply Last reply Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator
                  last edited by Mar 11, 2019, 4:21 PM

                  Can tell 1 of the most common mistakes is they forget the host firewall. Windows out of the box is not going to allow some remote IP to RDP to them.

                  I rdp into my boxes on multiple segments on my home network all the time via vpn..

                  And keep in mind @Rico point... That is not a local network, that is host address.. The way I would read that, and prob pfsense as well is the HOST 172.25.0.1 is here if you want to connect to it... Not 172.25.0.0/24 which equals .1-254

                  Look in your route table on your client what do you see?

                  So here are routes to my home networks via connection to vpn from work
                  C:\Windows\System32>route print | find "192.168"
                  192.168.2.0 255.255.255.0 10.0.8.1 10.0.8.3 276
                  192.168.3.0 255.255.255.0 10.0.8.1 10.0.8.3 276
                  192.168.9.0 255.255.255.0 10.0.8.1 10.0.8.3 276

                  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.7.2, 24.11

                  1 Reply Last reply Reply Quote 1
                  • T
                    tkvrace
                    last edited by Jan 10, 2020, 12:40 PM

                    Same problem here, as johnpoz said, its a problem related to the windows host, in my case, not enough memory.
                    On windows servers if there is not enough memory, RDP is blocked.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received