Linux VPN research

VPN allows you to set up a secure connection to a network.  It consists of the server and the client.  The server can be established through downloading PPTP VPN from the debian repositories.

Server Configuration
sudo apt-get install pptpd
sudo nano /etc/pptpd.conf
Add these lines
#ip for the server
localip 192.168.22.33
#ips to be assigned to the clients
remoteip 192.168.22.100-200
#enable IP forwarding
net.ipv4.ip_forward = 1
Edit the /etc/ppp/chap-secrets file to add client accounts
#the asterisk allows a connection from an anonymous IP
jim pptpd password *
bob pptpd password *
#the only downside is that the passwords are stored in plain text

Client
The cool thing is that android phones already have a VPN client. However your Android will be required to carry stronger security beyond swipe if it is to cache the credentials. Clients of course can also be other computers. With IP forwarding on the server you can use your VPN server as a proxy.

Comments

Popular Posts