Community discussions

MUM Europe 2020

Search found 128 matches

by Sinan
Sun Jan 28, 2018 5:02 pm
Forum: Wireless Networking
Topic: NetMetal AC short distance bad actual rate
Replies: 6
Views: 673

Re: NetMetal AC short distance bad actual rate

Use 802.11ac
Use station Bridge instaid of WDS
For best Data rates schon signal should
Between -55 to -60
i tried to use 802.11 and 5700 GHz and i m already using station bridge and the result is worse
by Sinan
Sun Jan 28, 2018 5:01 pm
Forum: Wireless Networking
Topic: NetMetal AC short distance bad actual rate
Replies: 6
Views: 673

Re: NetMetal AC short distance bad actual rate

7km is not short distance :) Try disable nv2 and use 802.11. What type antena do you have? What signal, ccq and others? 780Mbit is only datarate, it say nothing about real speed i installed the same link with distance of 20Km and the result was much better (about 400Mbps) i m using 34db ubnt annten...
by Sinan
Sun Jan 28, 2018 9:26 am
Forum: General
Topic: best bonding setting
Replies: 1
Views: 401

best bonding setting

Hi all, what is the best bonding setting for this i ve 2 wireless links one with 200Mbps rate (RB921 NetMetal) the second with 500Mbps (AirFiber11FX) i need to know which mode to choose and which layers, also i ve a problem when i do bonding for there devices i cant reach one of them i even cant pin...
by Sinan
Sun Jan 28, 2018 9:22 am
Forum: Wireless Networking
Topic: NetMetal AC short distance bad actual rate
Replies: 6
Views: 673

NetMetal AC short distance bad actual rate

Hi everybody i ve installed a link of 7km distance with the following setting: /interface wireless set [ find default-name=wlan1 ] band=5ghz-a/n/ac channel-width=20/40/80mhz-Ceee \ default-authentication=no default-forwarding=no disabled=no frequency=5315 \ frequency-mode=superchannel mode=ap-bridge...
by Sinan
Wed Sep 06, 2017 11:15 am
Forum: Wireless Networking
Topic: How to use Spectral scan and how to select polarization ?
Replies: 1
Views: 715

How to use Spectral scan and how to select polarization ?

Hi everybody I m trying to setup a link in a very noisy media , i tried to use spectral scan to select best choice but i didnt know how ? also i read that if we choose x-polarity it may behave better than dual polarity so how to select that ? these are the spectral scan of mine : http://store1.up-00...
by Sinan
Sun Aug 27, 2017 7:28 pm
Forum: General
Topic: Server suddenly shutdown till i reinstall a new software
Replies: 8
Views: 990

Re: Server suddenly shutdown till i reinstall a new software

Have you changed your admin password after netinstall to some fresh-new one?
Maybe someone is hacking your devices?
i already change it for sure and closed all the ports and changed the winbox port but there is an attack because the cpu become 100% before it shut down
by Sinan
Sun Aug 27, 2017 6:06 pm
Forum: General
Topic: Server suddenly shutdown till i reinstall a new software
Replies: 8
Views: 990

Re: Server suddenly shutdown till i reinstall a new software

Are you able to send logs to remote server to check what is going just before reboots?
the weird things at the log is

tile rb setting changed
first l2tp udp packet received from 183.129.160.229
by Sinan
Sun Aug 27, 2017 6:05 pm
Forum: General
Topic: Server suddenly shutdown till i reinstall a new software
Replies: 8
Views: 990

Re: Server suddenly shutdown till i reinstall a new software

Are you able to send logs to remote server to check what is going just before reboots?
the weird things at the log
tile rb setting changed
first l2tp udp packet received from ..
by Sinan
Sun Aug 27, 2017 10:42 am
Forum: General
Topic: Server suddenly shutdown till i reinstall a new software
Replies: 8
Views: 990

Re: Server suddenly shutdown till i reinstall a new software

What do you mean "they do not work"?
Can you login? Can you display configuration? Please explain it with more details.
the rb cant boot after that, it automatically and continuously rebooting and i cant even access it till i reset it or sometime need a new software
by Sinan
Sun Aug 27, 2017 9:04 am
Forum: General
Topic: Server suddenly shutdown till i reinstall a new software
Replies: 8
Views: 990

Re: Server suddenly shutdown till i reinstall a new software

I got these messages:
tile rb setting changed
first l2tp udp packet received from ..
by Sinan
Sat Aug 26, 2017 11:21 am
Forum: General
Topic: Server suddenly shutdown till i reinstall a new software
Replies: 8
Views: 990

Server suddenly shutdown till i reinstall a new software

We have a weird problem all of a sudden or CCR and sometimes RB912 stop and they don’t work till we change the software via netinstall the problem is occurring repleatedly and for more than one server we monitor the logs nothing weird also we are monitoring the voltage and it is good Can this be an ...
by Sinan
Tue Jul 11, 2017 11:35 pm
Forum: General
Topic: Huawei 5330bs-2 for sending sms ?
Replies: 4
Views: 725

Re: Huawei 5330bs-2 for sending sms ?

i m having a problem that the modem doesnt appear in the ports
by Sinan
Tue Jul 11, 2017 9:45 am
Forum: General
Topic: Huawei 5330bs-2 for sending sms ?
Replies: 4
Views: 725

Re: Huawei 5330bs-2 for sending sms ?

Any help please ?
by Sinan
Sun Jul 09, 2017 1:45 pm
Forum: General
Topic: Huawei 5330bs-2 for sending sms ?
Replies: 4
Views: 725

Huawei 5330bs-2 for sending sms ?

Please can you help me i'm trying to send sms from mirkotik 951Ui-2nD using a modem Huawei 5330bs-2 when i connect the modem it is appear at resourcce/usb as shown: [sinan@MikroTik] > system resource usb pr # DEVICE VENDOR NAME SPEED 0 1:1 Linux 3.3.5 ehci_hcd RB400 EHCI 480 Mbps 1 1:9 HUAWEI HUAWEI...
by Sinan
Wed May 10, 2017 3:51 pm
Forum: The Dude
Topic: Importing devices from other dude without changing the db
Replies: 1
Views: 512

