Community discussions

MikroTik App

Search found 30 matches

by mbaute
Sat Jul 22, 2023 5:53 am
Forum: General
Topic: VPN X ACTIVE DIRECTORY
Replies: 5
Views: 2760

Re: VPN X ACTIVE DIRECTORY

Hi You need to add information about your domain in /ip/dns/static try with this, replacing example.com with your domain name and forward-to with your AD DNS. Remember to keep \\ and $ as they are special characters in regex /ip dns static add forward-to=1.2.3.4 regexp="example\\.com\$" t...
by mbaute
Fri Jul 21, 2023 5:31 am
Forum: General
Topic: Route OpenVPN Traffic to IPSEC
Replies: 7
Views: 980

Re: Route OpenVPN Traffic to IPSEC

you can try viewing in connection tracking or by putting a raw passthrough rule on r2 to see how far are you going ie If you don't see anything on r2 it means that is not leaving r1, and start from there. raw rule will be earlier in case that is a filter issue in openvpn are you pushing routes or ju...
by mbaute
Thu Jul 20, 2023 2:07 am
Forum: General
Topic: IPSec Client Behind NAT [SOLVED]
Replies: 8
Views: 2300

Re: IPSec Client Behind NAT [SOLVED]

nat traversal is an option set on phase 1 config, but by both ends of the tunnel. in your case you are just in the middle doing nat magic. As Kentzo said, you don't need anything else other than dstnat rule and allowing in forward chain.

good luck
by mbaute
Wed Jul 19, 2023 1:59 am
Forum: General
Topic: IPSec Client Behind NAT [SOLVED]
Replies: 8
Views: 2300

Re: IPSec Client Behind NAT [SOLVED]

check with your client if in it's ipsec policy has nat traversal enabled, it should be mandatory in your case. if it is possible also try with ikev2 as it behaves better through nat
by mbaute
Wed Jul 19, 2023 1:48 am
Forum: General
Topic: VPN X ACTIVE DIRECTORY
Replies: 5
Views: 2760

Re: VPN X ACTIVE DIRECTORY

Hi You need to add information about your domain in /ip/dns/static try with this, replacing example.com with your domain name and forward-to with your AD DNS. Remember to keep \\ and $ as they are special characters in regex /ip dns static add forward-to=1.2.3.4 regexp="example\\.com\$" ty...
by mbaute
Tue Jul 18, 2023 9:00 pm
Forum: General
Topic: feature request: src/dst-addr-type connected
Replies: 2
Views: 544

Re: feature request: src/dst-addr-type connected

oh I'm sorry I thought this was america Consider the following: /ip addr add addr=10.1.10.1/24 iface=vlan10 add addr=10.1.20.1/24 iface=vlan20 add addr=10.1.30.1/24 iface=vlan30 /ip fire addr add list=rfc1918 addr=192.168.0.0/16 add list=rfc1918 addr=10.0.0.0/8 add list=rfc1918 addr=172.16.0.0/12 ad...
by mbaute
Tue Jul 18, 2023 7:07 pm
Forum: General
Topic: feature request: src/dst-addr-type connected
Replies: 2
Views: 544

feature request: src/dst-addr-type connected

it can be useful for mangle rules instead of maintaining lists of exclusions. I understand that would be used in prerouting chain and by definition it doesn't know about routes yet, but as address-type=local does get a match, maybe ros also knows netmask of that local address at that stage and infer...
by mbaute
Fri Sep 24, 2021 1:01 am
Forum: General
Topic: Setting up IKEv2 VPN Server behind NAT [SOLVED]
Replies: 57
Views: 17804

Re: Setting up IKEv2 VPN Server behind NAT [SOLVED]

mbaute: "Public IP assigned to Tik": 8.7.6.5 is assigned to ISP's router, not to Tik. Tik is behind this ISP's router, and it gots an internal IP assigned by ISP's router. Is your suggestion considered this fact? Thank you! Yes no problem with that, take it as a form of "extra identi...
by mbaute
Thu Sep 23, 2021 2:05 am
Forum: General
Topic: Setting up IKEv2 VPN Server behind NAT [SOLVED]
Replies: 57
Views: 17804

Re: Setting up IKEv2 VPN Server behind NAT [SOLVED]

Hi danergo, Try setting My ID type as address in your Identity config and put as value in My ID your public IP assigned to tik (i.e 8.7.6.5). /ip ipsec identity add peer=vpn-peer auth-method=digital-signature certificate=vpnserver1 generate-policy=port-strict mode-config=vpn-config policy-template-g...
by mbaute
Sat Jul 31, 2021 8:02 pm
Forum: Scripting
Topic: Multi gateway pppoe and static [SOLVED]
Replies: 6
Views: 2797

