Community discussions

MikroTik App

Search found 10 matches

by wil
Wed May 23, 2018 3:02 pm
Forum: Scripting
Topic: l2tp-client per script enable not consistent working
Replies: 6
Views: 850

Re: l2tp-client per script enable not consistent working

Hi, I had the same issue. If I added a "/interface l2tp-client print" before accessing the element it worked for me every time. Looks like the interpreter needs to evaluate the elements in a category first before you can reliably access the elements. It makes no difference if you try to access via e...
by wil
Sun Feb 26, 2017 11:22 pm
Forum: Scripting
Topic: getting IP of DSL interface
Replies: 3
Views: 691

Re: getting IP of DSL interface

Not sure why you want to use the loop though or why are you not putting this script on a scheduler to run every few minutes. That is how I'm doing it along with an http "myip" service I have set up. Can't post code right now but if needed I will tomorrow. Hi macns, I have a check to see if the IP a...
by wil
Sat Feb 25, 2017 10:55 pm
Forum: Scripting
Topic: getting IP of DSL interface
Replies: 3
Views: 691

Re: getting IP of DSL interface

Apparently the snippet

:local ifaddr [/ip address get [find interface=dsl-line]]

also return sometimes the IP address of the 3G backup link instead of the DSL one. Could there be a race condition if the script is triggered by the via "on-up" in the ppp profile?
by wil
Wed Jan 25, 2017 1:46 am
Forum: General
Topic: ipv6 link local address @ bridge
Replies: 3
Views: 974

Re: ipv6 link local address @ bridge

Hi, I tried to reproduce the issue on another router. But I could not reproduce the missing link local address on the bridge interface regardless of auto-mac yes or no. Maybe it was just a glitch with my configuration that has been carried over from ROS v5 times. Anyway thanks for taking a look! Bye...
by wil
Mon Jan 23, 2017 7:24 pm
Forum: General
Topic: ipv6 link local address @ bridge
Replies: 3
Views: 974

ipv6 link local address @ bridge

Hi,

Is it new behavior in v6.38 that the bridge interfaces only get a IPv6 link local address if auto-mac=yes? This got me wondering why my router advertisement stopped working after the upgrade from v6.37.3 for a moment. Can anybody confirm my assumption?

Greetings,
Wil
by wil
Wed Jan 04, 2017 4:50 pm
Forum: Scripting
Topic: getting IP of DSL interface
Replies: 3
Views: 691

getting IP of DSL interface

Hi, I use a script to update the IP at my DDNS provider. The router has a DSL line (pppoe) and a 3G fallback. Only the IP of the DSL line should be used to update DDNS. So I did this: :foreach ipv4addr in=[/ip address get [find interface=dsl-line] address] do= { :local newaddr [:pick $ipv4addr 0 [:f...
by wil
Sun Jan 01, 2017 11:28 pm
Forum: General
Topic: map lite as VPN client for serving IPv6 prefix
Replies: 0
Views: 399

map lite as VPN client for serving IPv6 prefix

Hi, I have been playing around with using the map lite as a VPN client in an IPSec/L2TP setup. I finally got it to work but there are a few stumbling blocks: It seems there is no way for assigning the DNS servers in the l2tp-client for DNS resolution. It works by adding the private IP of the DNS ser...
by wil
Wed Oct 07, 2015 10:36 pm
Forum: Announcements
Topic: Manual Improvements
Replies: 94
Views: 20712

Re: Manual Improvements

The manual made it quite difficult to figure some details out for me. These are some things that I want to point out particularily: * IPv6: The basic setup was actually reasonable well described in examples, but if you get dynamic prefixes from your ISP then there are parts that are not covered by t...
by wil
Mon Oct 06, 2014 12:14 am
Forum: General
Topic: ppp profile incoming/outgoing-filter for IPv6?
Replies: 0
Views: 720

ppp profile incoming/outgoing-filter for IPv6?

Hi, Is there some way to get incoming/outgoing-filter to work with IPv6? It seems like the dynamic firewall rules that are created when a PPP connection with the filter properties is established, are only created for IPv4 but not for IPv6. I want to use this to control IPv6 network access for L2TP c...
by wil
Mon Jun 16, 2014 10:51 pm
Forum: General
Topic: v6.15 released
Replies: 302
Views: 106685

Re: v6.15 released

I used in the ppp profile the incoming-filter options for handling the traffic from the inbound l2tp/ipsec connections. In 6.13 i had the problem that the dynamic firewall rule in the "ppp" chain would be marked as invalid. Any change in the "ip firewall filter" menu would fix the problem by removin...