vpn
Pseudo VPN Using SSH and X Forwarding
Mar 13th
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
Mar 13th
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
iPhone Settings Rundown – Instant VPN Configuration
Mar 8th
iPhone Configuration Step 1: Click the settings button Step 2: Click the general options menu Step 3: Click the network menu Step 4: Click the VPN menu Step 5: Click the settings menu JanusVM works with PPTP, therefore use this tab. In the server section add the external ip address of your home machine. If you have a domain name pointing to your external ip address you can also enter that here. If you have a router you will have to use “port forwarding” to forward port 1723 to the ip address of the local machine running JanusVM. In JanusVM option 4 allows you to create users, and passwords. Configure JanusVM according to your liking. Back to the iPhone. Step 6: In the account section add the username that you configure in option 4 of JanusVM Step 7: For “RSA SecurID” turn it off. Step 8: In the password section add the password you set in option 4 of JanusVM Step 9: JanusVM requires your iPhone encryption level to be set to “maximum” Step 10: Set your iPhone to “send all traffic” through the VPN Remeber, to configure JanusVM you will actually have to boot the virtual machine first. The list of option are automatically displayed once fully booted. I recommend using a static local ip address; if you choose dynamic you will most likely get a different ip address each time you boot JanusVM. This will be a pain, because you will have to adjust the “port forwarding” option in your router as per the local ip address of your JanusVM instance. If anyone has any questions just post a commend. I’ll help get you running ASAP.
Instant iPhone VPN
Mar 2nd
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
Mar 2nd
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.