Community discussions

MikroTik App

Search found 25 matches

by pelli
Fri Apr 14, 2017 10:58 am
Forum: General
Topic: failover
Replies: 0
Views: 508

failover

Hello,
i follow this how for implementation of failover with mark route

http://oriolrius.cat/blog/2016/08/29/in ... -mikrotik/

I have a problem with internal mikrotik service (l2tp client, dns). The internal service don't connect to internet.

Any suggestion?

Thanks
by pelli
Mon Jan 09, 2017 3:15 pm
Forum: Scripting
Topic: script cookie hotspot
Replies: 3
Views: 3703

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 }
Thanks, it's work
by pelli
Thu Jan 05, 2017 1:07 pm
Forum: Scripting
Topic: script cookie hotspot
Replies: 3
Views: 3703

script cookie hotspot

Hello, i need a script for read the mac-address of all cookies in hotspot section and insert all in ip binding bypassed and after remove from cookies list.

Any suggestion?

Thanks
by pelli
Fri Sep 09, 2016 6:46 pm
Forum: The User Manager
Topic: external radius and shared users
Replies: 1
Views: 2956

external radius and shared users

Hello, i have a linux server with freeradius and ldap auth. The authentication is ok but i would set shared users parameter for all user. Is possible in mikrotik?

Thanks
by pelli
Fri Sep 09, 2016 6:43 pm
Forum: Scripting
Topic: failover two wan + routing policy
Replies: 4
Views: 1792

Re: failover two wan + routing policy

I woul use this script for failover  http://wiki.mikrotik.com/wiki/Failover_Scripting Is there any reason you aren't just using that then? Even more so the corrected version I already gave you. See: http://forum.mikrotik.com/viewtopic.php?f=9&t=109691#p544520 i need that all connection go to wa...
by pelli
Fri Sep 09, 2016 6:43 pm
Forum: General
Topic: port forward lost source ip
Replies: 3
Views: 1910

Re: port forward lost source ip

the port forward is ok but all ssh request have source ip 192.168.10.1 . is possible preserve original public ip that request ssh (ex 3.3.3.3 to 192.168.10.200) Sounds like your masquerade rule is the cause. You should only let the masquerade rule apply to traffic leaving your WAN interface. For ex...
by pelli
Tue Sep 06, 2016 10:02 am
Forum: Scripting
Topic: failover two wan + routing policy
Replies: 4
Views: 1792

Re: failover two wan + routing policy

any suggestion? thanks
by pelli
Thu Aug 04, 2016 11:23 am
Forum: Scripting
Topic: failover two wan + routing policy
Replies: 4
Views: 1792

Re: failover two wan + routing policy

any suggestion? thanks
by pelli
Tue Aug 02, 2016 1:20 pm
Forum: General
Topic: port forward lost source ip
Replies: 3
Views: 1910

port forward lost source ip

hello, this is my configuration wan public ip 2.2.2.2 lan router ip 192.168.1.254 lan router ip mikrotik 192.168.1.1 lan internal mikrotik 192.168.10.1 lan internal server 192.168.10.200 i need to forward port 22 from wan to lan internal server the port forward is ok but all ssh request have source ...
by pelli
Thu Jul 21, 2016 1:06 pm
Forum: Scripting
Topic: failover two wan + routing policy
Replies: 4
Views: 1792

failover two wan + routing policy

Hello, i need to implement failover for two wan with routing policy. The scenario is: lan: 192.168.10.0/24 wan1: 192.168.1.0/24  gw 192.168.1.254 wan2: 172.16.10.2/24  gw 172.16.10.1 i need that all connection go to wan1 except  connection to site  google.com to go to wan2 if the wan1 down all traff...
by pelli
Thu Jul 21, 2016 12:58 pm
Forum: Scripting
Topic: failover script
Replies: 4
Views: 2541

Re: failover script

hello, thanks for suggestion... but the script don't work. I have this error: :set PingResult [ping $PingTarget count=1 interface=$InterfaceISP2] syntax error (line 1 column 6) any suggestion? Did you define PingResult first? If you wanna use this script in the console, you need to add { } around t...
by pelli
Wed Jul 20, 2016 11:05 am
Forum: Scripting
Topic: failover script
Replies: 4
Views: 2541

Re: failover script

hello,

thanks for suggestion... but the script don't work. I have this error:

:set PingResult [ping $PingTarget count=1 interface=$InterfaceISP2]

syntax error (line 1 column 6)

any suggestion?

Thanks
by pelli
Mon Jun 27, 2016 1:34 pm
Forum: Scripting
Topic: failover script
Replies: 4
Views: 2541

failover script

Hello,

this script not working in routeros 6.34.6  http://wiki.mikrotik.com/wiki/Failover_Scripting

somebody have a correct version?

Thanks
by pelli
Mon May 25, 2015 12:54 pm
Forum: General
Topic: mikrotik vpn multi site
Replies: 5
Views: 4240

