I’ve recently setup a new home linux server to act as an email, media and development server, the final piece of the puzzle was to setup relatively secure remote access which can be connected to easily from anywhere – My preferred method for this is using a PPTP VPN.
I’ve configured several servers with PPTP support, but I always lose the link to the distro specific downloads, so future reference here they are http://poptop.sourceforge.net/yum/stable/packages/
If your looking for a good tutorial on configuring PPTPD on Centos 5, check out this tutorial by Win Loon.
Glad that you learn from my tutorial.
I follow everithing but can’t start the service.
i’m on CENOS 5 (trixbox)
[server/]# uname -a
Linux server 2.6.18-92.1.18.el5 #1 SMP Wed Nov 12 09:30:27 EST 2008 i686 i686 i386 GNU/Linux
[server/]# modprobe ppp-compress-18 && echo ok
ok
[server /]#
SERVER /]# service pptpd start
pptpd: unrecognized service
server /]# cd etc/ppp/
[server ppp]#
[server ppp]# ls -ls
total 104
4 -rw——- 1 root root 115 Jun 28 02:34 chap-secrets
8 -rw-r–r– 1 root root 1042 Jan 7 2007 firewall-masq
8 -rw-r–r– 1 root root 913 Jan 7 2007 firewall-standalone
4 -rw-r–r– 1 root root 0 May 24 2008 ioptions
8 -rwxr-xr-x 1 root root 386 Sep 24 2008 ip-down
8 -rwxr-xr-x 1 root root 3485 Sep 24 2008 ip-down.ipv6to4
8 -rwxr-xr-x 1 root root 430 Sep 24 2008 ip-up
12 -rwxr-xr-x 1 root root 6687 Sep 24 2008 ip-up.ipv6to4
8 -rwxr-xr-x 1 root root 1916 Sep 24 2008 ipv6-down
8 -rwxr-xr-x 1 root root 3369 Sep 24 2008 ipv6-up
4 -rw-r–r– 1 root root 5 Jan 21 05:27 options
4 -rw-r–r– 1 root root 128 Jun 28 02:30 options.pptp
4 -rw——- 1 root root 77 Jan 21 05:27 pap-secrets
8 drwxr-xr-x 3 root root 4096 Jun 11 22:31 peers
8 -rw-r–r– 1 root root 104 Jan 7 2007 pppoe-server-options
PLEASE HELP ME Why i can’t start the service ?? Thanks
Try running ‘/etc/init.d/pptpd start’. if that doesn’t work then the startup file is missing, the most likely cause is the RPM has not installing correctly.
Sorry I can’t help any further, but shortly after configuring the PPTP on CentOS the server crashed and I decided to migrate to Ubuntu.
Good luck with it.