tunneling_with_dreamcompute
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tunneling_with_dreamcompute [2017/11/04 05:01] – jtkorb | tunneling_with_dreamcompute [2019/06/14 15:50] – 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:// | + | - At the DreamCompute [[https:// |
- Create a new Security Group ruleset. | - Create a new Security Group ruleset. | ||
- Create a Key Pair, download the public key (e.g., '' | - Create a Key Pair, download the public key (e.g., '' | ||
- At the DreamCompute [[https:// | - At the DreamCompute [[https:// | ||
- Create an A-type DNS record for the DreamCompute IP address with a name like '' | - Create an A-type DNS record for the DreamCompute IP address with a name like '' | ||
- | - Using ssh from home machine, connect to Dreamhost instance (e.g., '' | + | - Using ssh from home machine, connect to Dreamhost instance (e.g., '' |
ClientAliveInterval 30 | ClientAliveInterval 30 | ||
ClientAliveCountMax 3 | ClientAliveCountMax 3 | ||
Line 14: | Line 14: | ||
Match User ubuntu | Match User ubuntu | ||
GatewayPorts yes | GatewayPorts yes | ||
- | </ | + | </ |
- While connected to the Dreamhost instance, do '' | - While connected to the Dreamhost instance, do '' | ||
- On home server, create a '' | - On home server, create a '' | ||
Line 27: | Line 27: | ||
RemoteForward *:9999 192.168.1.192: | RemoteForward *:9999 192.168.1.192: | ||
</ | </ | ||
- | - Manually ssh to remote host, before using autossh, to set entry in known_hosts file. Then, add this line to crontab:< | + | - Add this line to crontab:< |
@reboot autossh -fN tunnel | @reboot autossh -fN tunnel | ||
</ | </ |
tunneling_with_dreamcompute.txt · Last modified: 2022/11/13 07:29 by jtkorb