LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-19-2004, 01:54 PM   #1
Coldmiser
Member
 
Registered: Sep 2003
Location: Chicago
Distribution: Ubuntu
Posts: 36

Rep: Reputation: 15
Unhappy VPN on SuSE 9


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.

Thanks
 
Old 08-01-2004, 06:32 PM   #2
dotc
LQ Newbie
 
Registered: May 2004
Location: Dallas
Posts: 14

Rep: Reputation: 0
same problem

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
 
Old 02-07-2006, 01:27 PM   #3
m1111
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
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


iptables -A INPUT -p tcp --dport 1723 -i eth1 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 1723 -o eth1 -j ACCEPT

iptables -A INPUT -p 47 -j ACCEPT

iptables -A INPUT -p GRE -j ACCEPT
iptables -A OUTPUT -p GRE -j ACCEPT
iptables -A FORWARD -p GRE -j ACCEPT

iptables -F FORWARD
iptables -A FORWARD -j ACCEPT

iptables -A POSTROUTING -t nat -o eth1 -j MASQUERADE

echo 1 > /proc/sys/net/ipv4/ip_forward

Please help !

Last edited by m1111; 02-07-2006 at 01:53 PM.
 
  


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
SuSe 7.0 routing to two different VPN-s szszekel Linux - Networking 0 03-25-2005 11:57 AM
Suse 9.1, & VPN russt66 SUSE / openSUSE 0 03-10-2005 03:42 PM
SuSE 9.1 as VPN server? Rob Roye Linux - Networking 4 01-25-2005 09:16 AM
MS VPN Through SuSE 9.0 Firewall mephitic Linux - Networking 0 09-21-2004 03:43 PM
SuSE vpn routing problem - need help nag029 Linux - Networking 1 07-26-2004 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:57 PM.

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