Re: mikrotik vpn multi site

Hi,

Here is a PPTP solution... http://wiki.mikrotik.com/wiki/PPTP_VPN_ ... tal_Office

and here is a L2TP IPsec http://wiki.mikrotik.com/wiki/IPSec_VPN ... ys_BEFVP41


...just disregard the Linksys part....


simple and efficient
Ok, thanks
by pelli
Tue May 12, 2015 8:28 pm
Forum: General
Topic: mikrotik vpn multi site
Replies: 5
Views: 4240

mikrotik vpn multi site

Hello, i would like connect three mikrotik in different site with different lan network mikrotik 1: wan ip: 1.1.1.1 lan ip: 192.168.1.0/24 mikrotik 2: wan ip 2.2.2.2 lan ip: 192.168.2.0/24 mikrotik 3: wan ip 3.3.3.3 lan ip: 192.168.3.0/24 i would like that all private network is reach for all mikrot...
by pelli
Fri Oct 03, 2014 3:00 pm
Forum: General
Topic: basic nat masquerade
Replies: 4
Views: 1962

Re: basic nat masquerade

Move address from ether1 to wan_bridge.
Thanks Jarda...but not resolve the problem.....
by pelli
Thu Oct 02, 2014 7:08 pm
Forum: General
Topic: basic nat masquerade
Replies: 4
Views: 1962

basic nat masquerade

Hello, i have a problem with basic nat rule :? this is my configuration: /interface bridge add mtu=1500 name=lan_bridge add mtu=1500 name=wan_bridge /interface wireless set [ find default-name=wlan1 ] l2mtu=2290 /system logging action set 1 disk-file-name=log set 2 remember=yes set 3 src-address=0.0...
by pelli
Mon Apr 22, 2013 3:31 pm
Forum: Beginner Basics
Topic: mikrotik hotspot: configure exception
Replies: 2
Views: 1672

Re: mikrotik hotspot: configure exception

the mikrotik have configured only 2 port. one port is on gateway network and the second port is configured in hotspot mode. The static client is cabled in same swith (network 172.16.x.x and 192.168.x.x). I would like use hotspot only when client require dhcp address but the hotspot grab all traffic ...
by pelli
Fri Apr 12, 2013 2:58 pm
Forum: Beginner Basics
Topic: mikrotik hotspot: configure exception
Replies: 2
Views: 1672

mikrotik hotspot: configure exception

Hello, i have a problem... i would like use mikrotik hotspot in existing network. the map is this: switch ---> port1 network1 (172.16.0.0/16) port2 network2 (192.168.0.0/16) port3 mikrotik network (hotspot dhcp 10.10.10.1/24) i would use the mikrotik hotspot only when client request dhcp...the clien...
by pelli
Thu Feb 14, 2013 7:03 pm
Forum: General
Topic: hotspot with google account
Replies: 11
Views: 9256

Re: hotspot with google account

:shock:

i would like use google users account for login in hotspot instread of local radius. :D
by pelli
Thu Feb 14, 2013 4:55 pm
Forum: General
Topic: hotspot with google account
Replies: 11
Views: 9256

hotspot with google account

Hello,

is possible to use google account for authenticate hotspot user?

Thanks
by pelli
Wed Nov 28, 2012 3:39 pm
Forum: General
Topic: dhcp server problem
Replies: 0
Views: 571

dhcp server problem

Hello, i have a problem to configure a dhcp server with bridge port. I have an rb411 with two radio module: wlan1 (2.4 ghz) and wlan2 (5 ghz) and one ethernet port ethernet port and wlan2 are bidged with ip 192.168.1.x for internal network i configure ether1 with another ip address (10.0.0.x) for in...
by pelli
Mon Feb 27, 2012 2:52 pm
Forum: General
Topic: userman ticket batch popup
Replies: 1
Views: 719

userman ticket batch popup

Hi, i have a problem. In routeros v4 when i create a hotspot ticket batch appears a popup with new users generated. In routeros v5 the popup does not appear. any suggestion to restore the popup?

Thanks
by pelli
Wed Oct 12, 2011 1:15 pm
Forum: General
Topic: Multi hotspot in same routerboard
Replies: 2
Views: 1194

Re: Multi hotspot in same routerboard

ok, but is not possible create users in userman web interface and assigh user in hotspot1 or hotspot2?

Thanks
by pelli
Fri Oct 07, 2011 5:14 pm
Forum: General
Topic: Multi hotspot in same routerboard
Replies: 2
Views: 1194

Multi hotspot in same routerboard

Hello, i would make multi hotspot in same routerboard device whith different user. Es: hostspot1 -> wlan1 hostspot2 -> ether2 I would like create with userman interface different users for any hotspot: hotspot1 : username john hotspot2: username jeff john can use hotspot1 but not hotspot2 jeff can u...