Port-forwarding in RouterOS

  Рет қаралды 15,033

MikroTik

MikroTik

5 ай бұрын

#mikrotik #routeros #networking #portforwarding

Пікірлер: 15
@supra107
@supra107 4 ай бұрын
You can additionally limit the port forward to WAN in interface list, and if you have a dynamic IP you can make a simple script to pull your current public IP, as it'll be available somewhere in ROS, and save it/update it to an address list with a single entry. After that you set the Dst. address list to that list and now it's a pretty tight port forward rule. The only thing I need to figure out is how to probe local addresses to see if there's a service behind a port, so that the port forward rules can be dynamically turned on and off depending on the client status. Something like UPnP, but assigned manually, therefore safer.
@supra107
@supra107 4 ай бұрын
Well I found a good solution for that problem. Netwatch can do TCP port testing, and it can be used to dynamically turn port forwarding rules on and off. The only caveat is that it can only respond to TCP requests, so it can be used to toggle UDP access only if TCP is also used by the service.
@P0ziii
@P0ziii 4 ай бұрын
Yes i am also curious because i plan to use Failover on 3 WAN interfaces and for this i need dynamic port forwarding rule.
@supra107
@supra107 4 ай бұрын
@@P0ziii The dynamic address list trick seems to be the best. If you can get a script to fire depending on which WAN interface is up or down, you can have it pull your current public IP, update the address list with it, and the rest will click together. Scripting in ROS is it's biggest advantage. It needs a bit of learning but afterwards it becomes one of the most powerful tools at your disposal.
@AndyChernov
@AndyChernov 5 ай бұрын
But input chain goes AFTER dst-nat in packet flow diagram. Why do you add accept rule in input?
@mikrotik
@mikrotik 5 ай бұрын
We fixed it, blame cupid
@tcsoft
@tcsoft 5 ай бұрын
Why not just "Dst. Address List: WAN" instead of "Dst. Address"?
@erazelyou
@erazelyou 5 ай бұрын
Doesn't DSTNAT before the Filter? Why use input not forward? After dstnat, the packet will have dst IP address of the host behind mikrotik, so it is a forward chain
@mikrotik
@mikrotik 5 ай бұрын
You are right, we fixed it
@momensobhy2929
@momensobhy2929 5 ай бұрын
Thank you for this awsome tutorial but i really need how to NTH load balance in routerOS v7 i treid so many times always somthing wrong please provide anything tell us how it works... thank you
@m-electronics5977
@m-electronics5977 2 ай бұрын
How you make that the winbox look so clear on Linux?
@mikrotik
@mikrotik 2 ай бұрын
Winbox let's you zoom in. If that doesn't help, you might have to look into wine settings, i.e. what font it uses.
@m-electronics5977
@m-electronics5977 2 ай бұрын
@@mikrotik I looked in there sometimes but I can't find something😫
@m-electronics5977
@m-electronics5977 2 ай бұрын
@@mikrotik But I find it good that you are using Linux😁
@KenKenay
@KenKenay 5 ай бұрын
easy
How to port forward on MikroTik
10:21
MikroTik
Рет қаралды 88 М.
(3) NAT Router Rules (Port Forwarding) in MikroTik RouterOS
23:04
Category5 Technology TV with Robbie Ferguson
Рет қаралды 56 М.
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 14 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 6 МЛН
One moment can change your life ✨🔄
00:32
A4
Рет қаралды 27 МЛН
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 12 МЛН
Проброс портов на роутерах Mikrotik (Port forwarding)
5:02
Давыд Рыленков
Рет қаралды 55 М.
What are VLANs and how to configure them (pt.1)
13:01
MikroTik
Рет қаралды 46 М.
VLAN & Trunking
5:37
Alitech
Рет қаралды 33 М.
Port Forwarding Step by Step - Mikrotik Tutorial
11:49
Wilmer Almazan / The Network Trip
Рет қаралды 44 М.
Public IP vs. Private IP and Port Forwarding (Explained by Example)
9:40
Subnet Mask - Explained
17:55
PowerCert Animated Videos
Рет қаралды 2,7 МЛН
MikroTips: How to firewall
21:56
MikroTik
Рет қаралды 142 М.
MikroTik Hairpin NAT
4:35
MikroTik
Рет қаралды 34 М.
MikroTik Tutorial 28 - Port Forwarding
7:51
TKSJa
Рет қаралды 211 М.
Easy Art with AR Drawing App - Step by step for Beginners
0:27
Melli Art School
Рет қаралды 15 МЛН
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 5 МЛН
Телефон-електрошокер
0:43
RICARDO 2.0
Рет қаралды 1,3 МЛН