Re: Multi gateway pppoe and static [SOLVED]

hi cooling, You shouldn't be doing this at all because it will break most of your nat'd connections over pppoe interfaces (/ip route set [find comment="Test"] gateway=$newgw1,$newgw2; this will do ecmp and multi socket like https will go haywire) Try creating a default route with routing m...
by mbaute
Fri Jun 11, 2021 2:24 am
Forum: General
Topic: Problems with static DNS and Kubernetes
Replies: 2
Views: 1185

Re: Problems with static DNS and Kubernetes

hi ljguerci,

what is the tld of the resources you're adding in mt dns?
some OSs e.g. ubuntu treat .local and such tlds as internal and don't recurse them even if you added a nameserver in network config. Maybe you can try around that, it involves config in resolv.conf or something.

Regards,
by mbaute
Fri Jun 11, 2021 2:03 am
Forum: Wireless Networking
Topic: Capsman dynamic provisioning and MAC ACL
Replies: 8
Views: 4745

Re: Capsman dynamic provisioning and MAC ACL

hi techclerk,

maybe you can try in capsman's access list doing accepts for MACs you want to connect to office network interfaces, and then a general reject for those interfaces. I don't know if it works with dynamic ones but if it doesn't the SSID regex filter should do the trick.

Regards,
by mbaute
Tue Jun 01, 2021 11:05 pm
Forum: Scripting
Topic: Remove Nat Sessions on a specific event
Replies: 22
Views: 10853

Re: Remove Nat Sessions on a specific event

hi adminadmin, Maybe you can play around with recursive routes to check for connectivity. Basically you set that X IP is reachable through gateway1, and Y IP is reachable through gateway2. Then you create your 0.0.0.0/0 using X and Y as gateways, will be your "testers" and with distance yo...
by mbaute
Sun Jan 10, 2021 11:05 pm
Forum: General
Topic: dual wan PCC loadbalancing with GRE tunnel.
Replies: 12
Views: 3472

Re: dual wan PCC loadbalancing with GRE tunnel.

I wish I had your ability to explain things, awesome Thank you, but the thing here is that you've understood it already before reading my explanation; the true measure of that ability is the number of people who didn't before and do after. And here I sometimes question myself 🙂 to automate that add...
by mbaute
Sun Jan 10, 2021 3:47 am
Forum: General
Topic: dual wan PCC loadbalancing with GRE tunnel.
Replies: 12
Views: 3472

Re: dual wan PCC loadbalancing with GRE tunnel.

It seems you didn't get what @mbaute wanted to say, so I'll try to re-word it. The routes learned through OSPF are added to routing table called main , which is used to route packets without any routing-mark assigned. Those rules @mbaute has shown were your own rules from the export, and the sugges...
by mbaute
Sat Jan 09, 2021 2:32 am
Forum: General
Topic: dual wan PCC loadbalancing with GRE tunnel.
Replies: 12
Views: 3472

Re: dual wan PCC loadbalancing with GRE tunnel.

hi, add action=mark-connection chain=prerouting dst-address-type=!local \ new-connection-mark=abspl_conn passthrough=yes per-connection-classifier=\ src-address-and-port:2/0 add action=mark-connection chain=prerouting dst-address-type=!local \ new-connection-mark=sswl_conn passthrough=yes per-connec...
by mbaute
Sat Apr 11, 2020 1:50 am
Forum: General
Topic: need help in vpn
Replies: 12
Views: 3803

Re: need help in vpn

problem seems to be that if ISP A is the primary default gateway, traffic incoming from ISP B will get forwarded to ISP A unless being marked in mangle, to go out through ISP B's gateway. thats why it works when you unplug ISP A. please follow the answer here . As this is for vpn traffic, you can om...
by mbaute
Thu May 24, 2018 12:52 am
Forum: General
Topic: VPNFilter malware [SOLVED]
Replies: 9
Views: 13395

Re: VPNFilter malware [SOLVED]

This thread was locked a couple months ago, but what dvm links is from hours ago. Are you positive sure that we're talking about the same threat?
by mbaute
Tue Mar 06, 2018 4:29 pm
Forum: General
Topic: OVPN Server tap bridged on Windows Clients
Replies: 0
Views: 1006

OVPN Server tap bridged on Windows Clients

