How to create a VPN for secure web browsing using Hamachi.


Do you feel insecure when browsing the internet over an open unsecured wireless access point?  

83 members have voted

  1. 1. Do you feel insecure when browsing the internet over an open unsecured wireless access point?

    • Yes
      52
    • No
      31


Recommended Posts

How to create a VPN for secure web browsing using Hamachi.

Do you feel insecure when browsing the internet over an open unsecured wireless access point? Well some people do, myself included. In this guide I will explain how to create a VPN for web browsing using Hamachi in combination with privoxy.

For this to work its best to use a computer that is always turned on and never goes to sleep. I prefer setting it up on an old low end computer that you just put in a corner and forget about. (except for installing updates on of course)

Step 1: Installing Hamachi

Go to the following address http://files.hamachi.cc/HamachiSetup-1.0.3.0-en.exe to download and install hamachi. They have a paid version and a free version. For what we need it for, the free version will work just fine. During the install tell hamachi to start with windows.

Step 2: Creating a new Hamachi network.
This will be the account that your laptop will connect to.

1) Click the triangle icon in the bottom right of hamachi.
2) Click "Create a new network"
3) Type in a network name. For the password I'd recommend going to https://www.grc.com/passwords.htm. On the page are 3 different sets of 64 character passwords. Every time you refresh the page a new set will be generated. Copy and paste one into the password field of hamachi. I'd also recommend you paste the same password into notepad and save it so you can copy and paste it later to connect to this account.

Hamachi is now ready to go. Next we will setup the proxy server portion. For this guide we will be using privoxy http://www.privoxy.org/. I'm sure there are other ones that will work too, but this one is free and it gets the job done.

Step 3: Setting up and configuring privoxy.

1) Download and install privoxy from http://www.privoxy.org/. You'll also want to put a copy of the privoxy icon in your startup folder.
2) Launch the application
3) Click Options / Edit Main Configuration. This will open up a notepad document. Search the document for "listen-address 127.0.0.1:8118. You want the one that does not have an asterisk in front of it. Replace the 127.0.0.1 with the 5.x.x.x number that is displayed on the top of hamachi.
4) Exit and save the document. You may have to restart the application for the change to take in effect.

Step 4: Setting up the VPN on your laptop.

1) Install hamachi on your laptop and create another new account.
2) Click the triangle in the bottom right of hamachi. This time choose "join an existing network".
3) Type in the name and password of the server you created in step 1 #3. Copying and pasting the password usually works the best.

Step 4: Setting up your web browsers to feel the proxy love.

This step is pretty simple. Go into the proxy options of your web browser. When it asks for an IP address give it the hamachi IP address of the server. When it wants a port number give it 8118.

That's it. You're done! Now when you are in a public access point and connected to hamachi all your web browsing traffic should be encrypted. Now lets test it to see if everything is working. Open the web browser that you just configured to go through a proxy server. Go to a website that displays your internet IP. If everything is working you should get the IP of your internet connection at home. Of course if you are testing this at home, it really won't do much good. You could always mooch off someones wireless access point just long enough to see which IP the site is giving you.

Note: Just remember if you have multiple web browsers on your computer, only the ones with their proxy settings configured will be encrypted.

Edited by warwagon
^ yeah lots of people are not aware of how to circumvent browsing policies at work or school.. This is a great guide on how to do exactly that.

This _mostly_ won't work for circumvention if the network and policies are set up properly, and I don't think the guide is meant as such. It's a way to safe surf encrypted in a public environment.

^ yeah lots of people are not aware of how to circumvent browsing policies at work or school.. This is a great guide on how to do exactly that.

My intent in writing this guide was to give people (like shockz) a more secure way of browsing the internet on an unsecured wireless network. (Example: Starbucks or the local hospital) Nothing more. I hadn't even thought of the workplace and school ramifications. What workplace or school allows 3rd party installation of programs like Himachi? They have a lot larger problem if they are that unsecured.

Edited by warwagon

im pretty sure you need admin rights to install hamachi because it installs a driver. most schools wont let you do that type of thing, probably :p

nice guide tho, although i find hamachi a bit slow sometimes, i just use putty and stunnel (takes a bit more setting up though :p )

im pretty sure you need admin rights to install hamachi because it installs a driver. most schools wont let you do that type of thing, probably :p

nice guide tho, although i find hamachi a bit slow sometimes, i just use putty and stunnel (takes a bit more setting up though :p )

ya this one is pretty much, click click type type and done. Only reason I didn't port forward some ports in from the router instead of using hamachi is, I don't like to have to open ports on my server if I don't have to. because even if you couldn't install hamachi you could always port forward 8118 on your server. Then just use your IP address assuming it doesn't change. Though the school really should have all the ports locked down other than whats needed like port 80.

  • 2 weeks later...
