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

    Dynamic dns question

    Scheduled Pinned Locked Moved General pfSense Questions
    25 Posts 4 Posters 8.5k 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.
    • P
      pman860507
      last edited by

      @tommyboy180:

      Yes.
      As an example lets say your desktop IP is 192.168.1.100 and it runs Microsoft Remote Desktop which listens on port 3389. You want to remote desktop to this PC with SSH from an external network such as work.

      In Putty expand 'ssh' and then 'tunnels'. You would add the following settings for the above example,
      Source Port: 555
      Destination: 192.168.1.100:3389
      Selection radio option 'Remote' and 'Auto'

      When you successfully log into your SSH server open up Remote Desktop client and connect to 127.0.0.1:555
      Now you have a completely secure and encrypted VPN connection to remote desktop. You can do the same with FTP, email, web, and so much more. SSH is a VPN solution but with a lot less hassle.
      (Note: You don't have to use port 555 every time. This is just an easy port to remember but you don't want to use the same port number twice or it wont work)

      It's a lot of fun when you start playing around, and it is really powerful. Just don't forget to watch your SSH logs for hacking attempts. By changing the default port from 22 to something like 222 you can greatly reduce the amount of attacks on your SSH server.

      Thanks trying it out now. the first thing i did was change the default port for shh.  ;D

      1 Reply Last reply Reply Quote 0
      • P
        pman860507
        last edited by

        do i need to set anything up in my firewall?

        i will walk you though it. as i did

        opened up putty

        entered ssh information
        Source port: 555
        destination: 172.30.1.101:3389
        clicked add
        shows up: R555  172.30.1.101:3389
        click connect
        log in
        so i get here.

        now if i open up remote desktop connection (in windows if you didnt know) enter 127.0.0.1:555 and it connect i get this error.

        This computer can't connect to the remote computer.

        try connecting again. if the problem continues, contact owner…./

        1 Reply Last reply Reply Quote 0
        • T
          tommyboy180
          last edited by

          Can you remote desktop to this PC within your network from another computer? Check firewall settings. Your SSH Tunneling settings are correct.

          -Tom Schaefer
          SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

          Please support pfBlocker | File Browser | Strikeback

          1 Reply Last reply Reply Quote 0
          • P
            pman860507
            last edited by

            @tommyboy180:

            Can you remote desktop to this PC within your network from another computer? Check firewall settings. Your SSH Tunneling settings are correct.

            On my local network i can. since it doesn't even have a screen. could the firewall setting on my work network block it?

            1 Reply Last reply Reply Quote 0
            • T
              tommyboy180
              last edited by

              Since you SSH'd in then it's safe to say that you will be able to remote desktop. Just check your SSH settings. You must have missed something.

              -Tom Schaefer
              SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

              Please support pfBlocker | File Browser | Strikeback

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