Page 1 of 1

how to access user manager anywhere

Posted: Tue Mar 01, 2016 9:59 pm
by lovelysajid
helloo ever body plz can any one help me, i m new in mikrotik i have 5.20 on my pc and i want to access user manager and winbox from any where from he world, i have also install script in mikrotik and i have make domain on changeip.com so i am success to access from winbox from any where but i can't access from web and user manager so any one help me how to access user manager from any where

Re: how to access user manager anywhere

Posted: Wed Mar 02, 2016 4:03 am
by lovelysajid
plzzzz any one tell me about that thx

Re: how to access user manager anywhere

Posted: Wed Mar 02, 2016 5:09 am
by lovelysajid
helloo ever body plz can any one help me, i m new in mikrotik i have 5.20 on my pc and i want to access user manager and winbox from any where from he world, i have also install script in mikrotik and i have make domain on changeip.com so i am success to access from winbox from any where but i can't access from web and user manager so any one help me how to access user manager from any where

Re: how to access user manager anywhere

Posted: Wed Mar 02, 2016 5:10 am
by prince1990love
excuse me for my english!!
firstly. you need fixed public ip then config your radius on fixed ip from your isp
that is all without any script! :D

Re: how to access user manager anywhere

Posted: Wed Mar 02, 2016 5:15 am
by lovelysajid
excuse me for my english!!
firstly. you need fixed public ip then config your radius on fixed ip from your isp
that is all without any script! :D
my radus ip 127.0.0.1 how and where can i fixed ip i don't know plz detail , thx

Re: how to access user manager anywhere

Posted: Wed Mar 02, 2016 5:16 am
by prince1990love
are you have fixed public ip??

Re: how to access user manager anywhere

Posted: Wed Mar 02, 2016 5:17 am
by prince1990love
go to google and write my ip information and tell me

Re: how to access user manager anywhere

Posted: Wed Mar 02, 2016 5:19 am
by lovelysajid
are you have fixed public ip??
39.51.36.80

Re: how to access user manager anywhere

Posted: Wed Mar 02, 2016 5:20 am
by lovelysajid
are you have fixed public ip??
39.51.36.80
tno i have not public fixed ip how to get fixed ip sir

Re: how to access user manager anywhere

Posted: Wed Mar 02, 2016 5:22 am
by prince1990love
you can purchase fixed ip from your isp

Re: how to access user manager anywhere

Posted: Wed Mar 02, 2016 5:23 am
by prince1990love
or if you want you can register in change-ip and get free domain from there

Re: how to access user manager anywhere

Posted: Wed Mar 02, 2016 5:25 am
by lovelysajid
you can purchase fixed ip from your isp
my isp is ptcl how to purchase from ptcl
i have login via winbox from any where through changeip.com so i want to login thorough web user manager from any where

Re: how to access user manager anywhere

Posted: Wed Mar 02, 2016 5:28 am
by prince1990love
the put script below in your system scripts

:local hostnamesToUpdate { \
"hostname, service, interface"; \
"hostname, service, interface" }

:local dyndnsUsername ""
:local dyndnsPassword ""

:local noipUsername ""
:local noipPassword ""

:local changeipUsername ""
:local changeipPassword ""

:local forceUpdate false
:local flushDNSCache true

:local forceUpdateTime 15

#
# Script
#
:global lastUpdate

# Date Calculations
:local date [ /system clock get date ]
:local months ("jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec");
:local month [ :pick $date 0 3 ]; :local day [ :pick $date 4 6 ]; :local year [ :pick $date 7 11 ];
:local mm ([ :find $months $month -1 ] + 1);
:if ($mm < 10) do={ :set month ("0" . $mm); } else={ :set month $mm; }
:set date ($year . $month . $day);

:if ([:typeof $lastUpdate] = "nothing" || (($date-$lastUpdate) >= $forceUpdate && $forceUpdate > 0)) do={
:set forceUpdate true
}

:local hadUpdate false;

:foreach i in $hostnamesToUpdate do={
:local tempArray [:toarray $i]

:local ddnsHostname [:pick $temparray 0]
:local ddnsService [:pick $temparray 1]
:local interfaceName [:pick $temparray 2]

:local ddnsAddress [:resolve $ddnsHostname]
:local currentAddress [/ip address get [/ip address find interface=$interfaceName disabled=no] address]
:set currentAddress [:pick $currentAddress 0 [:find $currentAddress "/" -1]]

:local elseIf true

:if (($force = true) || ($currentAddress != $ddnsAddress)) do={
:if ($ddnsService = "dyndns") do={
/tool fetch user=$username password=$password mode=http address="members.dyndns.org" \
src-path="/nic/update?hostname=$ddnsHostname&myip=$currentAddress" dst-path="/output.txt"
:set elseIf false
}

:if ($elseIf && $ddnsService = "noip") do={
/tool fetch user=$username password=$password mode=http address="dynupdate.no-ip.com" \
src-path="/nic/update?hostname=$ddnsHostname&myip=$currentAddress" dst-path="/output.txt"
:set elseIf false
}

:if ($elseIf && $service = "changeip") do={
/tool fetch user=$username password=$password mode=http address="nic.changeip.com" \
src-path="/nic/update?hostname=$ddnsHostname&myip=$currentAddress" dst-path="/output.txt"
:set elseIf false
}

:set hadUpdate true
}

:if ($hadUpdate && $flushDNSCache) do={
/ip dns cache flush
}

Re: how to access user manager anywhere

Posted: Wed Mar 02, 2016 5:29 am
by lovelysajid
are you have fixed public ip??
39.51.36.80
no sir i have not fixed public ip howto fixed it

Re: how to access user manager anywhere

Posted: Wed Mar 02, 2016 5:39 am
by lovelysajid
ok sir i have past script in system script now?

Re: how to access user manager anywhere

Posted: Wed Mar 02, 2016 6:05 am
by lovelysajid
ok sir i have past script in system script now?
sir i have past that script and type user name and password in change ip quots but i can't fine where type change ip domain that i have purchesd free where type or no type plz tell me thx alot

Re: how to access user manager anywhere

Posted: Wed Mar 02, 2016 6:27 am
by lovelysajid
please Sir Any one tell me about mikrotik user manager , i have access winbox trough change ip.com but i can't access user manager, how to access, thx