Community discussions

MikroTik App

Search found 13 matches

by Dani1250
Thu Oct 07, 2021 1:10 am
Forum: Scripting
Topic: Regex for Numeric Range [SOLVED]
Replies: 5
Views: 3723

Re: Regex for Numeric Range [SOLVED]

I have to say thanks again for the help.
by Dani1250
Wed Oct 06, 2021 11:28 pm
Forum: Scripting
Topic: Regex for Numeric Range [SOLVED]
Replies: 5
Views: 3723

Re: Regex for Numeric Range [SOLVED]

Good night, Thanks for the help @msatter and @rextended. What I want to do is check if an IP address is present in an LSA Type 1 and if it belongs to that range I mentioned earlier, so I'm using a regular expression. I solved the problem by putting a dot at the end. My regex expression now is: "...
by Dani1250
Wed Oct 06, 2021 11:10 pm
Forum: Forwarding Protocols
Topic: RIP - Routing table
Replies: 0
Views: 2761

RIP - Routing table

Good night, I'm using Mikrotik chr-6.48.3 version to establish a GRE tunnel over IPsec. And inside the GRE tunnel, I want to use the RIPv2 protocol, but I don't want the "main" routing table to be used, but another separate routing table. When I change in "RIP Settings" the routi...
by Dani1250
Wed Sep 29, 2021 6:09 pm
Forum: Scripting
Topic: Regex for Numeric Range [SOLVED]
Replies: 5
Views: 3723

Regex for Numeric Range [SOLVED]

Good afternoon, I want to get the addresses between 192.168.0.0 and 192.168.63.0 through the regex. My regex expression is: "192\\.168\\.\b([0-9]|[1-5][0-9]|6[0-3])\b" From what I researched the mikrotik does not support "\b". So how can I apply the regex? Any help, I appreciate ...
by Dani1250
Wed Sep 29, 2021 3:27 pm
Forum: Scripting
Topic: Passive parameter in IPsec->Peer [SOLVED]
Replies: 3
Views: 3262

Re: Passive parameter in IPsec->Peer [SOLVED]

Good afternoon,

Problem solved. It is necessary in the script to specify the peer address.
by Dani1250
Mon Aug 30, 2021 7:22 pm
Forum: Scripting
Topic: Passive parameter in IPsec->Peer [SOLVED]
Replies: 3
Views: 3262

Re: Passive parameter in IPsec->Peer [SOLVED]

Good afternoon pe1chl,

I've tried it without passing the "passive" argument in the command and the behavior is the same.
by Dani1250
Fri Aug 27, 2021 4:23 pm
Forum: Scripting
Topic: Passive parameter in IPsec->Peer [SOLVED]
Replies: 3
Views: 3262

Passive parameter in IPsec->Peer [SOLVED]

Good afternoon, I'm using Mikrotik's chr-6.48.3 version to make a script that creates a site-to-site IPsec tunnel. Whenever I run the command "ip ipsec peer add passive=no" via script or console the parameter "passive" is set to "yes" instead of "no". Has anyo...
by Dani1250
Mon Jul 12, 2021 7:40 pm
Forum: Scripting
Topic: LSA Body field
Replies: 8
Views: 1317

Re: LSA Body field

Thanks anyway, I'll have to find some solution.
by Dani1250
Mon Jul 12, 2021 7:28 pm
Forum: Scripting
Topic: LSA Body field
Replies: 8
Views: 1317

Re: LSA Body field

Thank you for your help rextended
by Dani1250
Mon Jul 12, 2021 6:38 pm
Forum: Scripting
Topic: LSA Body field
Replies: 8
Views: 1317

Re: LSA Body field

I can publish the data because it's private and test addresses. I get this: ".id=*81b8ae8;age=169;area=backbone;id=172.16.0.1;originator=172.16.0.1;sequence-number=2147483651;type=router;.id=*81b8a48;age=168;area=backbone;id=172.16.0.3;originator=172.16.0.3;sequence-number=2147483652;type=route...
by Dani1250
Mon Jul 12, 2021 4:57 pm
Forum: Scripting
Topic: LSA Body field
Replies: 8
Views: 1317

Re: LSA Body field

Good afternoon,

I am using OSPF and i wanted to use the IPv4 addresses that are in the Body field in the LSA. That's why I want to use a script.
by Dani1250
Mon Jul 12, 2021 7:26 am
Forum: Scripting
Topic: LSA Body field
Replies: 8
Views: 1317

LSA Body field

Good night, I'm trying to use the LSA Body field data in a script, but all the commands I found on the official website or here on the forum didn't reproduce the expected result because when I run the commands I get nothing. I'll leave an example here: ":put [/routing ospf lsa get [find type=&q...
by Dani1250
Fri Apr 16, 2021 4:06 pm
Forum: General
Topic: IPsec Policy
Replies: 0
Views: 442

IPsec Policy

Good afternoon, I am trying to create a policy in IPsec transport mode that allows only traffic to be encrypted of the subnets I want and not all the traffic. In the figure placed here https://www.dropbox.com/s/67xojmpayi87ohm/Topology.jpg?dl=0 , for example, only that the traffic of administrators ...