Hi all, I'm trying to make my way around the inability to push routes from ovpn server on mt. One idea that came to my mind was to implement tap interfaces, and vía dhcp options set the required routes trough the vpn. Works flawlessly on mac-linux clients, but as always Windows has it's own picture ...
by mbaute
Fri Jan 26, 2018 4:31 pm
Forum: Scripting
Topic: Force DDNS update out WAN1
Replies: 10
Views: 6251

Re: Force DDNS update out WAN1

Find netblocks of dyndns.org and add those to routes. You wouldn't need to resolve anything else from from dyndns.org on wan2 right?

We had the same situation but with mikrotik's own ddns. Works everytime
by mbaute
Mon Oct 17, 2016 9:46 pm
Forum: The Dude
Topic: dude, critical queued bytes for write to db
Replies: 42
Views: 28183

Re: dude, critical queued bytes for write to db

Check if disk path has not changed. By data amount that has been queued it almost seems that no data has been written into db. disk path of dude store or anything else? i get this error to, when i disable enable dude or create backup file dude database, it always show some queued bytes, and it take...
by mbaute
Mon Oct 17, 2016 9:32 pm
Forum: The Dude
Topic: dude, critical queued bytes for write to db
Replies: 42
Views: 28183

Re: dude, critical queued bytes for write to db

same situation with 6.37.1 on x86 vm in esxi, tried mounting a second disk as suggested but problem remains. Also tried moving the vm to an empty RAID10 datastore but the issue still persists. it will show a increasing number in queued bytes until ROS goes on kernel failure and reboot. Already submi...
by mbaute
Sat Oct 15, 2016 1:44 am
Forum: Virtualization
Topic: x86 on ESXi 5.5 HW Settings
Replies: 0
Views: 3086

x86 on ESXi 5.5 HW Settings

Hi, first of all sorry for my english as i'm not a native speaker (spanish, kind of, Uruguay :c) I'm trying to narrow down the reason of random constant crashes with a x86 Dude Server Version 8 VM, running on ESXi 5.5. I thought that checking if I gave proper hardware settings to the VM would be the...
by mbaute
Thu Sep 22, 2016 12:23 am
Forum: General
Topic: PPTP server on Microtik RB
Replies: 2
Views: 1069

Re: PPTP server on Microtik RB

Major update

digging around when i reset the pptp server, the sstp server goes down, same backwards

really odd
by mbaute
Wed Sep 21, 2016 9:00 pm
Forum: General
Topic: PPTP server on Microtik RB
Replies: 2
Views: 1069

Re: PPTP server on Microtik RB

Same here with 3011@6.36.2!! god, thought i was going crazy it happens on every single "server"on /PPP; often in PPTP, but also in SSTP and L2TP only thing that works is what you've suggested, i even create a scheduler to reset servers, but still. Tried changing ports on SSTP tunnels to a ...
by mbaute
Wed Sep 21, 2016 8:57 pm
Forum: Beginner Basics
Topic: PPTP stopped working
Replies: 6
Views: 5650

Re: PPTP stopped working

berkhoff by any chance if you disable PPTP server an re enable on destination does it solve the issue? pulling my hair out with this, but it happens on any Server (PPTP, SSTP , etc)
by mbaute
Fri Oct 16, 2015 11:28 pm
Forum: General
Topic: Certificates problem?
Replies: 4
Views: 2219

Re: Certificates problem?

if anyone interested, i managed to solve the problem. The problem is at the moment when you create the template. Even if you dont specify any key usage when you hit enter in terminal or apply in GUI, it reverts to CA defaults (key-cert-sign, etc), so at signing it signs as a new authority. Solution ...
by mbaute
Mon Jun 08, 2015 3:01 pm
Forum: General
Topic: Certificates problem?
Replies: 4
Views: 2219

Re: Certificates problem?

Updated to 6.29.1, still generating KA client certs. Anyone have info about this?

Regards
by mbaute
Tue May 26, 2015 11:38 pm
Forum: General
Topic: Certificates problem?
Replies: 4
Views: 2219

Re: Certificates problem?

i thought it was that, but after writing in terminal using tab to autocomplete exactly, the problem remains. i mean, writing "sign ca=" and hitting TAB completes with my CA, then add "name=xyz", resulting in "sign ca=CA client-template name=xyz" but again it generates a...
by mbaute
Fri May 22, 2015 4:16 pm
Forum: General
Topic: Certificates problem?
Replies: 4
Views: 2219

Certificates problem?

1st of all sorry for the english you're about to read :c I've been working with SSTP vpn with self signed certificates created with mkt, no problems at all until today. CA, server and 14 client certs (KLAT, KIT and KI flags respectively). Today i wanted to issue a new client certificate, following t...