Hi,
I finish setup pptpd server on ubuntu 9.10.
from /etc/ppp/chap-secrets
Code:
# Secrets for authentication using CHAP
# client server secret IP addresses
ftpuser pptpd secret *
netstat -an
Code:
root@web01:~# netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:587 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:1723 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
tcp 0 0 184.22.xxx.xxx:22 202.75.xxx.xxx:10647 ESTABLISHED
tcp 0 284 184.22.xxx.xxx:22 202.75.xxx.xxx:50094 ESTABLISHED
tcp6 0 0 :::22 :::* LISTEN
udp 0 0 10.8.0.1:123 0.0.0.0:*
udp 0 0 184.22.xxx.xxx:123 0.0.0.0:*
udp 0 0 184.22.xxx.xxx:123 0.0.0.0:*
udp 0 0 127.0.0.1:123 0.0.0.0:*
udp 0 0 0.0.0.0:123 0.0.0.0:*
udp6 0 0 ::1:123 :::*
udp6 0 0 :::123 :::*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ] DGRAM 1819754917 @/org/kernel/udev/u devd
unix 9 [ ] DGRAM 1819755996 /dev/log
unix 2 [ ACC ] STREAM LISTENING 1819757543 /var/run/sendmail/m ta/smcontrol
unix 2 [ ] DGRAM 1823221158
unix 2 [ ] DGRAM 1820649001
unix 2 [ ] DGRAM 1819830845
unix 2 [ ] DGRAM 1819758397
unix 2 [ ] DGRAM 1819757472
unix 2 [ ] DGRAM 1819757091
unix 2 [ ] DGRAM 1819756046
From /var/log/syslog
Code:
May 12 16:50:22 web01 ovpn-server[1506]: TCPv4_SERVER link remote: 202.75.xxx.xxx:52302
May 12 16:50:22 web01 ovpn-server[1506]: 202.75.xxx.xxx:52302 WARNING: Bad encapsulated packet length from peer (5635), which must be > 0 and <= 1544 -- please ensure that --tun-mtu or --link-mtu is equal on both peers -- this condition could also indicate a possible active attack on the TCP link -- [Attempting restart...]
May 12 16:50:22 web01 ovpn-server[1506]: 202.75.xxx.xxx:52302 Connection reset, restarting [0]
May 12 16:50:22 web01 ovpn-server[1506]: 202.75.xxx.xxx:52302 SIGUSR1[soft,connection-reset] received, client-instance restarting
May 12 16:50:22 web01 ovpn-server[1506]: TCP/UDP: Closing socket
May 12 16:50:23 web01 pptpd[1869]: CTRL: Client 202.75.xxx.xxx control connection started
May 12 16:50:23 web01 pptpd[1869]: CTRL: Starting call (launching pppd, opening GRE)
May 12 16:50:23 web01 pppd[1870]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
May 12 16:50:23 web01 pppd[1870]: Couldn't open the /dev/ppp device: Permission denied
May 12 16:51:00 web01 pptpd[1869]: CTRL: Reaping child PPP[1870]
Please assist me.
Thanks.