Community discussions

MUM Europe 2020
 
squintr
newbie
Topic Author
Posts: 28
Joined: Tue Nov 22, 2005 12:39 am

Dynamic VPN PPTP & IP Pools?

Mon Dec 26, 2005 5:42 am

Hi There

Up until this afternoon I was running Mikrotik ver. 2.8.28. I took the config file from it and put it on another box with 2.9.10 loaded (rather than risking my working router). Everything is working great except that I can't login to the mikrotik box from home through VPN anymore.

When I try from Windows XP I get this:

Error 619: A connectoin to the remote computer could not be established, so the port used for this connection was closed.

The log file in Mikrotik says:

TCP connection established from (my home IP)
<pptp-0>: waiting for call...
(2 seconds later)
<pptp-0>: terminating...
<pptp-0>: disconnected


While this is going on I can see a connection called <pptp-0> popping up in the Interface list and then disappearing


I've never had a problem with this in version 2.8.x
 
squintr
newbie
Topic Author
Posts: 28
Joined: Tue Nov 22, 2005 12:39 am

Mon Dec 26, 2005 6:39 am

Well I've found the problem -- I bypassed my Linksys router and it's connecting fine. I've been using the same router the whole time -- nothing has changed here -- just the MK upgrade from 2.8 to 2.9.

I'm updated the firmware on the router with still no success. I'm using a modified version of the Linksys firmware found here:
http://www.sveasoft.com/

VPN pass-throughs are set to enabled on the router.
 
User avatar
mag
Member
Member
Posts: 378
Joined: Thu Jul 01, 2004 12:32 pm
Location: Cologne, NRW, Germany
Contact:

Mon Dec 26, 2005 1:09 pm

seems that VPN is buggy in 2.9.9/.10 (see recent IPsec-post).
2.9.8 should be working.
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 993
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Tue Dec 27, 2005 4:24 pm

Add 'debug' topic to the logging facility and check logs for more information:
/system logging add topics=debug action=memory
Tout individu a droit à la vie, à la liberté et à la sûreté de sa personne.
 
User avatar
whalen
newbie
Posts: 31
Joined: Tue Jun 01, 2004 4:08 pm
Location: Belleville, MI

Wed Dec 28, 2005 2:05 am

I am having the same problem. I followed the directions exactly as the mikrotik documentation showed.

After the initial setup, i was able to connect just fine. I walked away for about 10 minutes, and when i came back, I started getting the same error as you had above....I am using 2.9.10. I am trying to downgrade to 2.9.8 and will see if that helps.
 
User avatar
whalen
newbie
Posts: 31
Joined: Tue Jun 01, 2004 4:08 pm
Location: Belleville, MI

Wed Dec 28, 2005 2:46 am

I am having the same problem. I followed the directions exactly as the mikrotik documentation showed.

