User Tools

Site Tools


Writing /app/www/public/data/meta/toolsandtechnologies/tunnel.meta failed
toolsandtechnologies:tunnel

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
toolsandtechnologies:tunnel [2018/09/14 11:21] ccarewtoolsandtechnologies:tunnel [2021/06/25 10:09] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Tunnel through a server ======
 + --- //[[colm.carew@errigal.com|Colm Carew]] 2018/09/14 03:08//
 +
 +**PLEASE ONLY DO THIS IF THE VPN CERT IS NOT WORKING/VPN SERVER IS DOWN**
 +
 +The DNS will not work in local terminals (will work for remote terminals) or in the browser!
 +
 +The purpose of this is to give pseudo VPN access in Firefox so that Firefox will be able to reach internal server URLs.
 +
 +There are Chrome plugins for this but they can be intermittent and often stop working with Chrome updates.
 +
 +In Ireland we have Comeragh : 212.17.60.121
 +
 +In the US we have Hermes : 65.74.172.42
 +
 +===== Initial Setup with Firefox =====
 +  - Download and install Firefox if you have not already
 +  - Open Firexfox and in the URL enter `about:config`
 +  - Accept any warnings if given any
 +  - Look for `network.proxy.socks_version` and set this to be `4`
 +  - Look for `network.proxy.socks` and set this to be `127.0.0.1`
 +  - Look for `network.proxy.socks_port` and set this to be `2001`
 +  - This sets up the ability to tunnel but does not enable it so once this is set up you will not have to do this setup again
 +
 +===== Enable and Testing =====
 +  - In a terminal ssh to one of the servers `ssh -D 2001 scotty@212.17.60.121` or `ssh -D 2001 scotty@65.74.172.42` - make sure to enter the password or have SSH key set up
 +  - In Firefox google `what is my IP`
 +  - Go to `about:config`
 +  - Look for `network.proxy.type` and set this to `1`
 +  - Search `what is my IP` again and this time it should be the public IP of the server you SSHed to
 +  - Firefox will not resolve anything if there is no live ssh connection
 +  - To disable this just set `network.proxy.type` to `0`
 +
 +===== SSH to other servers =====
 +  - In a terminal : `ssh scotty@212.17.60.121` or `ssh scotty@65.74.172.42`
 +  - From this terminal you should then be able to ssh to whatever other server you need
 +
 +