Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was setting up a VPN server at home last night and I thought I got it working (I could connect to it with the VPN client while I was on the same LAN segment). When I brought the same laptop to work this morning and tried to connect to it again I was unable to. I was thinking that possibly I have something not set correctly in my firewall, but when I did a default forward (all ports by default get forwarded to my VPN server) I was still unable to connect.
Here is what my message log looks like:
Mar 19 13:36:39 SUSE pptpd[5070]: MGR: Launching /usr/sbin/pptpctrl to handle client
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: local address = 192.168.0.2
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: remote address = 192.168.1.2
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: Client 32.97.110.142 control connection started
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: Received PPTP Control Message (type: 1)
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: Made a START CTRL CONN RPLY packet
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: I wrote 156 bytes to the client.
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: Sent packet to client
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: Received PPTP Control Message (type: 7)
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: 0 min_bps, 1525 max_bps, 32 window size
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: Made a OUT CALL RPLY packet
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: Starting call (launching pppd, opening GRE)
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: pty_fd = 4
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: tty_fd = 5
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: I wrote 32 bytes to the client.
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: Sent packet to client
Mar 19 13:36:39 SUSE pptpd[5071]: CTRL (PPPD Launcher): Connection speed = 115200
Mar 19 13:36:39 SUSE pptpd[5071]: CTRL (PPPD Launcher): local address = 192.168.0.2
Mar 19 13:36:39 SUSE pptpd[5071]: CTRL (PPPD Launcher): remote address = 192.168.1.2
Mar 19 13:36:39 SUSE pppd[5071]: pppd 2.4.1 started by root, uid 0
Mar 19 13:36:39 SUSE pppd[5071]: Using interface ppp0
Mar 19 13:36:39 SUSE pppd[5071]: Connect: ppp0 <--> /dev/pts/0
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: Received PPTP Control Message (type: 15)
Mar 19 13:36:39 SUSE pptpd[5070]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Mar 19 13:37:16 SUSE pptpd[5070]: CTRL: Received PPTP Control Message (type: 12)
Mar 19 13:37:16 SUSE pptpd[5070]: CTRL: Made a CALL DISCONNECT RPLY packet
Mar 19 13:37:16 SUSE pptpd[5070]: CTRL: Received CALL CLR request (closing call)
Mar 19 13:37:16 SUSE pptpd[5070]: CTRL: I wrote 148 bytes to the client.
Mar 19 13:37:16 SUSE pptpd[5070]: CTRL: Sent packet to client
Mar 19 13:37:16 SUSE pppd[5071]: Modem hangup
Mar 19 13:37:16 SUSE pppd[5071]: Connection terminated.
Mar 19 13:37:16 SUSE pppd[5071]: Exit.
Mar 19 13:37:16 SUSE pptpd[5070]: GRE: read error: Bad file descriptor
Mar 19 13:37:16 SUSE pptpd[5070]: CTRL: PTY read or GRE write failed (pty,gre)=(-1,-1)
Mar 19 13:37:16 SUSE pptpd[5070]: CTRL: Client 32.97.110.142 control connection finished
Mar 19 13:37:16 SUSE pptpd[5070]: CTRL: Exiting now
Mar 19 13:37:16 SUSE pptpd[2680]: MGR: Reaped child 5070
Does this look correct to anyone?
Did I do something wrong?
I think I'm almost there, but I need a little push to help me with the last couple steps.
Hi:
We are getting the same problem with the pptp. Then we thought may be it was the SuSE 9 problem then we got SuSE 9.1 installed but still we are getting the same problem. I am really interested to know if you were able to fix the problem. If you could tell me it would be really great.
regards
Chethan Channappa
My problem is a bit different. I have this error message :
Feb 7 20:34:09 Debian pptpd[20888]: MGR: Launching /usr/sbin/pptpctrl to handle client
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: local address = 192.168.1.100
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: remote address = 192.168.1.101
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: pppd options file = /etc/ppp/pptpd-options
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: Client 81.105.140.150 control connection started
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: Received PPTP Control Message (type: 1)
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: Made a START CTRL CONN RPLY packet
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: I wrote 156 bytes to the client.
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: Sent packet to client
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: Received PPTP Control Message (type: 7)
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: Set parameters to 100000000 maxbps, 64 window size
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: Made a OUT CALL RPLY packet
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: Starting call (launching pppd, opening GRE)
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: pty_fd = 6
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: tty_fd = 7
Feb 7 20:34:09 Debian pptpd[20889]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
Feb 7 20:34:09 Debian pptpd[20889]: CTRL (PPPD Launcher): local address = 192.168.4.100
Feb 7 20:34:09 Debian pptpd[20889]: CTRL (PPPD Launcher): remote address = 192.168.4.101
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: I wrote 32 bytes to the client.
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: Sent packet to client
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: Received PPTP Control Message (type: 15)
Feb 7 20:34:09 Debian pptpd[20888]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Feb 7 20:34:39 Debian pptpd[20888]: GRE: read(fd=6,buffer=80507e0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Feb 7 20:34:39 Debian pptpd[20888]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Feb 7 20:34:39 Debian pptpd[20888]: CTRL: Reaping child PPP[20889]
Feb 7 20:34:39 Debian pptpd[20888]: CTRL: Client 81.105.140.150 control connection finished
Feb 7 20:34:39 Debian pptpd[20888]: CTRL: Exiting now
Feb 7 20:34:39 Debian pptpd[20784]: MGR: Reaped child 20888
It works on the LAN, doesn't work from Internet. My iptables rules :
iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.