LinuxQuestions.org
Review your favorite Linux distribution.
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 05-03-2004, 12:34 PM   #1
ronaldlee
LQ Newbie
 
Registered: May 2004
Posts: 7

Rep: Reputation: 0
Winxp Client Connet To Vpn (poptop) Not Working Probably


I can see all pcs after Winxp client connected to VPN serve. buy only the samba of the VPN server I can log in, others windows xp and linux samba I can't.

The log is as below:

May 4 00:59:11 glory-main pptpd[7118]: CTRL: Client 218.103.195.73 control connection started
May 4 00:59:12 glory-main pptpd[7118]: CTRL: Starting call (launching pppd, opening GRE)
May 4 00:59:12 glory-main pppd[7119]: pppd 2.4.2b3 started by root, uid 0
May 4 00:59:12 glory-main pppd[7119]: Using interface ppp0
May 4 00:59:12 glory-main pppd[7119]: Connect: ppp0 <--> /dev/pts/0
May 4 00:59:12 glory-main /etc/hotplug/net.agent: assuming ppp0 is already up
May 4 00:59:12 glory-main pptpd[7118]: GRE: Discarding duplicate packet
May 4 00:59:14 glory-main pptpd[7118]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
May 4 00:59:14 glory-main pppd[7119]: CHAP peer authentication succeeded for ericheng
May 4 00:59:14 glory-main pppd[7119]: found interface eth1 for proxy arp
May 4 00:59:14 glory-main pppd[7119]: local IP address 192.168.0.21
May 4 00:59:14 glory-main pppd[7119]: remote IP address 192.168.0.2
May 4 01:01:49 glory-main pppd[7119]: LCP terminated by peer (^YM-O^IM-B^@<M-Mt^@^@^@^@)
May 4 01:01:49 glory-main pppd[7119]: Modem hangup
May 4 01:01:49 glory-main pppd[7119]: Connection terminated.
May 4 01:01:49 glory-main pppd[7119]: Connect time 2.7 minutes.
May 4 01:01:49 glory-main pppd[7119]: Sent 585 bytes, received 11299 bytes.
May 4 01:01:49 glory-main /etc/hotplug/net.agent: NET unregister event not supported
May 4 01:01:49 glory-main pppd[7119]: Connect time 2.7 minutes.
May 4 01:01:49 glory-main pppd[7119]: Sent 585 bytes, received 11299 bytes.
May 4 01:01:49 glory-main pppd[7119]: Exit.
May 4 01:01:49 glory-main pptpd[7118]: CTRL: Client 218.103.195.73 control connection finished

All file configured:

Module.conf -

alias eth0 via-rhine
alias eth1 3c59x
alias sound-slot-0 emu10k1
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias usb-controller usb-uhci

alias ppp ppp_generic
alias ppp-compress-18 ppp_mppe
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias char-major-108 ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias net-pf-47 ip_gre

pptp.conf
option /etc/ppp/options-pptpd
debug
localip 192.168.0.1
remoteip 192.168.0.2-6

options.pptd
debug
lock
mtu 1450
mru 1450
proxyarp
auth
+chap
#[+chapms] #This one is optional and my be omitted.
#+chapms-v2
ipcp-accept-local
ipcp-accept-remote
lcp-echo-failure 3
lcp-echo-interval 5
deflate 0
#mppe-128
#mppe-40
#mppe-stateless

nodeflate
nobsdcomp


please kindly advise solution to solve the proble and what all package needed for POPTOP VPN sever.

Thank you for kindly help
 
Old 05-05-2004, 01:28 PM   #2
ronaldlee
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
HELP PLEASE,
HELP PLEASE
HELP PLEASE

JUST PROVIDE SOLUTION FOR THESE ERRORS

GRE: Discarding duplicate packet
CTRL: Ignored a SET LINK INFO packet with real ACCMs

THANK YOU IN ADVANCE
 
Old 05-06-2004, 01:46 AM   #3
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
GRE: Discarding duplicate packet
it is same here too. it is not an error i think.
here is my config files:

/etc/modules.conf
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-18 ppp_mppe
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate

/etc/pptpd.conf
option /etc/ppp/options.pptpd
stimeout 10
debug
remoteip 192.168.0.234-238
localip 192.168.0.1

/etc/ppp/options.pptpd
#debug
#kdebug 9
lock
proxyarp
name linux
auth
+chap
+chapms
+chapms-v2
# This will remove the domain in front of the username
# E.G. DOMAIN\\username becomes username
chapms-strip-domain
#mppe-40
mppe-128
mppe-stateless
require-chap
#require-mppe
#require-mppe-stateless
#ms-dns yyy.yyy.yyy.yyy
#ms-dns xxx.xxx.xxx.xxx
#ms-wins yyy.yyy.yyy.yyy
#ms-wins xxx.xxx.xxx.xxx
idle 1800
mtu 1490
mru 1490
ipcp-accept-local
ipcp-accept-remote
lcp-echo-failure 30
lcp-echo-interval 5
deflate 0
 
