|
|
Pptp is a Microsoft Windows compatible VPN protocol and can be setup both on the server and client side with ease. Preparation Make sure pptp is installed. If necessary you may need to run yum to install pptp like this... # yum install pptpd Setting up pptpd Edit /etc/pptpd.conf and:
Configuring ppp options Edit /etc/ppp/options.pptpd and:
Your firewall You will need to open tcp port 1723 in your firewall. If you're using etcnet firewalling add the following to "/etc/net/ifaces/default/fw/iptables/filter/INPUT" file... add tcp dst-port 1723 accept Creating VPN users Edit /etc/ppp/chap-secerts and add a user like this... testuser * userpassword 10.0.0.210 Where 10.0.0.210 is the IP address you wish to assign to the pc connecting. If you're using proxy arp this can be an address on your internal LAN which does not clash with another one, or if you're using routing this can be practically anything you want. |
Login |
||||