Importing devices from other dude without changing the db

Hi is there away to import the devices from other dude with exporting and importing Databases
i have 4 server dudes and i want to collect all the devices in theses dudes to single dude server , is this possible ?
by Sinan
Wed May 10, 2017 3:49 pm
Forum: The Dude
Topic: Adding RouterOS device with no default port , adding images problem
Replies: 4
Views: 1343

Re: Adding RouterOS device with no default port , adding images problem

Sinan, did you tried the following solution?

viewtopic.php?t=112599#p565303
You can specify probe port under device settings => Services => routeros mangement => Probe Port
yes i tried but it doesnt help me
by Sinan
Sat May 06, 2017 11:04 pm
Forum: The Dude
Topic: Adding RouterOS device with no default port , adding images problem
Replies: 4
Views: 1343

Adding RouterOS device with no default port , adding images problem

I want to add a RouterOS device which i change its winbox port number but it cant be connected unless i set it to default port
also i cant change background or add any photo to Dude
by Sinan
Sun Apr 30, 2017 4:37 pm
Forum: General
Topic: problem : High cpu usage by networking at profile
Replies: 6
Views: 5223

Re: problem : High cpu usage by networking at profile

Thanks all it was because of dude
who mention the firewall is not correct since the high usage was for "networking" not "firewall" even fasttrack do not help us with that
by Sinan
Sun Apr 30, 2017 4:33 pm
Forum: The Dude
Topic: Can't upload images 38.5 Ver
Replies: 2
Views: 839

Re: Can't upload images 38.5 Ver

Dears

I solved this problem

i add new folder on path ; dude/file

like photo and add image it's appear in server

Best regads
I couldnt do that , i cant add files in there
can you explain how you did it please ?
by Sinan
Thu Apr 27, 2017 9:31 pm
Forum: General
Topic: problem : High cpu usage by networking at profile
Replies: 6
Views: 5223

problem : High cpu usage by networking at profile

Hi everybody
i m having a high cpu usage and i check at tool profile and i got a high percentage used by networking and this happen suddenly
how to solve it ?
by Sinan
Sun Apr 23, 2017 7:03 am
Forum: Scripting
Topic: Script Expire users a after number of days
Replies: 4
Views: 2540

Re: Script Expire users a after number of days

Yes there are many drawbacks in this script
i already developed a script for that which will work perfectly
i ll try to publish it soon
by Sinan
Tue Apr 11, 2017 5:25 pm
Forum: Wireless Networking
Topic: Best wireless setting at high noise regions
Replies: 3
Views: 817

Re: Best wireless setting at high noise regions

Show us spectral history
it is not avialable
int wi spectral-history wlan1
failure: allowed ranges [4910; 6110]
by Sinan
Sun Apr 09, 2017 11:37 pm
Forum: Wireless Networking
Topic: Best wireless setting at high noise regions
Replies: 3
Views: 817

Best wireless setting at high noise regions

Hi everybody
can you help me to set my link parameter at a region which has a very high noise
i m using 2 RB912 for my link
by Sinan
Sun Mar 12, 2017 6:46 am
Forum: Scripting
Topic: Generate random users in hotspot
Replies: 3
Views: 726

Re: Generate random users in hotspot

Great script, thanks! Wow, you actually live and run a WISP in Mosul/Iraq ?? Brave man! :-)
Thanks friend
Ya i really do .... life continue anyway ..
by Sinan
Thu Feb 16, 2017 10:24 am
Forum: General
Topic: Changing \ Updating Dynamic Queue ?
Replies: 4
Views: 771

Re: Changing \ Updating Dynamic Queue ?

Why you don't try use manual entry instead dynamic? . Maybe you will have more advantages than disadvantages.
Bcz of using hotspot with dchp so the user will have a different IP each time and i dont wanna use static IP
by Sinan
Wed Feb 15, 2017 7:28 pm
Forum: General
Topic: Changing \ Updating Dynamic Queue ?
Replies: 4
Views: 771

Re: Changing \ Updating Dynamic Queue ?

Hi Sinan.

It is not possible to edit a dynamic queue entry.

Maybe you could try edit where it is called like hotspot or PPP profile and then reload the user to take change.
Thanks for your reply but it is bad to make user sign in many times since i want the rate to change many times a day
by Sinan
Wed Feb 15, 2017 2:58 pm
Forum: General
Topic: Changing \ Updating Dynamic Queue ?
Replies: 4
Views: 771

Changing \ Updating Dynamic Queue ?

Hi everybody
How can i change or update any dynamic queue for example changing the max-limit for it ?
i tried to do that by terminal and i got :
queue simple set max-limit="5" numbers=15
failure: cannot change dynamic
by Sinan
Fri Jan 06, 2017 4:46 am
Forum: Scripting
Topic: script cookie hotspot
Replies: 3
Views: 1555

Re: script cookie hotspot

try this :
:foreach m in=[/ip hotspot cookie find ] do={
:local mac [/ip hotspot cookie get value-name=mac-address $m]
/ip hotspot ip-binding add mac-address=$mac }
by Sinan
Fri Jan 06, 2017 4:43 am
Forum: Scripting
Topic: Send email script on dhcp and wireless event
Replies: 4
Views: 1405

Re: Send email script on dhcp and wireless event

there is a script that can run on lease or release of dhcp:
/ip dhcp-server set lease-script=" " ..... read the manual for that
about wireless there is no script trigger for that
by Sinan
Wed Jan 04, 2017 10:52 pm
Forum: Scripting
Topic: capture output of ssh remote command
Replies: 5
Views: 2359

Re: capture output of ssh remote command

Try to put the result in a file then get it by fetch tool
by Sinan
Wed Jan 04, 2017 10:50 pm
Forum: Scripting
Topic: HotSpot> User_Profile> On_Login script
Replies: 3
Views: 1239

Re: HotSpot> User_Profile> On_Login script

