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
Last revisionBoth sides next revision
tunneling_with_dreamcompute [2022/11/13 07:14] – Add duckdns.org possibility jtkorbtunneling_with_dreamcompute [2022/11/13 07:27] jtkorb
Line 4: Line 4:
  
   - At the DreamCompute [[https://iad2.dreamcompute.com/project/security_groups/|Security Groups]] and [[https://iad2.dreamcompute.com/project/key_pairs/|Key Pairs]] panels...   - 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 and some random port (say, 1234) for remote access.  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 and some random port (say, 1234) for remote access to the home server.  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 private key (e.g., ''cloud.pem''), and put it in the home server ''~/.ssh'' directory.     - Create a Key Pair, download the private key (e.g., ''cloud.pem''), and put it in the home server ''~/.ssh'' directory.
   - At the DreamCompute [[https://iad2.dreamcompute.com/project/instances|Instances]] panel, launch a new instance (Boot Source Image Ubuntu 16.04, Flavor gp1.subsonic), selecting the newly created Security Group and Key Pair.   - At the DreamCompute [[https://iad2.dreamcompute.com/project/instances|Instances]] panel, launch a new instance (Boot Source Image Ubuntu 16.04, Flavor gp1.subsonic), selecting the newly created Security Group and Key Pair.
   - Create an A-type DNS record for the DreamCompute IP address with a name like ''casa.example.com'' (Alternative: Use duckdns.org to create a public domain name.)   - Create an A-type DNS record for the DreamCompute IP address with a name like ''casa.example.com'' (Alternative: Use duckdns.org to create a public domain name.)
-  - Using ssh from home machine, connect to Dreamhost instance (e.g., ''ssh -i .ssh/cloud.pem ubuntu@casa.example.com'').  Edit ''/etc/ssh/sshd_config'' and add this configuration information at the end (assuming default user is ''ubuntu''):<code>+  - Using ssh from home machine, connect to Dreamhost instance (e.g., ''ssh -i .ssh/cloud.pem ubuntu@casa.example.com'').  Edit ''/etc/ssh/sshd_config'' and add this configuration information at the end (assuming default user is ''ubuntu'' and home server ssh port is 1234):<code>
 ClientAliveInterval 30 ClientAliveInterval 30
 ClientAliveCountMax 3 ClientAliveCountMax 3
tunneling_with_dreamcompute.txt · Last modified: 2022/11/13 07:29 by jtkorb