Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 21075

Beginner Basics • Re: Nat rules

$
0
0
So I understand that you want to use the same name both inside and outside your local network, is that correct? If not, can you send your current configuration, with sensitive bits redacted?

You can use an address list in your rules, something like this one (example for the WAN interfaces). Don't forget to replace with your values.
Code:
/ip/firewall/address-list/add list=myextname address=<your ext name>/ip/firewall/nat/add action=dst-nat dst-address-list=myextname to-addresses=<internal IP> in-interface-list=WAN [rest of the rule as needed]
NOTE: exposing a NAS to the Internet is very risky. A better solution is to use a VPN when you need the access.

Statistics: Posted by vingjfg — Tue Dec 05, 2023 9:37 am



Viewing all articles
Browse latest Browse all 21075

Trending Articles