I recently installed a VPN Server (POPTOP) on CentOS 5.
http://poptop.org/
I googled on so many sites to help me install
and configure poptop to serve my needs on VPN.
First we need to configure the repo for poptop.
We need to edit some config files. You can check poptop documentation here.
1. Backup the original /etc/pptpd.conf
4. Backup the original /etc/ppp/options.pptpd
If it does not exist then skip this step.
Code:
6. Edit /etc/ppp/chap-secrets
Code:
7. Start the pptpd service
user@localhost:~$ service pptpd start
or
user@localhost:~$ /usr/sbin/pptpd start
http://poptop.org/
I googled on so many sites to help me install
and configure poptop to serve my needs on VPN.
First we need to configure the repo for poptop.
Then, copy and paste this code to "poptop.repo"user@localhost:~$ suuser@localhost:~$cd /etc/yum.repos.d/user@localhost:~$vi poptop.repo
Install poptop[poptop]
name=poptop CentOS
baseurl=http://poptop.sourceforge.net/yum/stable/rhel5/i386/
gpgcheck=1
gpgkey=http://poptop.sourceforge.net/yum/RPM-GPG-KEY-PPTP
enabled=1
priority=30
user@localhost:~$ yum install pptpdThe fun start here.
We need to edit some config files. You can check poptop documentation here.
1. Backup the original /etc/pptpd.conf
user@localhost:~$ cp /etc/pptpd.conf /etc/pptpd.conf.orig2. Create a new /etc/pptpd.conf
user@localhost:~$ touch /etc/pptpd.conf3. Copy the code below to /etc/pptpd.conf
vi /etc/pptpd.confCode:
option /etc/ppp/options.pptpd
localip 192.168.0.1
remoteip 192.168.0.234-238
If it does not exist then skip this step.
user@localhost:~$ cp /etc/ppp/options.pptpd /etc/ppp/options.pptpd.orig5. Create a new /etc/ppp/options.pptpd
Code:
name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
mppe-stateful
ms-dns 192.168.0.1
mtu 1464
mru 1464
lock
nobsdcomp
Code:
client server secret IP address
user pptpd mypassword 192.168.0.2
user2 pptpd mypassword2 192.168.0.3
user@localhost:~$ service pptpd start
or
user@localhost:~$ /usr/sbin/pptpd start
Notes:
1. Remember to configure your firewall to accept TCP packets on port 1723.
2. If you encounter problems, always check the log messages on /var/log/messages.
There are lots of information there that you could use to troubleshoot your installation.
3. If you are connecting Windows 7 / Windows Vista Clients on the VPN Server, uncheck the IPv6
on the Networking tab on your VPN connection. Works for me! Hope it does to for you.
1. Remember to configure your firewall to accept TCP packets on port 1723.
2. If you encounter problems, always check the log messages on /var/log/messages.
There are lots of information there that you could use to troubleshoot your installation.
3. If you are connecting Windows 7 / Windows Vista Clients on the VPN Server, uncheck the IPv6
on the Networking tab on your VPN connection. Works for me! Hope it does to for you.
Every weekend i used to visit this website, as i want enjoyment, since this this website conations actually pleasant funny information too. Feel free to visit my page;
ReplyDeleteVPN provider