After the initial setup, i was able to connect just fine. I walked away for about 10 minutes, and when i came back, I started getting the same error as you had above....I am using 2.9.10. I am trying to downgrade to 2.9.8 and will see if that helps.
Same issue after I downgraded to 2.9.8 :(

I tried to enable the debug, but couldn't figure out how to save it to a file, so i just had it echo to the screen. Here are the results:

[rwhalen@WayLAN] >
  (8 messages discarded)
echo: pptp,debug,packet     vendor-name=Microsoft Windows NT
echo: pptp,debug,packet sent Start-Control-Connection-Reply to 12.198.5.5
echo: pptp,debug,packet     protocol-version=0x0100
echo: pptp,debug,packet     result-code=1
echo: pptp,debug,packet     error-code=0
echo: pptp,debug,packet     framing-capabilities=2
echo: pptp,debug,packet     bearer-capabilities=0
echo: pptp,debug,packet     maximum-channels=0
echo: pptp,debug,packet     firmware-revision=1
echo: pptp,debug,packet     host-name=WayLAN
echo: pptp,debug,packet     vendor-name=MikroTik
echo: pptp,debug,packet rcvd Outgoing-Call-Request from 12.198.5.5
[rwhalen@WayLAN] >
  (20 messages discarded)
echo: pptp,debug,packet     connect-speed=100000
echo: pptp,debug,packet     packet-recv-window-size=100
echo: pptp,debug,packet     packet-processing-delay=0
echo: pptp,debug,packet     physical-channel-id=0
echo: pptp,debug,packet rcvd Set-Link-Info from 12.198.5.5
echo: pptp,debug,packet     peers-call-id=10
echo: pptp,debug,packet     send-accm=0xffffffff
echo: pptp,debug,packet     receive-accm=0xffffffff
echo: pptp,debug,packet sent Set-Link-Info to 12.198.5.5
echo: pptp,debug,packet     peers-call-id=8192
echo: pptp,debug,packet     send-accm=0xffffffff
echo: pptp,debug,packet     receive-accm=0xffffffff
[rwhalen@WayLAN] >
echo: pptp,ppp,debug <12.198.5.5>: LCP timer
echo: pptp,ppp,debug,packet <12.198.5.5>: sent LCP ConfReq id=0x1
echo: pptp,ppp,debug,packet    <mru 1460>
echo: pptp,ppp,debug,packet    <magic 0x721da317>
echo: pptp,ppp,debug,packet    <auth  mschap2>
[rwhalen@WayLAN] >
echo: pptp,ppp,debug <12.198.64.100>: LCP timer
echo: pptp,ppp,debug <12.198.64.100>: LCP timeout waiting initial data
echo: pptp,ppp,debug <12.198.64.100>: LCP lowerdown
echo: pptp,ppp,debug <12.198.64.100>: PPP disconnected <>
echo: pptp,ppp,debug <12.198.64.100>: PPP destroy
echo: pptp,ppp,debug <12.198.64.100>: PPP stopped
echo: pptp,ppp,debug <12.198.64.100>: CCP lowerdown
echo: pptp,ppp,debug <12.198.64.100>: CCP down event in initial state
echo: pptp,ppp,debug <12.198.64.100>: IPCP lowerdown
echo: pptp,ppp,debug <12.198.64.100>: IPCP down event in initial state
[rwhalen@WayLAN] >
 
User avatar
mag
Member
Member
Posts: 378
Joined: Thu Jul 01, 2004 12:32 pm
Location: Cologne, NRW, Germany
Contact:

Thu Dec 29, 2005 11:09 am

could you post the relevant parts of your pptp-server configuration?

i found it usually helpful too, to look into the pptp-clients log.
 
User avatar
lastguru
Trainer
Trainer
Posts: 435
Joined: Fri May 28, 2004 9:04 pm
Location: Certified Trainer/Consultant in Riga, Latvia
Contact:

Thu Dec 29, 2005 12:25 pm

do you hae any NAT on that router, or somewhere in the middle? if yes, then enable gre and pptp conntrack helpers in /ip firewall service-port
International MikroTik Certified Trainer and Consultant form Latvia.
I do RouterOS Training and Certification worldwide!

skype: lastguru
 
User avatar
whalen
newbie
Posts: 31
Joined: Tue Jun 01, 2004 4:08 pm
Location: Belleville, MI

Sat Dec 31, 2005 5:20 pm

Ok here is the config...I followed the 2.9 guide for setting up PPTP.

[rwhalen@WayLAN] ip address> print
Flags: X - disabled, I - invalid, D - dynamic 
 #   ADDRESS            NETWORK         BROADCAST       INTERFACE
 0   ;;; Internal LAN IP
     172.17.1.1/24      172.17.1.0      172.17.1.255    LAN      
 1   ;;; WLAN IP Address
     172.17.2.1/24      172.17.2.0      172.17.2.255    wlan1    
 2 D 68.73.11.31/24     68.73.11.0      68.73.11.255    WAN      
[rwhalen@WayLAN] ip address> 
[rwhalen@WayLAN] ppp secret> print
Flags: X - disabled 
 #   NAME                                   SERVICE CALLER-ID                            PASSWORD                             PROFILE            REMOTE-ADDRESS 
 0   rwhalen                                pptp                                         password                           default-encryption 172.17.1.44    
[rwhalen@WayLAN] ppp secret> 
[rwhalen@WayLAN] interface pptp-server> print
Flags: X - disabled, D - dynamic, R - running 
 #     NAME                                     USER         MTU        CLIENT-ADDRESS                          UPTIME   ENCODING                               
 0     waylan                                   rwhalen     
[rwhalen@WayLAN] interface pptp-server server> print
            enabled: yes
            max-mtu: 1460
            max-mru: 1460
     authentication: mschap1,mschap2
  keepalive-timeout: 30
    default-profile: default
Flags: X - disabled, R - running 
 #    NAME                                                                                                                    MTU   MAC-ADDRESS       ARP       
 0  R ;;; WAN Interface (DHCP from SBC)
      WAN                                                                                                                     1500  00:0C:42:04:03:B9 enabled   
 1  R ;;; LAN Interface (172.17.1.0/24)
      LAN                                                                                                                     1500  00:0C:42:04:03:BA proxy-arp 
 2 X  ether3                                                                                                                  1500  00:0C:42:04:03:BB enabled  
 
User avatar
whalen
newbie
Posts: 31
Joined: Tue Jun 01, 2004 4:08 pm
Location: Belleville, MI

Sat Dec 31, 2005 5:22 pm

do you hae any NAT on that router, or somewhere in the middle? if yes, then enable gre and pptp conntrack helpers in /ip firewall service-port
I looked at the ip firewall service-port list, and pptp and gre are enabled, but i noticed that pptp shows up as "I" (invalid). Why would this be??
[rwhalen@WayLAN] ip firewall service-port> print
Flags: X - disabled, I - invalid 
 #   NAME                                                                                                                                                  PORTS
 0   ftp                                                                                                                                                   21   
 1 X tftp                                                                                                                                                  69   
 2 X irc                                                                                                                                                   6667 
 3 X h323                                                                                                                                                 
 4 X quake3                                                                                                                                               
 5 X mms                                                                                                                                                  
 6   gre                                                                                                                                                  
 7 I pptp                                                                                                                                                  1723
 
User avatar
whalen
newbie
Posts: 31
Joined: Tue Jun 01, 2004 4:08 pm
Location: Belleville, MI

Wed Jan 04, 2006 3:49 pm

any ideas?

Who is online

Users browsing this forum: No registered users and 114 guests