Don't know how to remove an interface from NAT rule
Posted: Fri Feb 13, 2015 4:40 pm
Hi there to all!
It may seem ridiculous, but I can't figure it out, how to remove an interface from a NAT rule.
For example, I have a rule like this:
and I need to remove the out-interface from the rule to obtain something like this:
How do I suppose to do that?
I've tried many variants, like:
and many more. Nothing worked. I know it's somewhere around, but I can't find the solution either.
Can someone help me with that?
It may seem ridiculous, but I can't figure it out, how to remove an interface from a NAT rule.
For example, I have a rule like this:
Code: Select all
[root@MikroTik] /ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; default configuration
chain=srcnat action=masquerade to-addresses=0.0.0.0
src-address=192.168.1.0/24 out-interface=wlan1-gateway log=no
log-prefix=""
Code: Select all
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; default configuration
chain=srcnat action=masquerade to-addresses=0.0.0.0
src-address=192.168.1.0/24 log=no
log-prefix=""
I've tried many variants, like:
Code: Select all
/ip firewall nat
set 0 out-interface=""
#or
set 0 out-interface=none
#or
set 0 out-interface=
#or even
set 0 out-interface=nill
Can someone help me with that?