Old 05-06-2004, 10:17 PM   #4
ronaldlee
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
maxut

thank you very much for your help. I will try your config and let you know the result
 
Old 05-06-2004, 10:20 PM   #5
ronaldlee
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
maxnut

here is another error in my log

CTRL: Ignored a SET LINK INFO packet with real ACCMs!

do you know it?

Thanks
 
Old 05-07-2004, 01:12 AM   #6
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
May 4 11:37:15 gecit pppd[3546]: pppd 2.4.1 started by root, uid 0
May 4 11:37:15 gecit pppd[3546]: Using interface ppp0
May 4 11:37:15 gecit pppd[3546]: Connect: ppp0 <--> /dev/pts/1
May 4 11:37:15 gecit /etc/hotplug/net.agent: assuming ppp0 is already up
May 4 11:37:15 gecit pptpd[3545]: GRE: Discarding duplicate packet
May 4 11:37:17 gecit pptpd[3545]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
May 4 11:37:17 gecit pppd[3546]: local IP address 192.168.0.1
May 4 11:37:17 gecit pppd[3546]: remote IP address 192.168.0.234
May 4 11:39:43 gecit pptpd[3545]: CTRL: Session timed out, ending call
May 4 11:39:43 gecit pptpd[3545]: CTRL: Client 81.215.114.151 control connection finished
May 4 11:39:43 gecit pppd[3546]: Modem hangup
May 4 11:39:43 gecit pppd[3546]: Connection terminated.
May 4 11:39:43 gecit pppd[3546]: Connect time 2.5 minutes.
May 4 11:39:43 gecit pppd[3546]: Sent 437 bytes, received 4387 bytes.
May 4 11:39:43 gecit /etc/hotplug/net.agent: NET unregister event not supportedMay 4 11:39:43 gecit pppd[3546]: Exit.

here is my logs. is it error? it just say "ignored". didnt it work?
 
Old 05-07-2004, 09:40 PM   #7
ronaldlee
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I can connect to the samba of the vpn server only. In the Lan, there are some WinXp and a Linux with samba. I can see all them via samba client of the VPN server. but I can't access them and can't ping all others. Only the VPN server I can ping.

Please advise how to configure the VPN server or others in order to access the samba of another linux.


Thank you
 
Old 05-08-2004, 02:11 AM   #8
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
have u inserted a iptables rule in vpn server box? like:
iptables -t nat -A POSTROUTING -s 192.168.0.0 -j SNAT --to ip_of_local_interface
 
Old 05-08-2004, 02:14 AM   #9
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
have u inserted a iptables rule in vpn server box ? like:
iptables -t nat -A POSTROUTING -s 192.168.0.0 -j SNAT --to ip_of_local_interface
 
Old 05-08-2004, 04:52 AM   #10
ronaldlee
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I don't have iptable installed.

Should I install it and configure it?


Thanks
 
Old 05-08-2004, 05:02 AM   #11
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
r u sure? iptables must exist. as i understand u arent root. so try:
/sbin/iptables -t nat -A POSTROUTING -s 192.168.0.0 -j SNAT --to ip_of_local_interface
 
Old 05-08-2004, 10:32 AM   #12
ronaldlee
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
thanks
 
Old 08-29-2004, 11:56 AM   #13
brettcave
LQ Newbie
 
Registered: Aug 2004
Location: Johannesburg, South Africa
Distribution: Mandrake, RH, Fedora
Posts: 22

Rep: Reputation: 15
VPN uses GRE, which requires ip_gre module to be loaded. Could this be the problem?

I am also having the same problem. In addition to that, when i connect to the pptpd, the system crashes - i loose all networking and console.
ppp-2.4.1 and pptpd-1.1.4, without using any of the ms features.
 
Old 08-31-2004, 03:11 AM   #14
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
brettcave, if u install poptop to rh 8-9, u cat get the rpm packets including kernel-mppe, from http://www.spenneberg.org/VPN/
it works great.
 
  


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
Strange client IP change on a VPN connection(pptp - poptop).txt 4mix Linux - Networking 1 09-16-2005 10:45 AM
Problem with PopTop VPN kragemp3 Linux - Networking 0 12-30-2004 06:27 PM
PoPToP VPN with Shorewall: can only reach PoPToP server pgwillemsen Linux - Networking 0 12-27-2004 07:11 AM
Routing issue with VPN Client into PPP/Poptop loopy69 Linux - Networking 1 10-07-2004 08:48 AM
How to use VPN with Poptop? hp83 Linux - Networking 0 07-26-2004 01:53 AM

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

All times are GMT -5. The time now is 02:50 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