My intent in writing this guide was to give people (like shockz) a more secure way of browsing the internet on an unsecured wireless network. (Example: Starbucks or the local hospital) Nothing more. I hadn't even thought of the workplace and school ramifications. What workplace or school allows 3rd party installation of programs like Himachi? They have a lot larger problem if they are that unsecured.

with Putty you can set up a tunnel and in firefox set it to use the tunnel (proxy settings). Both these programs can be used without having to install them

  • 1 month later...
  • 2 months later...
  • 4 weeks later...
  • 1 year later...

Do I need to forward port 8118 to get this to work outside?

Not if you connect via hamachi. Once connected with hamachi it's like both computers are on the same internal lan.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Weekend PC Game Deals: Anno 117, Final Fantasy VII, Rematch, and more by Pulasthi Ariyasinghe Weekend PC Game Deals is where the hottest gaming deals from all over the internet are gathered into one place every week for your consumption. So kick back, relax, and hold on to your wallets. The Epic Games Store's mystery giveaways may have ended, but its regular freebies didn't miss a step this week. The double drop was for copies of Warhammer 40K Speed Freeks and The Ouroboros King. Speed Freeks lands for multiplayer racing fans, but with plenty of competitive shooting elements too. You will be piloting Ork buggies, tanks, and aircraft modeled after the popular tabletop miniatures while trying to complete objectives and pass finish lines. Next, Ouroboros King is a crossover between chess and tactical roguelikes, offering the chance to create your own army with special rules to beat incoming foes on the board. The double giveaway on the Epic Games Store will be available until June 11, and replacing it will be Citizen Sleeper and ROBOBEAT. The Humble Store brought a new charity bundle to check out this week too. Landing with the name The Complete Inkle Library, this is a large collection of interactive narrative puzzle games from the publisher Inkle. This begins with Heaven's Vault, four parts from the Sorcery series, 80 Days, Overboard, and Pendragon: Narrative Tactics within the starting tier for $9. Hopping up a step to the $12 tier gets you TR-49, Expelled, and A Highland Song for paying at least $12. If you go for the $20 tier, you get four e-books from the Heaven's Vault series. The bundle has almost three weeks on its counter before it goes away. Big Deals There is a larger than normal amount of weekend specials happening this time, including multiple publisher deals, franchise discounts, and indie gems to grab. With those and more, here's our hand-picked big deals list for the weekend: Anno 117: Pax Romana – $44.99 on Steam Clair Obscur: Expedition 33 – $39.99 on Steam Timberborn – $27.99 on Steam EARTH DEFENSE FORCE 6 – $26.39 on Steam Rust – $19.99 on Steam FINAL FANTASY VII REBIRTH – $19.99 on Steam Street Fighter 6 – $19.99 on Steam Returnal – $19.79 on Steam Shape of Dreams – $17.49 on Steam Far Cry 6 – $14.99 on Steam Assassin's Creed Valhalla – $14.99 on Steam Quarantine Zone: The Last Check – $14.99 on Steam REMATCH – $14.99 on Steam EA SPORTS FC 26 – $13.99 on Steam FINAL FANTASY VII REMAKE INTERGRADE – $13.99 on Steam Magicraft – $12.79 on Steam Cult of the Lamb – $12.49 on Steam Dying Light 2: Reloaded Edition – $11.99 on Steam Cuphead – $11.99 on Steam Assassin's Creed Odyssey – $11.99 on Steam Hunt: Showdown 1896 – $11.99 on Steam Sektori – $11.99 on Steam Just Shapes & Beats – $11.99 on Steam Gunfire Reborn – $10.99 on Steam 33 Immortals – $9.99 on Epic Store Baby Steps – $9.99 on Steam Sifu – $9.99 on Steam Hearts of Iron IV – $9.99 on Steam DREDGE – $9.99 on Steam DAVE THE DIVER – $9.99 on Steam Pacific Drive – $9.89 on Steam Mycopunk – $9.74 on Steam Sons Of The Forest – $8.99 on Steam Jotunnslayer: Hordes of Hel – $8.99 on Steam Nuclear Throne – $8.99 on Steam Mechabellum – $8.99 on Steam Deep Rock Galactic: Survivor – $8.44 on Steam TerraTech Legion – $7.99 on Steam Inscryption – $7.99 on Steam Assassin's Creed Unity – $7.49 on Steam Minishoot' Adventures – $7.49 on Steam The Stanley Parable – $7.49 on Steam Oxygen Not Included – $7.49 on Steam Megabonk – $6.99 on Steam Look Outside – $5.99 on Steam Vampire Hunters – $5.24 on Steam MOTHERGUNSHIP – $4.99 on Steam My Friend Pedro – $3.99 on Steam The Messenger – $3.99 on Steam Vampire Survivors – $3.74 on Steam Brotato – $2.99 on Steam Enter the Gungeon – $2.99 on Steam Loop Hero – $2.99 on Steam GRIS – $2.99 on Steam Exit the Gungeon – $2.49 on Steam Hitman: Absolution – $1.99 on Steam CARRION – $1.99 on Steam Don't Starve Together – $1.49 on Steam Golf With Your Friends – $1.49 on Steam Hotline Miami – $0.99 on Steam The Ouroboros King – $0 on Epic Store Warhammer 40K Speed Freeks – $0 on Epic Store DRM-free Specials Hopping over to the DRM-free deals, the GOG store has plenty of discounts running this weekend too. Here are some highlights: Fallout 4: Game of the Year Edition - $15.99 on GOG Fallout: New Vegas Ultimate Edition - $9.99 on GOG Disco Elysium - The Final Cut - $9.99 on GOG Crysis - $9.99 on GOG Tyranny - Standard Edition - $7.49 on GOG Frostpunk: Game of the Year Edition - $7.35 on GOG Banished - $6.79 on GOG Fallout 3: Game of the Year Edition - $6.59 on GOG The Forgotten City - $6.25 on GOG The Age of Decadence - $5.99 on GOG SimCity 3000 Unlimited - $4.99 on GOG Assassin's Creed: Director's Cut - $4.99 on GOG SimCity 4 Deluxe Edition - $3.99 on GOG Vampyr - $3.99 on GOG Torchlight II - $3.99 on GOG Deus Ex GOTY Edition - $3.49 on GOG Primordia - $3.09 on GOG Theme Hospital - $2.99 on GOG SimCity 2000 Special Edition - $2.99 on GOG Total Annihilation: Kingdoms + Iron Plague - $2.99 on GOG Deus Ex: Human Revolution - Director’s Cut - $2.99 on GOG Master of Orion 1+2 - $2.39 on GOG Prince of Persia: The Sands of Time - $1.99 on GOG Prince of Persia: Warrior Within - $1.99 on GOG EVERSPACE - $1.99 on GOG Total Annihilation: Commander Pack - $0.99 on GOG Keep in mind that availability and pricing for some deals could vary depending on the region. That's it for our pick of this weekend's PC game deals, and hopefully, some of you have enough self-restraint not to keep adding to your ever-growing backlogs. As always, there are an enormous number of other deals ready and waiting all over the interwebs, as well as on services you may already subscribe to if you comb through them, so keep your eyes open for those, and have a great weekend.
    • When will the Photos app be updated to remember the window size and position when reopened? They addressed this issue in a 2024 version of the app (though I can't recall the build number). Unfortunately, after that specific version, the problem persists! Please prioritise this fix in your K2 schedule. Additionally, the Snipping Tool has lost the ability to capture the Windows Taskbar starting from the 2024 version!
    • Same, never saw it on Android or iOS. Guess only some people got it *shrugs*
    • Anthropic pulls Fable 5 and Mythos 5 after US export control order by Pradeep Viswanathan In April this year, Anthropic launched the Claude Mythos Preview frontier model with state-of-the-art cyber and coding capabilities for a select set of companies around the world. After preparing appropriate guardrails, early this week, Anthropic launched Claude Fable 5 and Mythos 5, its most capable AI models. Claude Fable 5 is for general users and comes with strict safeguards, while Mythos 5 is designed with fewer safeguards for cybersecurity and biology use cases. Today, Anthropic abruptly suspended access to its Fable 5 and Mythos 5 AI models for all customers after receiving an export control directive from the US government. The company received the directive from the government today at 5:21 p.m. ET, and the received letter did not provide any details regarding the national security concern. Anthropic understands that the government became aware of a method to bypass, or “jailbreak,” Fable 5, which might be the reason behind the directive. The order was issued under national security authorities and requires the company to suspend all access to Fable 5 and Mythos 5 by any foreign national, whether they are inside or outside the United States. The restriction also applies to foreign national employees working at Anthropic. As a result, the company has disabled both models for all customers to ensure compliance. Access to previous Anthropic models like Opus and Sonnet is not affected by this government order. The company highlighted that it had developed strong safeguards to reduce the possibility that Fable is misused for tasks related to cybersecurity. In fact, many developers are complaining that the safeguards are going overboard. Additionally, the company worked with the US government, the UK AISI, multiple private third-party organizations, and internal teams to red-team Fable’s safeguards for thousands of hours. Finally, Anthropic noted that no testers have yet been able to find a universal jailbreak on Fable 5. As expected, Anthropic disagrees that a narrow potential jailbreak should lead to the recall of a commercial model used by hundreds of millions of people. It warned that applying this standard across the AI industry could effectively halt new frontier model deployments. Anthropic concluded by mentioning that it is working to restore access to Fable 5 and Mythos 5 as soon as possible and plans to share more details within the next 24 hours.
  • Recent Achievements

    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
    • Dedicated
      jordanspringer earned a badge
      Dedicated
    • Rookie
      Rimplesnort went up a rank
      Rookie
    • One Year In
      Markus94287 earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      503
    2. 2
      +Edouard
      176
    3. 3
      PsYcHoKiLLa
      147
    4. 4
      ATLien_0
      92
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!