Sinisterly
Secure Web Access - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Hacking (https://sinister.ly/Forum-Hacking)
+--- Forum: Network Hacking (https://sinister.ly/Forum-Network-Hacking)
+--- Thread: Secure Web Access (/Thread-Secure-Web-Access)



Secure Web Access - Eclipse - 09-27-2014

[Image: res0pij.png]

Secure Internet Access


This guide will teach you how to get secure encrypted internet access in places such as coffee shops etc. How this works is that you either buy a VPS or you host an SSH server on your home router; we'll be concentrating on the latter in this tutorial.

Prerequisites:
  • Putty
  • A SOCKS compatable application; i.e. a web browser.
  • A router running Tomato or DD-WRT firmware. (Install this in your own time.)

First, download and extract the Full Putty Pack.

Go to Key > Generate Key and make your mouse participate in an orgy. Then enter a strong password and click save private key. Store the public key somewhere for now.

If you're going to be using multiple devices with the SSH server, generate separate keys for each and store them somewhere.

Now you need to configure the server on your router. Navigate to your default gateway in your browser and login. Go to Administration >SSH Daemon and check remote access and Enable at Startup. Also, uncheck password login. Paste the public key/s you generated into the Authorized Keys; each one separated with a line break. Click Start Now and save.

Open Putty (Or any other SSH client) on the one of the systems you created a key for. Make sure you have one of the private key files. Set the ip to your IP and the port to 2222 (Or whatever you set as the remote port in your router). Connection type should be SSH; set a session name if you want. Go to connection > auth and browse for your private key file.

Go to SSH > Tunnels and check both boxes under port forwarding. Source port: 80 Destination: Your router's IP. Check auto and dynamic and click add. Save the profile.

Click open to connect. At the login prompt, type root and for the password type the secure one you created earlier. You can set auto-login under Connect –> Data –> Auto Login but I don't recommend it.

Open Firefox options > advanced > settings > connection settings > manual proxy configuration. Set the SOCKS host to 127.0.0.1 and the port to 80.

Type about:config in the address bar (Only for Firefox) and set network.proxy.socks_remote_dns to true.

Congratulations, it's all set. Please note that you only need to use this when you're out, not while at home. Also, you can buy an SSH server instead of setting one up.

Eclipse