Community discussions

MikroTik App

Search found 21 matches

by DeadStik
Wed May 15, 2024 2:06 pm
Forum: Beginner Basics
Topic: NAT driving me nuts
Replies: 6
Views: 863

Re: NAT driving me nuts

An alternative to hair-pin nat and split-dns is to put your servers on a different ip scope from the clients.
by DeadStik
Wed May 15, 2024 6:04 am
Forum: Beginner Basics
Topic: Port forwarding over site-to-site wireguard [SOLVED]
Replies: 10
Views: 8922

Re: Port forwarding over site-to-site wireguard [SOLVED]

On R2, disable this firewall rule:
ip firewall filter
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
    connection-state=established,related hw-offload=yes
It will keep your Mangle rules from working correctly.
by DeadStik
Sat Mar 16, 2024 6:25 pm
Forum: Beginner Basics
Topic: Redirect to external Public IP [SOLVED]
Replies: 19
Views: 4778

Re: Redirect to external Public IP [SOLVED]

What Firewall Filter rules do you have? Have you allowed for a Forward from/to external interface?
by DeadStik
Tue Mar 05, 2024 5:47 pm
Forum: Wireless Networking
Topic: Problems aiming nRAY [SOLVED]
Replies: 15
Views: 5062

Re: Problems aiming nRAY [SOLVED]

50 meters is too close to get any exact alignment without the most minute changes. Looks like you have achieved maximum throughput as is.

MCS stands for Modulation Coding Scheme. Has to due with calculating maximum throughput using the number of spatial streams and channel widths, I believe.
by DeadStik
Tue Mar 05, 2024 5:38 pm
Forum: General
Topic: HairPin NAT not working [SOLVED]
Replies: 10
Views: 1321

Re: HairPin NAT not working [SOLVED]

More likely your DST-NAT rule is not working as you intended. Using in-interface or in-interface-list limits the rules to those interfaces which local users do not reach.
by DeadStik
Wed Feb 28, 2024 7:08 pm
Forum: Beginner Basics
Topic: DNS Redirect Sanity Check [SOLVED]
Replies: 3
Views: 768

Re: DNS Redirect Sanity Check [SOLVED]

If the DNS server is in the same IP scope, it would be broken without the masquerade rule. This is the same issue as Hairpin NAT.

If you use an IP outside of your LAN IP scope, there is no need for the rule as the packets would return to the router already.
by DeadStik
Wed Feb 28, 2024 5:20 pm
Forum: Beginner Basics
Topic: DNS Redirect Sanity Check [SOLVED]
Replies: 3
Views: 768

Re: DNS Redirect Sanity Check [SOLVED]

That Rule 4 would only be needed if you were redirecting to another device in your network such as a pi-hole or similar.
by DeadStik
Wed Feb 21, 2024 5:22 pm
Forum: Beginner Basics
Topic: Problem with port forwarding on L009UiGS, double NAT, dynamic WANIP
Replies: 39
Views: 3148

Re: Problem with port forwarding on L009UiGS

You can remove the last 2 rules as the default drop/dst-nat rule performs most of the same purpose.

Or narrow the scope of that last drop rule by adding src-address=192.168.88.0/24
by DeadStik
Wed Feb 21, 2024 4:57 pm
Forum: Beginner Basics
Topic: Problem with port forwarding on L009UiGS, double NAT, dynamic WANIP
Replies: 39
Views: 3148

Re: Problem with port forwarding on L009UiGS

Your last firewall filter is dropping all forwards including LAN to LAN. The previous rule is allowing LAN out WAN so your internet still works, but the loopback is LAN to LAN.
by DeadStik
Sat Feb 03, 2024 5:09 pm
Forum: Wireless Networking
Topic: WiFi inside metal buildings?
Replies: 7
Views: 777

Re: WiFi inside metal buildings?

Outdoor CPE and indoor AP, there is little chance for interference. Two Wi-Fi cards on one device will interfere/cross-talk with one another unless you can find some crazy shielded cards.
by DeadStik
Fri Feb 02, 2024 8:31 pm
Forum: Beginner Basics
Topic: V7 "routing mask"
Replies: 14
Views: 3224

Re: V7 "routing mask"

It is an easy fix! In v7, routing-mark was replaced by routing tables. /routing table add disabled=no fib name="ONE" add disabled=no fib name="TWO" And change routing-mark to routing-table in routes. /ip route add check-gateway=ping distance=1 gateway="FTTC Line 1" rout...
by DeadStik
Fri Feb 02, 2024 8:17 pm
Forum: General
Topic: Port forward from WAN to a host behind Wireguard
Replies: 20
Views: 4480

Re: Port forward from WAN to a host behind Wireguard

