These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Eve through hamachi SSH tunnel.

Author
Phoenix Jones
Small-Arms Fire
#1 - 2012-04-18 19:59:22 UTC
Seems there is no clear location for this, so I will put it here.

I had the unique situation where I wanted to network my laptop to use my home pc as a type of proxy, but my home pc was on a dynamic IP. So I decided to try to figure out how to network both of them together without having to setup my home pc to be a server or assigning it to be a dns, and then get EVE to tunnel through my laptop, through the interwebs, to my home pc in a encrypted manner, to EVE's servers.

The programs you will need

1) Hamach
2) Freesshd (install on home pc
3) putty ( on laptop

Hamachi

1) install Hamachi on both pc's, setup a network connection (very easy, password protect it)

2) put both pc's on the hamachi network, it will be your interface between the 2 clients, and your eve client (basically this bypasses having to setup a domain for your pc, and also gives you an encrypted tunnel between the two pc's. We are just going to increase that using SSH.

Freesshd

1) Install Freesshd on your home pc. Run as a service. When it is up. Click on SSH tab. Put the listen address as the Hamachi server (it should show in the dropdown menu). If you look at the hamachi program, it will be the address it has assigned your remote pc (or the pc freesshd is installed on.

2) Change the port to Anything but what it currently is. I put 13000 as my port. Just pick some random number above 10000.

3) Max connections, 1 (you can put more, but 1 is enough, its just you, you can set it to 2 if you expect to use another PC at some point, or want your friend to use your pc as a proxy/ssh point)

4) click "start ssh server on freesshd startup. If it gives you an error, either you are pointing to the wrong ip address, or you are using a port that is taken, change the port (had it set to default 23, which was not working, changed the port to 13000, and it started).

5) Go to Users. Add in a Login ID and a password, allow shell, sftp and tunnel

6) Go to Server Status, Make sure SSH server is running. click on SSH server is Running, it should be, if not, restart it. Once the SSH server is running, you should be good


Install Putty on your laptop

1) in the Session tab, host name (or Ip address) is the IP address of the remote pc on the hamachi server (the IP you put into Freesshd. Port should be the port you picked on freesshd (in this case, 13000). In putty, Connection type is SS

2) in connections,- ssh- Tunnels, Source port is 26000, destination is 87.237.38.200. Click add.

3) go back to sessions, under saved sessions, type eve, click save. Then click OPEN

4) putty will ask for the username (which is the username you put into freesshd, and the password. Then you should get a dos prompt C:\users\<>\Desktop. Minimize this

You now have a encrypted tunnel going from your laptop, and using hamachi as the tunnel to your home pc, which is now essentially a proxy for Eve


Eve online settings

1) in windows 7, go to C:\Users\\AppData\Local\CCP\EVE\ the appdata folder is hidden, so type it out in the url

2) Go to CCP/eve/<>ccp_eve_tranquility/settings/prefs.ini. Open the ini file.

3) add these lines to the INI file on the top.
networkAdvanced=
server=localhos


4) save the INI file

start Eve

Eve should say
Server (localhost
Status (OK





Yaay!!!!