I have followed the instruction here to setup PPTPD
https://wiki.archlinux.org/index.php/PPTP_Server
But after everything I keep getting the below errors
$this->bbcode_second_pass_code('', ':: Starting PPTP Daemon [FAIL]')
$this->bbcode_second_pass_code('', 'rc.d stop pptpd
:: Stopping PPTP Daemon [BUSY]
cat: /var/run/pptpd.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] ')
Here are my files
$this->bbcode_second_pass_code('', '
/etc/ppp/pptpd-options
name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
proxyarp
lock
nobsdcomp
novj
novjccomp
nologfd
ms-dns 192.168.1.1 [u][i](What should this value be ?)[/i][/u]
ms-dns 75.75.76.76 [u][i](this is the secondary DNS I got from ipconfig)[/i][/u]
')
$this->bbcode_second_pass_code('', '
/etc/pptpd.conf
option /etc/ppp/pptpd-options
localip 192.168.0.1 [u][i](I am not sure of these values )[/i][/u]
remoteip 192.168.0.234-238, 192.168.0.245 [u][i]( I am not sure of these values )[/i][/u]
logtwp
')
$this->bbcode_second_pass_code('', '
saved this in /etc/rc.d/iptables
iptables -A INPUT -p tcp --dport 1723 -j ACCEPT
iptables -A INPUT -p 47 -j ACCEPT
iptables -A OUTPUT -p 47 -j ACCEPT
iptables -F FORWARD
iptables -A FORWARD -j ACCEPT
iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE
iptables -A POSTROUTING -t nat -o ppp+ -j MASQUERADE
exit 0
')
I do not understand what I am doing wrong
Please advise