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

How to choose which machine I remote desktop to?

Scheduled Pinned Locked Moved General pfSense Questions
7 Posts 3 Posters 5.3k 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.
  • U
    user000001
    last edited by Jul 20, 2011, 3:05 PM Jul 20, 2011, 2:21 PM

    I used the directions in http://forum.ncix.com/archive/index.php/t-2348050.html to set up my NAT port forwarding and firewall rule and it works. I can remote desktop from a machine outside of my LAN to the one machine on my LAN using the WAN address on the pfsense box. What I'd like to do now is have multiple machines on my LAN (they are hooked up to a switch and the switch is hooked up to the LAN NIC on my pfsense box) and be able to distinguish (from the outside machine) which machine I'm RDPing into. Like I said already, right now I use the IP address of the WAN to RDP to my one machine on my LAN. Is there a way to use the IP of the machines on my LAN or some firewall rule magic that I can do? I'm using pfsense 2.0 RC3 i386 6/21/2011. Thank you.

    1 Reply Last reply Reply Quote 0
    • L
      LostInIgnorance
      last edited by Jul 20, 2011, 2:51 PM

      If you have multiple computers you would like to access, why don't you save some trouble of opening your firewall and change it to an openvpn tunnel and tunnel everything over that connection.  It's more secure than what you are doing right now.

      1 Reply Last reply Reply Quote 0
      • U
        user000001
        last edited by Jul 20, 2011, 3:00 PM Jul 20, 2011, 2:57 PM

        Thank you for the reply but I guess I should clarify. By 'outside' my network I meant still in the same building but different subnets. So if the WAN IP of my pfsense box is 123.456.789.111 and the LAN IP is 192.168.1.1 and the range of machines on that LAN go from 192.168.1.10 - 192.168.1.20 I would like to remote into let's say 192.168.1.15 from an address like 123.456.789.120. Right now I can do this but with just one machine (ex. I can only log into 192.168.1.10) because the IP address I use to remote to that machine is the IP of the WAN (123.456.789.111). Can I do this?

        1 Reply Last reply Reply Quote 0
        • L
          LostInIgnorance
          last edited by Jul 20, 2011, 3:21 PM

          Can you give an network design.  I must be misinterpreting what you're trying to exactly ask.  Still sounds like you're trying to do it through the wan connection.

          1 Reply Last reply Reply Quote 0
          • U
            user000001
            last edited by Jul 20, 2011, 3:34 PM

            Here is basically my setup

            network.png
            network.png_thumb

            1 Reply Last reply Reply Quote 0
            • D
              dhel
              last edited by Jul 20, 2011, 3:40 PM

              Make multiple NAT port forwards… use redirect target IP and redirect target port...

              Example: map WAN:3389 to 192.168.1.10:3389, WAN:3390 to 192.168.1.11:3389, WAN:3391 to 192.168.1.12.

              On RDP client, use WANIP:3390 to get to 192.168.1.11, etc.

              1 Reply Last reply Reply Quote 0
              • U
                user000001
                last edited by Jul 20, 2011, 6:12 PM

                Thank you. I used your solution of port forwarding and it does work. I will just have to make a list of what port corresponds to which machine so I remember.

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