vpn

Pseudo VPN Using SSH and X Forwarding

If you do not have a VPN setup, but you can connect to a gateway machine via ssh, then you can setup a pseudo VPN solution in the following manner. Use X forwarding when establishing your ssh connection, throw in a -C for compression to speed things up a little. An example: ssh -X -C user@gateway Now that you issued the -X option, any application you launch via the ssh terminal connection will have its X display information shown on the client computer, not the host. For instance, if you launch Firefox, it will open on your local machine. Doing so you can browse the web, and all traffic is sent and received from the host machine. :)

Ubuntu VPN Using Network Manager

If you already have your JanusVM working with your iPhone, you can quickly setup your Ubuntu Laptop to use the VPN also. Give a quick sudo apt-get install network-manager-pptp and viola network manager now supports pptp configuration. Give a reboot, and you can configure the settings. I was having a little trouble with the configuration at first, because I was accustomed to the automatic configuration of the iPhone. In the settings you want to enable peer authentication, and refuse chap. Also I had to disable compression otherwise authentication was failing. Then enable all three encryption options. Save, exit, attempt to connect. Enter the username and password you configured in JanusVM and you should connect just fine :)

Instant iPhone VPN

I highly recommend JanusVM for your iPhone VPN solution. Janus incorporates squid, tor, and privoxy providing much more than just a VPN. Squid is a proxy server, which will speed up your connection slightly. Tor is a network of servers around the world that will scramble your network traffic so its practically impossible to track who or where you are. And privoxy will strip all sensitive data from your website browsing to further improve your wireless security. Obviously the VPN part of Janus will allow your iPhone to have a secure connection to the internet, so you can access wifi anywhere without fear of anything!!! The best part is JanusVM is that it’s completely free. I highly recommend donating a little money if you have it. The author of the software is providing a great service to the open source community, and now allows iPhone users to have a secure, reliable, and instant VPN solution! http://janusvm.peertech.org/ Just pop JanusVM into a VirtualBox machine, and setup host networking to grab an external ip address. Configure your iphone to access your external ip address, the associated pptp port (port 1723), and viola your VPN should be up and running in about 15 minutes worth of configuration :) In the future I will post a graphical tutorial on this, but for now try searching this blog, in the upper right hand corner, for more information about setting up virtual machines and configuring host networking.

I Love Virtualization

Virtualization is simply the coolest. I currently have 4 linux servers running. I consolidate my mail server in my web server, which takes one virtual machine. Another virtual machine is running a file server. The third is running a VPN for my iPhone. And the last server is running Nagios to monitor the uptime of all my servers. In addition I am concurrently running Windows XP for a program that graphically monitors the visitors to my websites. In the end I am only consuming about 1.5 Gigabytes of ram after all the virtual machines have fully loaded. I can have many many many more virtual machines, given that I have 5 Gigabytes of ram on my PC. This is power. Virtualization is power. The potential is incredible. Not to mention I have 3 hard drives in raid1 to ensure system stability in the case of hardware failure. I am going to set up the following: I want a 4′th hard drive, which I am going to connect via an external SATA port. They call these ports ESATA, which could have been seen a mile away. I am still debating weather to sync the drive via raid, or via rsync. A raid sync will be seamless, whereas rsync will probably consume some computing power. Also if something happens to the software on my PC the raid will copy the corruptions to the backup drive. Using rsync manually would most likely avoid copying corrupted data.