Community discussions

MikroTik App
 
JJX
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 84
Joined: Fri Nov 11, 2005 2:36 pm

PPP betwen two MT not working

Mon Oct 14, 2013 10:44 pm

I have configured a PPP connections between two mt, but the connections go up and down continiously

* DSL on both sides is up.
* On both sites there is a router that does the NAT to internet
* Site1 MT version: 6.4 , Site2 MT version: 5.26

* Site1 has static IP and runs the PPTP server
* Site2 has dynamic IP and initiates the connection

* The PPP connection disconnects at random times and after a few hours and hunderns attempts comes back. Then again.....

* Site2 MT: IP > Firewall shows hundrend of connection idling
The same time, site1 MT does not have an active PPP connection
The screenshot is taken from Site2 MT (client)
remote_host_connections.png

* If deleting the user (PPP > Secrets) and create again the user, with exact same details, PPP connection comes back at once!!!!!!!!!!!!!!!
Otherwise, I have to wait hours so the PPP connection comes back online

* These are the logs from site2 MT (the client)
site2_logs.png
While these logs are being generated, I am continiously connected to MT (through internet) from site1
Hence there is connectivity

Any idea what can cause the problem?
Thank you
You do not have the required permissions to view the files attached to this post.
 
samsung172
Forum Guru
Forum Guru
Posts: 1191
Joined: Sat Apr 04, 2009 3:45 am
Location: Østfold - Norway
Contact:

Re: PPP betwen two MT not working

Tue Oct 15, 2013 1:41 am

Get correct ppp profile
 
JJX
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 84
Joined: Fri Nov 11, 2005 2:36 pm

Re: PPP betwen two MT not working

Tue Oct 15, 2013 10:00 am

This is the profile used

I cant find any error...
You do not have the required permissions to view the files attached to this post.
 
JJX
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 84
Joined: Fri Nov 11, 2005 2:36 pm

Re: PPP betwen two MT not working

Wed Oct 16, 2013 12:03 am

Any ideas please?
 
samsung172
Forum Guru
Forum Guru
Posts: 1191
Joined: Sat Apr 04, 2009 3:45 am
Location: Østfold - Norway
Contact:

Re: PPP betwen two MT not working

Wed Oct 16, 2013 12:59 am

Can you ping the ip you try to connect to?

Is pptp enabled in ip firewall service port?

Use following easy profiles:

Server:

ros code

#default
/ppp profile add change-tcp-mss=yes name=ppp use-ipv6=default

#user
/ppp secret add name=xxxxxxx password=yyyyyyyy profile=ppp remote-address="the address you give to client"
Client:

ros code

/ppp profile set 0 change-tcp-mss=yes use-compression=no use-encryption=required use-vj-compression=no
/interface pptp-client add allow=mschap2 connect-to="publicip of server" disabled=no name=pptp-out1 password=yyyyyyy profile=default user=xxxxxxxxxxx


then I get:

ros code

/interface pptp-client> monitor pptp-out1 
          status: connected
          uptime: 3m10s
        encoding: MPPE128 stateless

PS, why you use different local address?


Is it possible to run l2tp? (better in a router to router setup) Only benefits I see to pptp is the possibility to connect directly via a windows computer, without any advanced config for ppp.
 
JJX
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 84
Joined: Fri Nov 11, 2005 2:36 pm

Re: PPP betwen two MT not working

Thu Oct 17, 2013 9:53 am

Can you ping the ip you try to connect to?

Is pptp enabled in ip firewall service port?
This is what I see:
Snap1.png

I use different local address in order not to connect them directly in my LAN.
Then I can apply various rules based on their IP


In case I dont find a permanent solution, I will move on to ipsec vpn
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: Bing [Bot], cityscoundrel, Google [Bot], TEOshkin and 114 guests