Community discussions

MikroTik App

Search found 35 matches

by Edoras
Tue Dec 26, 2023 4:58 pm
Forum: General
Topic: l2tp + ipsec + bcp
Replies: 0
Views: 870

l2tp + ipsec + bcp

I created L2TP vpn (ipsec) server (on RouterOS 7.8 ). It works correctly, I can establish VPN connection (from Win10).
But when I enable BCP (//PPP/Profile - Bridge), it has no effect, the L2TP interface is not bridged.
What's wrong?
by Edoras
Mon Jan 18, 2021 8:07 pm
Forum: General
Topic: OVPN wrong netmask
Replies: 1
Views: 519

OVPN wrong netmask

I have trouble with OVPN server. When ovpn user connects to the server, in routing table appears: ADS 192.0.0.0/8 <ovpn-jmarek> 1 Why is there prefix /8 ??? I use ROS 6.48 . interface ovpn-server server print enabled: yes port: 1194 mode: ip netmask: 24 mac-address: FE:F2:63:8D:BE:4B ... default-pro...
by Edoras
Sun Mar 29, 2020 12:43 am
Forum: General
Topic: VLAN bridging performance
Replies: 1
Views: 1321

VLAN bridging performance

I have CCR1036. I use VLAN bridging there. Until now I used VLAN bridging as making VLANs on each port and connect them in the bridge. (vlan100-1 on eth1, vlan100-2 on eth2 and add interfaces vlan100-1 and vlan100-2 to the bridge). I studied documentation and found that this way is wrong. Correct se...
by Edoras
Fri Jan 04, 2019 1:36 am
Forum: General
Topic: Bandwith test works just in one direction
Replies: 3
Views: 1312

Bandwith test works just in one direction

When I'm doing bandwith test between two routerboards, sometime happends, that it runs corectly in one direction, but on second direction it shows 0 Mbps. When I'm doing reverse BT (from the second router back to the 1st one), there is same problem but on the second direction. It is not depended on ...
by Edoras
Fri Aug 03, 2018 4:30 pm
Forum: General
Topic: NAT 1:1 - how to ignore connection tracking
Replies: 4
Views: 2142

Re: NAT 1:1 - how to ignore connection tracking

OK, thanks for explanation.

Is any way, how to solve the problem? Or is it insoluble?
by Edoras
Mon Jul 30, 2018 1:44 am
Forum: General
Topic: NAT 1:1 - how to ignore connection tracking
Replies: 4
Views: 2142

NAT 1:1 - how to ignore connection tracking

Hello, I want to make NAT from local to public IP 1:1 . But I have two internet gateways and it can happends, packet can go thru IGW1 to internet and packet can return thru IGW2. I made same IP FIREWALL NAT rules on both IGWs: ip firewall nat add chain=srcnat action=netmap to-addresses=185.160.20.17...
by Edoras
Thu Mar 01, 2018 11:08 pm
Forum: General
Topic: Two gateways NAT problem
Replies: 7
Views: 1592

Re: Two gateways NAT problem

The way NAT works is that the router keeps a database of open sessions.
Yes, that's what I supposed ... but is there any way, how to switch off this behaviour? I just want NAT 1:1 ... change source or destination IP of packets exactly 1:1 and not check, if the session is opened or not.
by Edoras
Wed Feb 28, 2018 12:52 am
Forum: General
Topic: Two gateways NAT problem
Replies: 7
Views: 1592

Two gateways NAT problem

I have LAN and 2 internet gateways - Mikrotiks CCR. One of the computers in LAN I want to make NAT 1:1 to public IP . The public IP is routed to IGW2, so all trafic from internet to the computer public IP comes through IGW2. But trafic FROM the computer can be sent by both IGWs. Everything works fin...
by Edoras
Wed Jun 21, 2017 8:01 am
Forum: Scripting
Topic: Get IP BROADCAST
Replies: 1
Views: 1204

Get IP BROADCAST

How to get ip broadcast address? :local brdcst [/ip address get [find interface="ether1"] broadcast] doesn't work ... is there any way, how to get it?
by Edoras
Tue Jun 20, 2017 1:36 pm
Forum: Scripting
Topic: get IP ADDRESSES on interface
Replies: 13
Views: 15933

get IP ADDRESSES on interface

I want to use IP of interface in my script. I get IP address by command :global addr [/ip address get [find interface="bridge1"] address] If on the interface is just one IP, it works. But when on the interface are two or more IPs, it displays error message " invalid internal item numb...
by Edoras
Tue Dec 13, 2016 1:24 am
Forum: Scripting
Topic: PHP-API: Delete firewall filter rules, where comment started with "MYRULE" string
Replies: 2
Views: 1755

Re: PHP-API: Delete firewall filter rules, where comment started with "MYRULE" string

Acually I solved that, but I don't like the solution so much ... My sollution: 1. Read all rules from ip/firewall/filter to PHP array. 2. Filter the array. 3. Remove from ip/firewall/filter .id's from the filtered array. It works, but there are 3 steps. Better would be 1 step - just "Remove fro...
by Edoras
Mon Dec 12, 2016 3:45 pm
Forum: Scripting
Topic: PHP-API: Delete firewall filter rules, where comment started with "MYRULE" string
Replies: 2
Views: 1755

PHP-API: Delete firewall filter rules, where comment started with "MYRULE" string

There are a lot of rules in "ip firewall filter". Some of them are commented. Comments starts "MYRULE_<anything>" (for example MYRULE_user1, MYRULE_user2, and so on ...) I need to delete all ip firewall flter rules, where comment started with string "MYRULE_" . I know h...
by Edoras
Thu Apr 07, 2016 10:45 am
Forum: General
Topic: Ethernet ring protocol
Replies: 5
Views: 2708

Ethernet ring protocol

Is planned to implement Ethernet Ring Protocol (G.8032) to RouterOS? It would be very helpfull.
by Edoras
Wed Feb 17, 2016 9:59 pm
Forum: General
Topic: Licence update problem
Replies: 3
Views: 1231

Re: Licence update problem

Yes, usually upgrade works normally. I did upgrade already on a lot of Routeros. But this is the 1st time, when I have trouble with the upgrade. Can helps me please anybody from Mirkotik? I want not throw away hardware, which is normally working, just because some licence was not succesfully updated...
by Edoras
Wed Feb 17, 2016 2:21 pm
Forum: General
Topic: Licence update problem
Replies: 3
Views: 1231

Licence update problem

I have an old mikrotik router RB750. There was an old routeros version (3.30 or 3.something ) I want to make upgrade to last routeros version. I planned to go step by step, by main versions. The 1st step was "system routerboard upgrade". It was done ok. 2nd step: upload routeros 4.17 and r...
by Edoras
Thu Jan 28, 2016 9:28 pm
Forum: Announcements
Topic: Winbox3.0 released!
Replies: 45
Views: 28499

close window session after session broken

When session is broken for any reason (lost connection, restart remote mikrotik, ...), winbox 3.0 session is closed automaticly. In older versions in Winbox 2.x when session was broken, it was just displayed warning "Session closed", but untill I click to "ok" button, window of t...
by Edoras
Fri Jun 12, 2015 9:51 pm
Forum: Wireless Networking
Topic: R52Hn - sometimes Wireless hangs
Replies: 2
Views: 998

Re: R52Hn - sometimes Wireless hangs

I checked log from yesterday evening on the router, where wireless card hangs. There I can see nothing interesting about that. It hangs wlan4 around 22:35. I see, there no message about that. There you can see, I logged there on 22:43 (as user "koci"), disable and enable the wireless card ...
by Edoras
Fri Jun 12, 2015 9:45 am
Forum: Wireless Networking
Topic: R52Hn - sometimes Wireless hangs
Replies: 2
Views: 998

R52Hn - sometimes Wireless hangs

We are using around 200 routers, based on mikrotik devices, usually RB433xx and R52Hn . Two years ago we started to use MIMO technologies (N standards) . Sometimes some of the MIMO links hangs. It is still connected (link in wireless table windows si marked by "R" as connected), usually in...
by Edoras
Fri Feb 13, 2015 4:17 pm
Forum: Wireless Networking
Topic: DFS radar detection without waiting
Replies: 1
Views: 2019

DFS radar detection without waiting

In legislation, it is mandatory to use DFS radar detection. But in real, it is unusefull. In case of Radar detection, the AP immediatelly disable transmission and change the channel. But then it waits at least 1minute, untill it starts transmission. After 1 minute time limit, the wireless started ag...
by Edoras
Fri Sep 27, 2013 8:13 pm
Forum: General
Topic: Multi lines command
Replies: 1
Views: 1573

Multi lines command

I'd like to use script, where will be some command separated on more physical lines. In mikrotik shell it works without any problem by using backslash "\" character on end of line. When I use this command in mikrotik shell, it works ok. ip dns set \ servers=10.89.1.2 But when I create scri...
by Edoras
Thu Sep 26, 2013 10:49 pm
Forum: Scripting
Topic: One command on more lines with plink
Replies: 0
Views: 1047

One command on more lines with plink

I'd like to use script, where will be some command separated on more physical lines. In mikrotik shell it works without any problem by using backslash "\" character on end of line. When I use this command in mikrotik shell, it works ok. ip dns set \ servers=10.89.1.2 But when I create scri...
by Edoras
Thu May 13, 2010 10:06 am
Forum: General
Topic: MIMO and more wireless cards problem
Replies: 18
Views: 6776

Re: MIMO and more wireless cards problem

what about interference? make sure you use professional isolated pigtails, separate the antennas by proper distance, make sure you have an isolated outdoor box (metallic), see if you can't somehow isolate the cards between themselves (metallic sheet wrapped in plastic or something)? Actually we hav...
by Edoras
Thu May 13, 2010 9:34 am
Forum: General
Topic: MIMO and more wireless cards problem
Replies: 18
Views: 6776

MIMO and more wireless cards problem

We started to use MIMO technologies, based on Mikrotik and R52N cards, but I found strange thing: When there is just 1 card inside Mikrotik device (RB800+R52N), MIMO works correctly. Approximatelly 130Mbps (3km distance). But when I add more wireless cards inside this devices, MIMO has big troubles ...
by Edoras
Tue Dec 08, 2009 11:13 pm
Forum: General
Topic: Logging topics description
Replies: 2
Views: 2389

Logging topics description

Hi Does exist any descripton of logging topics? Some of topics are clear, but some of them I don't understand, what they means (read, write, open, notification, calc, manager, ...) . I tried to find those information in documentation, but there I found just list of topics, without any description. T...
by Edoras
Mon Nov 19, 2007 11:52 pm
Forum: General
Topic: Disconnected PPTP disabled IP FIREWALL rules
Replies: 1
Views: 1605

Disconnected PPTP disabled IP FIREWALL rules

v. 3.0rc10 On mikrotik is configured PPTP server. When PPTP is connected, there is interface "pptp-edoras". I made firewall rule based on this interface: "ip firewall filter add chain=forward in-interface=<pptp-edoras> action=accept" . Everything works. BUT! When pptp is disconne...
by Edoras
Thu Aug 09, 2007 11:52 pm
Forum: General
Topic: Mark packet for queue-tree shaping, combined with masquerade
Replies: 0
Views: 864

Mark packet for queue-tree shaping, combined with masquerade

I have Internet gateway. On that computer I want to make masquerade and trafic shaping together. At the 1st version of firewall I mark packets in new chain: 1st 2 lines make jump to one of two chains In every chain I marked connection and then mark packet. Finally I made masquerade. (I have created ...
by Edoras
Thu Aug 09, 2007 11:22 pm
Forum: Beginner Basics
Topic: one set of antenas rx other set tx
Replies: 3
Views: 1897

Re: one set of antenas rx other set tx

want to know if you can help me i want to make a connection to main site but need to have one set TX sending the info and a norther set RX any one with simulator set up or info how to do this .
Do you mean nstreme dual?
by Edoras
Wed Aug 08, 2007 8:49 pm
Forum: Beginner Basics
Topic: Auto login
Replies: 4
Views: 2924

Re: Auto login

EXACTLY!!! :-) That's it!
Thanks janisk!
by Edoras
Wed Aug 08, 2007 9:53 am
Forum: Beginner Basics
Topic: Auto login
Replies: 4
Views: 2924

Re: Auto login

I'd prefer SSH login, but telnet login will help me too.
I tried to make telnet account without password, just limited to source IP, but everytime it asked me for password (everytime I must to click Enter).
How to make script for login without any prompts? (from linux)
by Edoras
Wed Aug 08, 2007 12:47 am
Forum: Beginner Basics
Topic: Auto login
Replies: 4
Views: 2924

Auto login

I need to execute some script on RouterOS automaticly remotely from another computer (Linux). Problem is, I'm not able to connect there automaticly, without any username and password prompt. When I need to do that from linux to another linux machine, I'm using privat and public keys for ssh logging....
by Edoras
Tue Aug 07, 2007 7:10 pm
Forum: Beginner Basics
Topic: setting up ethernet to wlan bridge
Replies: 5
Views: 14176

Re: setting up ethernet to wlan bridge

I can't ping my wireless router or any address on the web. After I setup the bridge do I have to add a route to my gateway? Lee Hi I'm not sure if I understand corectly, but if you configured wlan+eth ports to bridge, then it is working as switch, not as router. So then you don't need to configure ...
by Edoras
Tue Aug 07, 2007 5:02 pm
Forum: Beginner Basics
Topic: Automatic undo configuration, if is not commited in time lim
Replies: 8
Views: 11398

Re: Automatic undo configuration, if is not commited in time lim

I solved that by folowing way: 1. I made backup of RouterOS (system backup save name="backup1") 2. I made new script called "restore", which contains one command: system backup load name="backup1" 3. I created scheduler (system/scheduler) for automatic start the "r...
by Edoras
Tue Jul 17, 2007 10:33 pm
Forum: Beginner Basics
Topic: Automatic undo configuration, if is not commited in time lim
Replies: 8
Views: 11398

Automatic undo configuration, if is not commited in time lim

Is it possible to switch mikrotik in some "special safe mode", where changes must be commited untill some time? If changes will be not commited in time, all changes will be rolls back. I know how clasic safe mode works, but is is not usable for configurations, where session is lost during ...
by Edoras
Wed Apr 05, 2006 1:24 am
Forum: General
Topic: Winbox and another port than 8291
Replies: 2
Views: 2384

In 2.9 RouterOS WinBox is always using this fixed port number (unless 2.8, where you could specify a port number to connect to). Hmmm ... that's bad. Strange is, the communication starts ok ... as I monitored by tcpdump, first packets are really going to the correct port. But then it become crazy a...
by Edoras
Wed Apr 05, 2006 12:16 am
Forum: General
Topic: Winbox and another port than 8291
Replies: 2
Views: 2384

Winbox and another port than 8291

We have in LAN more mikrotik routers, but we have just 1 public ip addres. As gateway we have Linux. I'd like to reach all mikrotik router in LAN from internet, but I have just this 1 IP. (Forgot for VPN for now, please) On the gateway I configured NAT - port 1000 is translated to the 1st mikrotik L...