i dont get what you want but if you mean that you want the user to enter his password so then i think you need to use Mikrotik API
by Sinan
Wed Jan 04, 2017 10:44 pm
Forum: Scripting
Topic: Lease script
Replies: 2
Views: 1280

Re: Lease script

I dont get what you want exactly !
by Sinan
Wed Jan 04, 2017 10:40 pm
Forum: Scripting
Topic: User sign up page
Replies: 2
Views: 732

Re: User sign up page

either use UserManager or you need to use Mirotik API
by Sinan
Wed Jan 04, 2017 10:39 pm
Forum: Scripting
Topic: three days before a date to send e-mail
Replies: 8
Views: 1005

Re: three days before a date to send e-mail

ammm it could be done by mikrotik script only
by Sinan
Wed Jan 04, 2017 10:33 pm
Forum: Scripting
Topic: call script via API and get a result
Replies: 2
Views: 1075

Re: call script via API and get a result

Try to save the results of your script into global variables then get there values from script/environment
by Sinan
Wed Dec 28, 2016 10:02 am
Forum: Scripting
Topic: Remotely change password for Hotspot user
Replies: 8
Views: 1435

Re: Remotely change password for Hotspot user

you need to use api for that
by Sinan
Thu Jul 07, 2016 12:47 pm
Forum: Scripting
Topic: Limiting total bytes for ppp secrets
Replies: 3
Views: 1748

Limiting total bytes for ppp secrets

This is a tutorial on how to limit the quota for ppp users using mikrotik winbox only without user-manager or any other RADIUS system: At first download this script: https://drive.google.com/…/0B38ofZbyyLXPS1dlYnZXYTVhb…/view… now if you are using version 6.34 or newer copy the required fields then...
by Sinan
Mon Jul 04, 2016 3:09 am
Forum: RouterBOARD hardware
Topic: Getting the most out of this forum
Replies: 21
Views: 97871

Re: Getting the most out of this forum

Just create a topic in scripting category and see, if someone would like to buy your scripts... But it is common that we share the knowledge including the scripts here for free, so you should participate the same, if you have something to share. I m really shy for asking about that  I really apprec...
by Sinan
Sat Jul 02, 2016 10:52 am
Forum: RouterBOARD hardware
Topic: Getting the most out of this forum
Replies: 21
Views: 97871

Re: Getting the most out of this forum

Is it allowed to post some topics for commercial purpose 
I ve some mikrotik scripts made by me and they are not for free 
can i post about them telling people that there is script doing xxxxx and it is not free
by Sinan
Fri Jun 24, 2016 11:01 am
Forum: Scripting
Topic: Script to convert dynamic to static address list
Replies: 6
Views: 2703

Script to convert dynamic to static address list

