| VPN (Virtual Private Network) Setup Guide |
x2xtreme's Simple Guide to VPN (Virtual Private Networking) Why run vpn? Basically, run vpn if you want to access your network as a local machine from an outside network. VPN issues: The existing VPN pptpd server is very insecure and should only be ran on a needed basis.
To install: (it's easy)
tar xvzf pptpd-*.tgz You shouldn't have to pass any tags to ./configure unless you want to install to a different directory. Default is /usr/local/sbin/pptpd. Add the following lines to /etc/syslog.conf then reboot syslogd.
Daemon.debug /var/log/pptpd.log Create the file /etc/pppd.conf and add the following lines. (xxx represents your subnet ex. 192.168.1)
Speed 115200
Localip xxx.xxx.xxx.234-238
Remoteip xxx.xxx.xxx.234-238
Add users with /etc/chap-secrets. If you have and existing chap-secrets configuration then just add this line under it. Example /etc/chap-secrets for a user with the login name x2xtreme and password hello
x2xtreme servername hello *
Firewall Configuration: Add /usr/local/sbin/pptpd to /etc/rc.d/rc.local if you want it to load on boot. Windows 9x configuration..Ewww don't want to get into that. Refer here. http://poptop.lineo.com/win98.html Windows 2k/XP configuration made EZ. Start Menu>Network and Dailup connections>Make new connection Use to wizard. Click the radio button "Connect to private network through internet. The next question is strictly up to you. I selected "do not dail the initial connection" Destination Address: Enter the IP or hostname of the machine you just setup with PPTPD. The rest of the answers really doesn't matter, it's a personal preferance. Now that the windows VPN profile is setup you will need to open it and go to properties>networking> Click on the settings tab for PPTP and, uncheck Enable LCP extentions. If you don't do this you will get a CTL error on connect and it will kill the connection. That's it. Enter your username and password and click on connect. The route is set automatically. All xxx.xxx.xxx.0 traffic goes across the VPN interface and, all other are routed to the primary net device connection. Having trouble? Got questions? Require further assistance? If so please feel free to visit our Help Forums and ask the experts! |
|
Copyright © 1997 - 2013 Private World Domination Inc. All rights reserved. |
|