Elektroda.com
Elektroda.com
X

Mikrotik - remote access with variable IP

3537 15
This content has been translated » The original version can be found here
  • Level 15  
    I have a mikrotik 951G, I connect a USB modem to it, it is visible as a PPP Client. IP is variable.
    I would like to get to this router remotely, but I have no idea how to do it.
    I used NO-IP although it works the same way as the DDNS CLOUD option i.e. I can enter the router only while in LAN.
    I need to buy a VPN to have a fixed IP, can I work around it somehow?
  • Moderator - Networks, Internet
    If this is a mobile provider, your WAN address is not public or external access by the internet provider is blocked.
  • Level 15  
    Apparently it is. So how can I create remote access?
  • Network and Internet Specialist
    Albatroz wrote:
    So how can I create remote access?

    via an intermediate point, e.g. vpnonline pl, i.e. the router connects to the VPN, and the remote computer gets to the router via an IP public VPN server.
  • Level 15  
    Of course, then on vpnonline do I have to choose a fixed IP address?
  • Helpful post
    Network and Internet Specialist
    There is also another option, put on a LAN computer with an attached teamviewer,
    Remotely connect the desktop to teamviewer and then from this desktop to MT.
  • Level 15  
    It is a pity that there is no other solution. And what about the tutorials in which the script from noip is thrown on MT to ddns and the schedule is set to check IP every 5 minit? This only works if the service provider is not just blocking external access?
  • Level 13  
    You will easily enter Mikrotik using the address from the Cloud section. You only need to set up a VPN server on Mikrotik and set up a VPN connection on the computer you are connecting from. After establishing the VPN connection, you can use Winbox to connect to MT without any problems. At least this is how it works for me.

    EDIT. The remote connection works via WinBox (via the mentioned VPN), but only after entering the local IP address in the field (192.168.XX), or through the domain defined in the DNS section (e.g. for router's IP do e.g. http: //router.dom /, whatever you like, but it doesn't work from a remote location by MAC address (only locally)
  • Level 15  
    Can you show your configuration on MT? In Lana Cloud works the most, but except for lane.
  • Level 13  
    Albatroz wrote:
    Can you show your configuration on MT? In Lana Cloud works the most, but except for lane.


    Have you started the VPN server and initiated the connection from the computer you are connecting from? This is a prerequisite for remote access via Cloud to work.
  • Level 15  
    Is vpn server simply a cloud with the address xxx.sn.mynetname.net?
    This is what I have started. I have created vpn on the computer but it connects as soon as I'm in lan.

    Mikrotik - remote access with variable IP
    Mikrotik - remote access with variable IP
  • Level 13  
    Run yourself quickly in "Quick set" VPN Access, because I suppose you don't have it set. Set up PPTP VPN on your computer quickly and there is no whip. You must connect.
  • Level 15  
    It is by all means. Unless I have something else to configure on MT ...

    Mikrotik - remote access with variable IP
  • Level 13  
    Albatroz wrote:
    It is by all means. Unless I have something else to configure on MT ...

    Mikrotik - remote access with variable IP


    And what do you have in the Winbox address field when you are out of lane?
  • Network and Internet Specialist
    Hmmmm ....
    https://wiki.mikrotik.com/wiki/Manual:IP/Cloud
    from what I write here, cloud is a DDNS service, unless I have not understood something

    ddns it will not help to get to MT from outside, for this you need a public IP (permanent or dynamic) or vpn tunnel with public IP at the end of the tunnel.
  • Level 15  
    @whizzo, and what I didn't write there ... ;)

    Mikrotik - remote access with variable IP

    @bogiebog
    I'm afraid you're right and no other combinations will help.