This would only be true if all traffic of the server was routed out the WireGuard connection. But if you only want to allow access to some services on the server through the WireGuard connection, you will will need to mark that incoming traffic so that it will return out the WireGuard connection.
by DeadStik
Fri Feb 02, 2024 6:12 pm
Forum: Scripting
Topic: Assigning IP to device on port 4 depending on MAC of device connected to port 5
Replies: 3
Views: 1514

Re: Assigning IP to device on port 4 depending on MAC of device connected to port 5

Could you not just assign the IPs to ether5 and use src-nat without having to script or even change the Notebook IP? /ip address add address=10.150.2.1/24 interface=ether5 network=10.150.2.0 add address=192.168.11.234/24 interface=ether5 network=192.168.11.0 /ip firewall nat add action=src-nat chain...
by DeadStik
Fri Feb 02, 2024 5:43 pm
Forum: General
Topic: Port forward from WAN to a host behind Wireguard
Replies: 20
Views: 4480

Re: Port forward from WAN to a host behind Wireguard

You need 2 firewall mangle rules. First, mark incoming connections from WireGuard interface and then route those connections out the WireGuard interface. Here is mine look like: /ip firewall mangle add action=mark-connection chain=prerouting comment="Mark Incoming WireGuard1 Connection" in...
by DeadStik
Fri Feb 02, 2024 5:25 pm
Forum: General
Topic: Can I netinstall from SFP ?
Replies: 1
Views: 318

Re: Can I netinstall from SFP ?

Connect your device to your computer using an Ethernet cable directly (without any other devices in-between), plug the Ethernet cable into your device's Etherboot port. Most commonly, RouterBOARD devices are able to use Netinstall from their first port (Ether1), or from the port marked with "B...
by DeadStik
Thu Feb 01, 2024 4:04 pm
Forum: Beginner Basics
Topic: Local RouterOS update server - file not found [SOLVED]
Replies: 3
Views: 911

Re: Local RouterOS update server - file not found [SOLVED]

That ability seems to have been depreciated! The built-in looks for a specific file in a specific file structure to know current version and also populate the change log.

You could script your own upgrade and automate that way.
by DeadStik
Thu Feb 01, 2024 1:16 am
Forum: Beginner Basics
Topic: Port forwarding to PiVPN with Wireguard doesn't work
Replies: 3
Views: 871

Re: Port forwarding to PiVPN with Wireguard doesn't work

Your LAN IP is set incorrectly: /ip address add address=192.168.88.1/24 comment=defconf interface=ether2 network=192.168.88.0 This should be interface=bridge since ether2 is attached to the bridge. /ip address add address=192.168.88.1/24 comment=defconf interface=bridge network=192.168.88.0 Also, yo...
by DeadStik
Fri Jan 26, 2024 9:55 pm
Forum: Beginner Basics
Topic: VPN Client on MikroTik hEX-S
Replies: 11
Views: 2582

Re: VPN Client on MikroTik hEX-S

ZeroTier doesn't have to be on your HexS. I have mine running on 2 different hAP AC3 used as access-points, but can run on NAS, RPi or any other device.

The hAP ax lite might make a good/cheap standalone ZeroTier VPN devices.
by DeadStik
Fri Jan 26, 2024 1:17 am
Forum: Beginner Basics
Topic: VPN Client on MikroTik hEX-S
Replies: 11
Views: 2582

Re: VPN Client on MikroTik hEX-S

I use both ZeroTier and WireGuard with SL without issue. ZeroTier is the easiest to configure for remote access, but I use WireGuard to a CHR on DigitalOcean to NAT it's Public IP. Infact, I have 2 ZeroTier one going out Starlink and another out my T-Mobile Home Internet. The WireGuard goes out a T-...
by DeadStik
Fri Jan 26, 2024 12:50 am
Forum: General
Topic: AutoUpgrade via /system/upgrade/download-all does not work
Replies: 5
Views: 847

Re: AutoUpgrade via /system/upgrade/download-all does not work

Is your device you are updating already on v7.12? From the Change Logs: 1. When upgrading by using "check-for-updates", all versions earlier than 7.12 will display 7.12 as the latest available version. Upgrade from v7.12 to v7.13 or later versions must be done through 7.12 in order to conv...
by DeadStik
Tue Jan 23, 2024 11:59 pm
Forum: Beginner Basics
Topic: DHCP and DNS setup
Replies: 3
Views: 922

Re: DHCP and DNS setup

Don't put the router itself as DNS Server in /IP DNS, these should only be other Public/Private Servers like 8.8.8.8 or 1.1.1.1 or just use the provided Dynamic Servers. You should then have no issues when you set 192.168.88.1 as DNS in /DHCP-Server Network.