Good morning/evening everybody , here is a script to convert dynamic to static address list ips You just need to change the name of the list which you want to convert to static  { #Enter the name of the list at the end of the next line: :local na "Facebook" foreach i in=[/ip firewall address-list fi...
by Sinan
Fri Jun 17, 2016 3:59 pm
Forum: Scripting
Topic: Script read variable after reboot
Replies: 3
Views: 1079

Re: Script read variable after reboot

Do you want to do that for each user or for all of them ?
by Sinan
Tue Jun 14, 2016 6:02 pm
Forum: Scripting
Topic: Create a non txt file or modify the type
Replies: 6
Views: 1048

Re: Create a non txt file or modify the type

Since you can't serve this html file from the router, there is no real difference. To serve the file, you will have to move it to another machine. So during this process, you might as well rename it.  I m gonna use it to show the expiring date for the hotspot users so i m gonna use it for the same ...
by Sinan
Tue Jun 14, 2016 6:01 pm
Forum: Scripting
Topic: Create a non txt file or modify the type
Replies: 6
Views: 1048

Re: Create a non txt file or modify the type

Because RouterOS scripting never had functionality to work with files.
file print file is just a workaround that you can use to make file, nothing more.
Yea i read about that .... so i made another workaround to solve the problem
by Sinan
Tue Jun 14, 2016 6:00 pm
Forum: Scripting
Topic: Create a non txt file or modify the type
Replies: 6
Views: 1048

Re: Create a non txt file or modify the type

Thanx all i solve it using fetch from and to the same routerboard 
by Sinan
Tue Jun 14, 2016 1:59 pm
Forum: Scripting
Topic: Create a non txt file or modify the type
Replies: 6
Views: 1048

Create a non txt file or modify the type

Hi all
Since we cant create files at mikrotik only by "file print file=name" and the result will be name.txt 
but i wanna to create file called name.html , i cant neither choose the type neither change the name ...
by Sinan
Sat Jun 11, 2016 12:52 pm
Forum: Scripting
Topic: hotspot & queues user speed limit after x download scripts
Replies: 44
Views: 5825

Re: how to make user bytes out statistics calculate with active user

First you limit the amount of the user in limit-bytes-total or out .. Then in the Fast-speed profile at script on-logout put this script: { :if ($cause="traffic limit reached") do={ /ip hotspot user set profile="profile2" [find name="$user"] /ip hotspot user reset-counters [find name="$user"] }} cha...
by Sinan
Sat Jun 11, 2016 12:46 pm
Forum: Scripting
Topic: Disable several lines in magle and route of a single time
Replies: 2
Views: 569

Re: Disable several lines in magle and route of a single time

I dont get what you want exactly ,but this my help you :
if you want to disable multi-lines in mangles with the same comment "for example comment=line1"
/ip firewall mangle disable [:find comment="line1"]
samething for routes ..
/ip route disable [:find comment="line1"]
by Sinan
Wed Jun 08, 2016 12:26 am
Forum: Scripting
Topic: hotspot & queues user speed limit after x download scripts
Replies: 44
Views: 5825

Re: how to make user bytes out statistics calculate with active user

I can make a script for you to change his profile to slower one after kicking him out what u want can be done but it is not easy .. the script above already identify user who reach limit and i use this script to kick them all :foreach i in=[/ip hotspot active find] do={ /ip hotspot active remove $i...
by Sinan
Tue Jun 07, 2016 1:29 pm
Forum: The User Manager
Topic: Allow 1 user per mac
Replies: 1
Views: 1189

Re: Allow 1 user per mac

Is it possible to allow a specific mac to use only one username?
Follow this tutorial ..... http://forum.mikrotik.com/viewtopic.php?f=9&t=108972
by Sinan
Tue Jun 07, 2016 1:24 pm
Forum: Scripting
Topic: hotspot & queues user speed limit after x download scripts
Replies: 44
Views: 5825

Re: how to make user bytes out statistics calculate with active user

I can make a script for you to change his profile to slower one after kicking him out
what u want can be done but it is not easy ..
by Sinan
Sun Jun 05, 2016 7:21 am
Forum: Scripting
Topic: hotspot & queues user speed limit after x download scripts
Replies: 44
Views: 5825

Re: how to make user bytes out statistics calculate with active user

I dont understand what do you want exactly, when user reach the total limit it will automatically remove from the active, do you want when the user reach the total limit it will change his profile to slower one ?
by Sinan
Sun Jun 05, 2016 7:16 am
Forum: Scripting
Topic: Need Script to auto power ON/OFF poe ports of powerbox based on ntp clock.
Replies: 2
Views: 1099

Re: Need Script to auto power ON/OFF poe ports of powerbox based on ntp clock.

/system scheduler add name="Disable POE" interval=1d start-time=00:00:00 start-date=jun /5/2016 on-event="/interface disable 0" /system scheduler add name="Enable POE" interval=1d start-time=00:07:00 start-date=jun /5/2016 on-event="/interface disable 0" just use this and be sure that the ntp is wor...
by Sinan
Wed Jun 01, 2016 8:13 am
Forum: Scripting
Topic: Lock hotspot user to more than one MAC-address / Lock user to MAC address in user-manager
Replies: 2
Views: 3422

Lock hotspot user to more than one MAC-address / Lock user to MAC address in user-manager

Lock the user of the hotspot on more than one MAC Address: for sure it is safer to lock the username with the MAC address but unfortunately it is only allowed to lock the user to one MAC address and sometimes the user uses more than one deive (laptop, phone , pad ...) so we need to lock that user to...
by Sinan
Tue May 31, 2016 6:01 pm
Forum: Scripting
Topic: Hotspot variable on login/logout with "-" are not working and same for ppp
Replies: 2
Views: 1026

Re: Hotspot variable on login/logout with "-" are not working and same for ppp

You need to use quotes for these variables. Correct syntax:
$"uptime-secs"
Thanx alot ....
by Sinan
Tue May 31, 2016 7:46 am
Forum: Scripting
Topic: Hotspot variable on login/logout with "-" are not working and same for ppp
Replies: 2
Views: 1026

Hotspot variable on login/logout with "-" are not working and same for ppp

Hello mirkotikers i ve a problem with the variables which contain "-" for script on login/logout in hotspot or on-up/down for ppp they are not working, for example $user $username $address $interface are working fine but $mac-address $uptime-secs $bytes-in $bytes-out $bytes-total $packets-in $packet...
by Sinan
Sat May 21, 2016 4:37 pm
Forum: Scripting
Topic: Lock hotspot user to host-name
Replies: 1
Views: 2003

Lock hotspot user to host-name

Since there is a lot MAC changing programs used along with MAC-spoofing programs to hack the users in the hotspot, here is an idea to decrease the effects of that by locking the user logging in to its host-name (the name of his device which is shown at ip>dhcp-server>leases). we add this script at i...
by Sinan
Sat May 21, 2016 4:33 pm
Forum: Scripting
Topic: Automatically Lock the user to MAC address on 1st login
Replies: 1
Views: 3805

Automatically Lock the user to MAC address on 1st login

here is a script to lock the MAC address for the user when he login so nobody can use this user by other MAC address we have to add this user at ip>hotspot>user profile then choose the required profile and add this script at script on-login: :delay 2 :local m [ip hotspot active get value-name=mac-ad...
by Sinan
Sat May 21, 2016 4:25 pm
Forum: Scripting
Topic: how can i limit users according to amount of download ?
Replies: 32
Views: 6332

Re: how can i limit users according to amount of download ?

are you using hotspot , broadband or DHCP ...?
by Sinan
Mon May 16, 2016 10:10 am
Forum: Scripting
Topic: Restricting Active User count in hotspot
Replies: 3
Views: 875

Re: Restricting Active User count in hotspot

Thank you for your reply Sinan! We have added a script already which monitors number of active sessions. Our concern is how will the user know why he/she is not allowed to login. Looking out for a way to show some message or redirect user to a url where we can display prefabricated messages. ok try...
by Sinan
Mon May 16, 2016 10:07 am
Forum: Scripting
Topic: need help to fix this script
Replies: 4
Views: 654

Re: need help to fix this script

thank you
for your help
Sinan
you welcome
by Sinan
Sun May 15, 2016 5:05 am
Forum: Scripting
Topic: Restricting Active User count in hotspot
Replies: 3
Views: 875

Re: Restricting Active User count in hotspot

you can kick them out of the active as soon as they enter if the total limit of the active users exceed the required one try to add this in your user profiles >>> script on login { #add the total allowed number in the end of the next line :local no 10 :local act [:len [ip hotspot active find]] :if (...
by Sinan
Sun May 15, 2016 4:58 am
Forum: Scripting
Topic: need help to fix this script
Replies: 4
Views: 654

Re: need help to fix this script

im creat this script but ineed text file for every user { :local filename "" :local message "" :foreach tmpI in=[/ip hotspot user find where (limit-bytes-total > 0)] do={ :local tmpName value=[/ip hotspot user get $tmpI value-name=name]; :local tmpLimitTotal value=[/ip hotspot user get $tmpI value-...
by Sinan
Sat May 14, 2016 1:48 am
Forum: Scripting
Topic: Quota Measurement and Bandwidth usage control script
Replies: 2
Views: 1600

Quota Measurement and Bandwidth usage control script

Here is a script to measure the bandwidth usage on a specific interface, you can enter the name of the interface on the script and if u have a limitation of bandwidth usage (for example 300GB per month) you can add that limitation and the script will show the remaining number of byte. used upload , ...
by Sinan
Tue May 03, 2016 9:48 am
Forum: Scripting
Topic: Help-Copy comment from usermanager
Replies: 1
Views: 596

Re: Help-Copy comment from usermanager

u cant add comment to dynamic queues
by Sinan
Fri Apr 01, 2016 6:56 am
Forum: Scripting
Topic: Scripting Ideas ??
Replies: 25
Views: 3677

Re: Scripting Ideas ??

Hey Sinan, Here's one for you I've been struggling with. I'm wanting to loop through all wifi channels in the 2.4GHz with a set delay between the channel changes. For example: Frequency 2412, wait 30 seconds, change to 2417, wait 30 seconds, change to 2422, wait 30 seconds, etc... and have it conti...
by Sinan
Sun Mar 20, 2016 5:58 am
Forum: General
Topic: VPN server on mirkotik , can it change the public IP ?
Replies: 3
Views: 541

Re:

If you have an public ip through you are participating in the Internet, you cannot absolutely hide it because otherwise you would loose the connection. You can just send the traffic somewhere (by some kind of tunnel) and masquerade it there to pretend for the rest of the world to be somewhere else....
by Sinan
Fri Mar 18, 2016 4:21 pm
Forum: General
Topic: VPN server on mirkotik , can it change the public IP ?
Replies: 3
Views: 541

VPN server on mirkotik , can it change the public IP ?

Hi everybody
if i install a VPN server on my RB will it hide the public ip of mine when the users connect to my RB ?
by Sinan
Wed Mar 16, 2016 5:54 am
Forum: Scripting
Topic: Suggestion: Certificate for those who post useful scripts
Replies: 5
Views: 1115

Suggestion: Certificate for those who post useful scripts

Hi everybody I'd like to suggest and discuss this idea , i'd like to ask "mikrotik.com" to give those who post useful scripts here a certificate for that as they deserve it and for sure there most be some criteria for that , this will encourage people to post their scripts here which will be very us...
by Sinan
Wed Mar 16, 2016 5:45 am
Forum: Scripting
Topic: Use hotspot html to run terminal command
Replies: 4
Views: 1097

Re: Use hotspot html to run terminal command

i suggest to use a script that generate a random string each day ...
by Sinan
Tue Mar 15, 2016 6:11 am
Forum: General
Topic: Hiding public IP
Replies: 1
Views: 571

Hiding public IP

Hi everybody for security reason i need to hide my public ip form my clients so when they enter goolge it will not appear that i m at my country , making speed test , or searching for whereisip all that will not appear or appear with a fake ip. i tried VPN with pptp and lt2p , but i faced a problem ...
by Sinan
Tue Mar 15, 2016 5:55 am
Forum: Scripting
Topic: Scripting Ideas ??
Replies: 25
Views: 3677

Re: Scripting Ideas ??

it is for the rate of your data , so you can put the rate 32kbps if it is below it , then disable this interface ..... Hi Sinan, I looked at traffic monitor but I get the impresion that its for bandwith not for data passed through the interface.. Am I wrong???? Here goes one... I have 2 3g/4g Ethern...
by Sinan
Mon Mar 14, 2016 6:02 am
Forum: General
Topic: saving data from file
Replies: 2
Views: 425

Re: saving data from file

you can name them in the file like this wire 10.0.0.1 local 192.168.1.5 ddns 8.8.8.8 do this :local fi [/file get value-name=contents "filename.txt"] :local ip1 [:pick $fi 4 ([:find "local"])] :local ip2 [:pick $fi ([:find "local"]+6) ([:find "ddns"])] :local ip3 [:pick $fi ([:find "ddns"]+5) ([:len...
by Sinan
Sun Mar 13, 2016 4:28 pm
Forum: Scripting
Topic: File Print Specific Line
Replies: 1
Views: 849

Re: File Print Specific Line

Hi, I'm trying to make an update script for my vpn password. I fetch a text file with 100 line. I can print all file and editing etc..But i could not fine how to get text from specific line . Password is in 59.line . Is is possible to get it ? you can depend on the word before the password and the ...
by Sinan
Sat Mar 12, 2016 6:22 am
Forum: Scripting
Topic: Scripting Ideas ??
Replies: 25
Views: 3677

Re: Scripting Ideas ??

A script to maintain a list of static DNS entries based on host names found in DHCP leases. Allow the Mikrotik admin to specify the suffix, so a hostname of PC100 gets set as PC100.mycompany.local in the static DNS. I dont get the full idea, but i think this is what you are looking for : (just copy...
by Sinan
Fri Mar 11, 2016 6:33 am
Forum: Scripting
Topic: PPTP Reset
Replies: 2
Views: 821

Re: PPTP Reset

i think you can use the tool netwatch to ping a specific host and if it is down it will run a script , this script will be for resetting the connection
by Sinan
Fri Mar 11, 2016 6:30 am
Forum: Scripting
Topic: Custom hotspot scripting, assistance resolving a bug in the system
Replies: 2
Views: 1046

Re: Custom hotspot scripting, assistance resolving a bug in the system

For the 2nd problem i think just limiting the bytes-out in the default-trial user and choosing a suitable profile will solve the problem ....
by Sinan
Fri Mar 11, 2016 6:18 am
Forum: Scripting
Topic: Custom hotspot scripting, assistance resolving a bug in the system
Replies: 2
Views: 1046

Re: Custom hotspot scripting, assistance resolving a bug in the system

The first problem is because there is a "default-trial" user which can't be removed or changed , so when you are trying to remove all users , an error will happen , to solve that use this to remove all the users:
/ip hotspot user remove [find name!=default-trial]
by Sinan
Fri Mar 11, 2016 5:54 am
Forum: Scripting
Topic: Scripting Ideas ??
Replies: 25
Views: 3677

Re: Scripting Ideas ??

Here goes one... I have 2 3g/4g Ethernet routers that i am using as Wan1 and Wan2 links. What I am trying to do is the following: all traffic should go out Wan1 until I hit my data limit. The Telco gives me full speed of 4-20G until I hit my limit then throttles me to 32K. So the switch mechanism c...
by Sinan
Thu Mar 10, 2016 6:21 am
Forum: Scripting
Topic: Some Music
Replies: 10
Views: 15842

Re: Some Music

This is really Awesome
by Sinan
Thu Mar 10, 2016 6:13 am
Forum: Scripting
Topic: Scripting Ideas ??
Replies: 25
Views: 3677

Scripting Ideas ??

Hi everybody
I want to measure my abilities with mikrotik scripting language (only mikrotik scripting no API)
so if anyone has an idea for script i ll try to solve it for him
by Sinan
Thu Mar 10, 2016 6:08 am
Forum: Scripting
Topic: script to remove hotspot user how reached total bytes limit
Replies: 6
Views: 3096

Re: script to remove hotspot user how reached total bytes limit

or simply add this in the hotspot user profile
script on log-out
{
:if ($cause="traffic limit reached") do={
/ip hotspot user remove [find name="$user"]
}
much simpler !!
by Sinan
Fri Jan 29, 2016 9:01 am
Forum: Beginner Basics
Topic: 2 wans (not balanced)
Replies: 3
Views: 371

Re: 2 wans (not balanced)

what are using for LAN1&LAN2 hotspot , broadband or just DHCP ?
by Sinan
Thu Dec 03, 2015 5:38 am
Forum: General
Topic: VPN and 2 WANs
Replies: 2
Views: 554

Re: VPN and 2 WANs

Add a Firewall Rule allowing the IP address of the remote VPN server via the Wan interface you want, and block the access to the another wan for the IP of the remote VPN server. I has the same scenario and that's what I do, but I don't has Load balance. Can you please show me how to do that. and by...
by Sinan
Wed Dec 02, 2015 6:37 am
Forum: General
Topic: VPN and 2 WANs
Replies: 2
Views: 554

VPN and 2 WANs

Hi everybody
i wanna setup a PPTP client on my routerboard which is RB2001UiAS , also i m running a load balancing between two WANs on the same router , i wanna the PPTP client works on one of the WANs only , how can i specify that on the PPTP Client , i mean work only on WAN 1 for example ?
by Sinan
Mon Nov 30, 2015 12:10 pm
Forum: General
Topic: Routing google to specific WAN
Replies: 2
Views: 640

Re: Routing google to specific WAN

This is not going to work. Certainly not when you make typing errors like in your example, but that is probably because it is not google you want to route but some other domain you do not want to mention, and this config is not cut-and-paste. However, what you are doing here is affecting traffic th...
by Sinan
Sun Nov 29, 2015 7:27 am
Forum: General
Topic: Routing google to specific WAN
Replies: 2
Views: 640

Routing google to specific WAN

HI everybody i ve 2 WANs and i wanna the google to work only in one of them , i m using RB2011 and i did this chain=prerouting action=add-dst-to-address-list address-list=google address-list-timeout=0s in-interface=LAN connection-mark=no-mark content=www,google.com log=no log-prefix="" chain=prerout...
by Sinan
Tue Nov 24, 2015 6:24 am
Forum: General
Topic: Its Urgent Please....!! Mikrotik PPPoE Client Not Working.
Replies: 25
Views: 4024

Re: Its Urgent Please....!! Mikrotik PPPoE Client Not Working.

I m having the same problem with the same configuration i try to be a PPPOE client on TP-Link router and it is worked while PPPOE client on RB is not working Hello Sinan! Could you please let me know how do you config. your Ubiquti network gears link to get connected to TP-Link? All your PtP airgri...
by Sinan
Tue Nov 24, 2015 5:46 am
Forum: General
Topic: Its Urgent Please....!! Mikrotik PPPoE Client Not Working.
Replies: 25
Views: 4024

Re: Its Urgent Please....!! Mikrotik PPPoE Client Not Working.

I m having the same problem with the same configuration
i try to be a PPPOE client on TP-Link router and it is worked while PPPOE client on RB is not working
by Sinan
Wed Nov 11, 2015 3:37 pm
Forum: General
Topic: Installing hotspot on RB and the ISP is also hotspot
Replies: 0
Views: 418

Installing hotspot on RB and the ISP is also hotspot

Hi everybody i ve RB2011UiAS-2HnD and i want to do this for my own reasons : receive the internet from a link which provide the internet service with hotspot then install a hotspot on my RB so when a user connected to it he has to pass through 2 hotspots; mine and that from my ISP , the problem is w...
by Sinan
Tue Nov 10, 2015 6:11 am
Forum: General
Topic: How is responsible for bytes calculation in hotspot ?
Replies: 2
Views: 357

Re: How is responsible for bytes calculation in hotspot ?

bytes is calculated by free radius attributes.if you want facebook to be free then you have to include its domain name in free radius config so that it doesnot include it when calculating bytes used What if i m not using the radius only the hotspot , also if i m using the radius with this how the u...
by Sinan
Mon Nov 09, 2015 3:31 pm
Forum: General
Topic: How is responsible for bytes calculation in hotspot ?
Replies: 2
Views: 357

How is responsible for bytes calculation in hotspot ?

Hi everybody i want to know which part of Mikrotik is responsible for the byte calculation is it NAT,Queues ...etc because i give my users a limited amount of bytes and i want for example facebook to be free , not to be calculated with the others as this possible ? i mean if the user statics read 29...
by Sinan
Sat Nov 07, 2015 6:16 am
Forum: The User Manager
Topic: I cannot login to Userman on first initial setup
Replies: 3
Views: 2079

Re: I cannot login to Userman on first initial setup

Dear All I have Hex lite RB720r2 (Version 6.32.3) I want to set up User-Manager with my RouterBoard but when it tried to login to http://[my routerboard ip]/userman it said that "invalid username or password" I try to go around this forum and found that use [/tools user-manager customer print] to v...
by Sinan
Sat Nov 07, 2015 6:13 am
Forum: The User Manager
Topic: IP Range sample for 500 PPPoE User
Replies: 6
Views: 2840

Re: IP Range sample for 500 PPPoE User

Dear all, Can anyone please help me providing the info? I bought a CCR1009 8G 1S 1S+ to configure PPPoE server with usermanager for 500 clients. I'm in confusion using the proper IP address to serve 500 PPPOE client. Can anyone please give me a real template? ether1 will be WAN & ether2 will be LAN...
by Sinan
Sat Nov 07, 2015 6:10 am
Forum: The User Manager
Topic: how to change the Logo?
Replies: 3
Views: 1988

Re: how to change the Logo?

I have upload to the router a logo.gif to user-manager/img/logo.gif also change the location in the setting /um/img/Logo.gif but I can't see the image I have also try to create a new folder in the router called um/img/Logo.gif and still can't see the image what is wrong? maybe image size ? Thanks ,...
by Sinan
Sat Nov 07, 2015 6:08 am
Forum: The User Manager
Topic: How to renew users after validity expires.
Replies: 2
Views: 1502

Re: How to renew users after validity expires.

Dear experts, I'm using PPPoE server with usermanager but I need to know how I can renew users account after validity expired. I don't want to create users every months for my regular clients. Is there any options like, if I put tick marks before the users details it'll automatically renew for the ...
by Sinan
Sat Nov 07, 2015 6:04 am
Forum: General
Topic: Could not connect to [MAC] (port 20561) - timed out!
Replies: 7
Views: 14528

Re: Could not connect to [MAC] (port 20561) - timed out!

at your computer network disable any virtual network and it will work ....
by Sinan
Sat Nov 07, 2015 6:01 am
Forum: Beginner Basics
Topic: can i use mikrotik to limit the bandwidth without using broadband connect or PPP?
Replies: 1
Views: 376

Re: can i use mikrotik to limit the bandwidth without using broadband connect or PPP?

You can add Queues to limit the rate for a specific IP or Interface , from queues simple queue add , you can limit the download/upload speed and apply that to a target , the target will be the IP of the user or you can apply that to the network by using slash notation , example : If your network DHC...
by Sinan
Sat Nov 07, 2015 5:51 am
Forum: Beginner Basics
Topic: 2 WANs. I need to forward to specific wan depending on source port
Replies: 3
Views: 1276

Re: 2 WANs. I need to forward to specific wan depending on source port

Depending on the ports number mark their connection using firewall mangles , then mark their routing , and at ip routes use these marks for forwarding to specific WANs , example let's say you want to forward port 22000 to WAN1 and port 33000 to WAN2 use these: chain=prerouting action=mark-connection...
by Sinan
Thu Nov 05, 2015 3:55 pm
Forum: General
Topic: Stop Autologin in Hotspot
Replies: 2
Views: 2725

Re: Stop Autologin in Hotspot

I have configured hotspot in Mikrotik RB450G with radius. Once the user has logged in, then at a later stage when the user wants to relogin, he is able to automatically login. I want to stop this. I want that whenever any user wants to login, that user gets the login screen. I also want that the us...
by Sinan
Wed Nov 04, 2015 2:57 pm
Forum: General
Topic: 2 pptp client
Replies: 3
Views: 377

Re: 2 pptp client

Just configure your modems to be on 4 different IP networks, setup the 4 networks on the 4 interfaces, and configure PPTP to use those addresses. (PPTP operates on top of an IP connection between router and modem) Can u explain how ?? all the modems use DHCP , The gateways are 10.222.1.1 192.168.0....
by Sinan
Wed Nov 04, 2015 5:08 am
Forum: General
Topic: 2 pptp client
Replies: 3
Views: 377

2 pptp client

hi everybody
i m using RB2011
i have 4 WANs
how can i make 2 pptp to specific interfaces only
for example ether1>pptp1 and the output of it ether2
ether3>pptp2 and the output of it ether4
ether5 and ether6 for WAN3 and WAN4
can anyone help me ?
by Sinan
Sun Nov 01, 2015 5:21 pm
Forum: Beginner Basics
Topic: out of hotspot traffic
Replies: 4
Views: 668

Re: out of hotspot traffic

Help me please ....
by Sinan
Fri Oct 09, 2015 7:02 am
Forum: Beginner Basics
Topic: Hotspot Reset-counters
Replies: 1
Views: 433

Hotspot Reset-counters

Hi everone
i've a problem when i push reset counter for single user in hotspot throught Winbox all the counters of the other users are also reseted
aslo i ve a question if i push reset counters by mistake how can i undo that ???
by Sinan
Fri Oct 02, 2015 12:43 am
Forum: Beginner Basics
Topic: Load Balancing
Replies: 7
Views: 1174

Re: Load Balancing

You have to mangle inbound traffic and make sure it routes back out via the same IP as it arrived on.
Can you please show me how to do that ??
by Sinan
Thu Oct 01, 2015 2:03 pm
Forum: Beginner Basics
Topic: Load Balancing
Replies: 7
Views: 1174

Re: Load Balancing

Could be tricky depending what you are doing but it is absolutely possible one way or another.
can you please give me some advises on how to do the port forwarding with PCC
by Sinan
Tue Sep 29, 2015 12:43 pm
Forum: Beginner Basics
Topic: Load Balancing
Replies: 7
Views: 1174

Load Balancing

Hi everybody
i have to WANs and i want to do load balancing
which type is the best , PCC, NTH ...etc
also consider one of the WAN is fiber optic and the other is from V-sat
so i want to forward some application (VOIP for example) to the fiber line is there any way to do that ??
by Sinan
Fri Sep 18, 2015 5:38 am
Forum: Beginner Basics
Topic: out of hotspot traffic
Replies: 4
Views: 668

Re: out of hotspot traffic

Which Rb. Model you use. If Rb have extra ether port than connect the Web server to separate. Interface. Or simply set static ip for server and put some firewall rule to bypass hot spot. For this ip address. i m using RB2011 and i ve extra port i wanna setup game serve, internal VOIP...etc how can ...
by Sinan
Sun Sep 13, 2015 6:30 am
Forum: Beginner Basics
Topic: out of hotspot traffic
Replies: 4
Views: 668

out of hotspot traffic

Hello i m using both hotspot and user-manager on my RB to access the internet for my clients i ve an internal server can anybody help me to put this server out of the hotspot traffic so it will not be limited by the speed rate nor by the the limited amount for example if i give each user amount of 1...
by Sinan
Thu Sep 10, 2015 5:50 am
Forum: The User Manager
Topic: Code for the remaining bytes in user-manager
Replies: 1
Views: 1040

Code for the remaining bytes in user-manager

Hi everybody
is you know there is a code to show the remaining data on hotspot :
$(remain-bytes-total-nice)

is there a code like that for user-manager ???
by Sinan
Thu Sep 10, 2015 5:40 am
Forum: Beginner Basics
Topic: Code for the remaining bytes in user-manager
Replies: 0
Views: 323

Code for the remaining bytes in user-manager

Hi everybody
is you know there is a code to show the remaining data on hotspot :
$(remain-bytes-total-nice)

is there a code like that for user-manager ???
by Sinan
Thu Sep 10, 2015 5:37 am
Forum: Beginner Basics
Topic: Firewall>>Connections
Replies: 0
Views: 337

Firewall>>Connections

Hi everybody
is there anyway to limit the number of the connection for each user on hotspot or user-manager ??
by Sinan
Wed Sep 09, 2015 6:06 am
Forum: Beginner Basics
Topic: Game server on mikrotik
Replies: 15
Views: 1844

Re: Game server on mikrotik

Can you draw a diagram at all?
Image
http://im85.gulfup.com/902W3C.jpg
where is the gameserver?
edit: thank you
On the laptop connected to the routerboard
thanx a lot for help
by Sinan
Wed Sep 09, 2015 5:48 am
Forum: Beginner Basics
Topic: Game server on mikrotik
Replies: 15
Views: 1844

Re: Game server on mikrotik

Can you draw a diagram at all?
Image
http://im85.gulfup.com/902W3C.jpg
by Sinan
Wed Sep 09, 2015 5:28 am
Forum: General
Topic: how to forward ports ?
Replies: 2
Views: 534

Re: how to forward ports ?

Hi everybody how are you i want to setup a game server for call of duty 2 on my routerboard so the users connected to it can play together anybody has an idea how to do that ? these are the ports and the protocols 28960 tcp,udp Call of Duty 2 Common Call of Duty 2 (PC Version) (unofficial) 20500,20...
by Sinan
Wed Sep 09, 2015 5:24 am
Forum: Beginner Basics
Topic: Game server on mikrotik
Replies: 15
Views: 1844

Re: Game server on mikrotik

To allow hotspot authenticated users access to your game server, add the following rule(s) under ip->firewall->filter rules: chain=forward in-interface="hotspot WiFi interface" dst-address="ip of game server" protocol=tcp/udp dst-port="game ports separated by comma" action=accept Don't forget you a...
by Sinan
Wed Sep 09, 2015 4:43 am
Forum: Beginner Basics
Topic: Game server on mikrotik
Replies: 15
Views: 1844

Re: Game server on mikrotik

To allow hotspot authenticated users access to your game server, add the following rule(s) under ip->firewall->filter rules: chain=forward in-interface="hotspot WiFi interface" dst-address="ip of game server" protocol=tcp/udp dst-port="game ports separated by comma" action=accept Don't forget you a...
by Sinan
Wed Sep 09, 2015 4:05 am
Forum: Beginner Basics
Topic: Game server on mikrotik
Replies: 15
Views: 1844

Re: Game server on mikrotik

ok thanx a lot
by Sinan
Wed Sep 09, 2015 3:58 am
Forum: Beginner Basics
Topic: Game server on mikrotik
Replies: 15
Views: 1844

Re: Game server on mikrotik

Thanx Tony but how can i do that !!!
by Sinan
Mon Sep 07, 2015 3:08 pm
Forum: Beginner Basics
Topic: Game server on mikrotik
Replies: 15
Views: 1844

Game server on mikrotik

Hello everybody i m new here i've a small network (satellite isp + routerboard & omnitik) on the router board i installed a hotspot server so the users can access to the internet through it i m using the omintik as a wireless transmitter only and the users receive it signal through any receiving dev...
by Sinan
Mon Sep 07, 2015 1:10 pm
Forum: General
Topic: how to forward ports ?
Replies: 2
Views: 534

how to forward ports ?

Hi everybody how are you i want to setup a game server for call of duty 2 on my routerboard so the users connected to it can play together anybody has an idea how to do that ? these are the ports and the protocols 28960 tcp,udp Call of Duty 2 Common Call of Duty 2 (PC Version) (unofficial) 20500,205...
by Sinan
Sun Sep 06, 2015 8:58 am
Forum: General
Topic: Game server on mikrotik
Replies: 4
Views: 683

Re: Game server on mikrotik

Help me plz
these are the ports and the protocols
28960 tcp,udp Call of Duty 2 Common Call of Duty 2 (PC Version) (unofficial)
20500,20510,28960 udp applications Call of Duty Portforward
28960 tcp applications Call of Duty Portforward
20500,20510,28960 udp applications Call of Duty 2
by Sinan
Fri Sep 04, 2015 5:39 am
Forum: General
Topic: Game server on mikrotik
Replies: 4
Views: 683

Re: Game server on mikrotik

any help pllllllllllllllz
by Sinan
Wed Sep 02, 2015 6:00 am
Forum: General
Topic: Game server on mikrotik
Replies: 4
Views: 683

Re: Game server on mikrotik

does it need a port it is an internal server ?
by Sinan
Tue Sep 01, 2015 7:13 am
Forum: General
Topic: Game server on mikrotik
Replies: 4
Views: 683

Game server on mikrotik

Hello everybody i m new here i've a small network (satellite isp + routerboard & omnitik) on the router board i installed a hotspot server so the users can access to the internet through it i m using the omintik as a wireless transmitter only and the users receive it signal through any receiving dev...