User Tools

Site Tools


tunneling_with_dreamcompute

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tunneling_with_dreamcompute [2017/11/04 05:05] jtkorbtunneling_with_dreamcompute [2019/06/14 15:51] jtkorb
Line 3: Line 3:
 These steps set up remote access to a home network using an ssh tunnel to a DreamCompute host. These steps set up remote access to a home network using an ssh tunnel to a DreamCompute host.
  
-  - At the DreamCompute [[https://iad2.dreamcompute.com/project/access_and_security/|Access and Security]] panel...+  - At the DreamCompute [[https://iad2.dreamcompute.com/project/security_groups/|Security Groups]] and [[https://iad2.dreamcompute.com/project/key_pairs/|Key Pairs]] panels...
     - Create a new Security Group ruleset.  Add rules to open the desired ports, including port 22 for ssh.  For example, to open port 22 use parameters: Custom TCP Rule, Ingress, Port 22, Remote CIDR = 0.0.0.0/0.     - Create a new Security Group ruleset.  Add rules to open the desired ports, including port 22 for ssh.  For example, to open port 22 use parameters: Custom TCP Rule, Ingress, Port 22, Remote CIDR = 0.0.0.0/0.
     - Create a Key Pair, download the public key (e.g., ''cloud.pem''), and put it in the home server ''~/.ssh'' directory.     - Create a Key Pair, download the public key (e.g., ''cloud.pem''), and put it in the home server ''~/.ssh'' directory.
Line 27: Line 27:
 RemoteForward *:9999 192.168.1.192:2222 RemoteForward *:9999 192.168.1.192:2222
 </code> </code>
-  - Manually ssh to remote host, before using autossh, to set entry in known_hosts file.  Then, add this line to crontab:<code>+  - Add this line to crontab:<code>
 @reboot autossh -fN tunnel @reboot autossh -fN tunnel
 </code> </code>
tunneling_with_dreamcompute.txt · Last modified: 2022/11/13 07:29 by jtkorb