Community discussions

 
jphconstantin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Sep 22, 2017 7:17 pm
Location: Switzerland

Config VPN and DDNS + smartphone

Thu Jun 13, 2019 6:59 pm

Hello,
I followed CAREFULLY the Mikrotik Tutorial 19 for the configuration of my router.
I want to establish a connection from my Samsung smartphone. I defined a VPN on it:
name: Office
Server address: the internet address of my Mikrotik router
Password: the password defined in the quick set for the vpn
I try to connect. I have the message "connection ..." during 30 seconds and the message "fail".

One (among others) firewall rule was created: allow pptp port 1723. I setup the Log checkbox.
NAT masquerade network 192.168.89.0/24 I also setup the Log checkbox.

I try again to connect. I read a message in the log:
TCP connection established from ...
input in: combo1 out(unknown 0), src-mac ..., proto TCP (SYN) , ...

The connection process seems to be correct.

In PPP > Active Connections it is empty !!!!!????

What could be wrong (if it is !)
Shall I do something during the "connexion ..." message on my smartphone ?
Does the tutorial correct ?
My knowledge in VPN is very limited ...
Thank you by advance,
ccr1009-7g-1c-pc
router os v 6.44.3
 
AidanAus
newbie
Posts: 25
Joined: Wed May 08, 2019 7:35 am

Re: Config VPN and DDNS + smartphone

Fri Jun 14, 2019 10:17 am

Is this router the one with the public IP address on it? if its not you will need to set /ip cloud advanced use-local-address=yes ALSO if you are using a GRE biased tunnel its your in for a bad time if the router is behind a nat like that. Are you able to send through a export of your config using export hide-sensitive from the terminal?
 
jphconstantin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Sep 22, 2017 7:17 pm
Location: Switzerland

Re: Config VPN and DDNS + smartphone

Fri Jun 14, 2019 4:57 pm

Yes, the public address is unique.
I don't undertand your question ... beginner basics forum -> give me the command please
I changed in my smartphone the vpn config: I setup <number>.sn.mynetname.net instead of the public address as the address server: nothing changed

Note 1: PPP > interface: empty !?

Note 2: I tried to log the pptp topic
In resume I have:
scc request
scc reply
rcvd outgoing call
lcp lowerup
lcp open
outgoing call reply
--- a loop of following messages during 30 seconds ---
sent lcp conreq (mru,asyncmap,magic, ...)
rcvd lcp conreq
--- after 30 seconds ---
lcp lowerdown
ccp close
bcp close
ipcp close
ipv6cp close
mplscp close

Note 3: The ip address of the smartphone is static (fixed)
ccr1009-7g-1c-pc
router os v 6.44.3
 
jphconstantin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Sep 22, 2017 7:17 pm
Location: Switzerland

Re: Config VPN and DDNS + smartphone

Sun Jun 16, 2019 4:40 pm

I guess the Mikrotik Tutorial 19 is not anymore up to date and that I must read the wiki or if you can give me references ...
Note that I have installed the 6.44.3 OS version.
ccr1009-7g-1c-pc
router os v 6.44.3
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 1392
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Randburg
Contact:

Re: Config VPN and DDNS + smartphone

Sun Jun 16, 2019 9:18 pm

Have you tried to connect with pc/laptop?

Apple (iPhone, etc) have dropped support for pptp vpn a while ago due to pptp not being secure, not even allowing it on passthrough, maybe Samsung followed same process.

Will be a good idea if you used another VPN type anyway, one that is more secure, i.e. L2TP/IPSec, etc
MTCNA, MTCTCE, MTCRE & MTCINE
 
jphconstantin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Sep 22, 2017 7:17 pm
Location: Switzerland

Re: Config VPN and DDNS + smartphone

Mon Jun 17, 2019 3:10 pm

Have you tried to connect with pc/laptop?
No
L2TP/IPSec
I will follow your advice

But how to clean (reset, delete, ...) what I have defined ?
ccr1009-7g-1c-pc
router os v 6.44.3

Who is online

Users browsing this forum: No registered users and 28 guests