LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-12-2011, 04:09 AM   #1
newFreeBSD
Member
 
Registered: Mar 2006
Location: Malaysia, Putrajaya
Distribution: CentOS, Ubuntu, Fedora
Posts: 54

Rep: Reputation: 0
PPTPD Server on Ubuntu


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.

Last edited by newFreeBSD; 05-12-2011 at 04:12 AM.
 
Old 05-17-2011, 06:35 AM   #2
Lexus45
Member
 
Registered: Jan 2010
Distribution: Debian, Centos, Ubuntu, Slackware
Posts: 361
Blog Entries: 3

Rep: Reputation: 48
-- delete please my post --

Last edited by Lexus45; 05-17-2011 at 07:01 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux ppp client fails to connect to linux pptpd serve, works with windows vpn server wastingtime Linux - Server 3 09-20-2008 08:13 PM
issues with VPN pptpd server onorua Linux - Networking 1 08-25-2006 03:45 PM
pptpd server and pptp client on the same box - is this possible? acpi Linux - Networking 0 11-30-2005 09:09 AM
pptpd Fedora Core 1 carlg Linux - Distributions 0 07-01-2004 09:56 PM
PopTop (pptpd) server: authenticate against LDAP or User DB? aa_tango Linux - Networking 0 05-26-2004 05:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration