interface list member set [find list=POE] disabled=yes
/ip ssh
set forwarding-enabled=no
:for i from=1 to=50 do={/ip firewall address-list add list="user_$i" address="172.16.1.$(($i*5)-4)-172.16.1.$($i*5)"}
/interface list
add name=WAN
/interface list member
add list=WAN interface=wan
/interface wireless export
/interface wireless set wlan1 tx-chain=0,1
/ip dhcp-client add interface=lte
/export hide-sensitive file=myconfig
/interface bridge host print
:foreach i in=[/interface bridge port find where bridge="bro"] do={/interface bridge port set $i pvid=10}
:foreach i in=[/ip fire add find where list=name address~".net"] do={:if ([/ping [/ip fire add get $i value-name=address] interval=1s count=5]>0) do={/ ip fire add set $i timeout=30d}}
You have log=yes (checked), this is the log showing a connection. This is not an error message. Was the client unable to connect to the router?dstnat: in :pppoe-out1 out:(unknown 0), proto TCP (SYN), 110.54.222.111:49667->101.58.69.xx:3389, len48
/ip firewall filter
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
connection-state=established,related
/ip address remove [find address="192.168.88.1/24"]
/ip firewall nat export
/tool user-manager user set [find shared-users=unlimited] shared-users=1
/export hide-sensitive file=export
/ip firewall mangle
add action=accept chain=prerouting dst-address=10.255.255.0/24 in-interface=bridge
/ip firewall filter
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
/ip firewall nat unset [find action=masquerade] out-interface
/ip firewall nat
add action=src-nat chain=srcnat src-address=192.168.0.0/24 dst-address=192.168.0.4 to-address=192.168.0.1
/log print file=log.txt
:if ([/ip route [find gateway=x.x.x.x] distance]=2) do={:log error “True”}
Have tried disabling this?Code: Select all/system logging add topics=debug
So, have you tried without the metal casing?One device has metal casing to give more focus.
:if ( [ :len [/interface wireless registration find] ] <= 0 ) do={ /interface wireless disable wlan1; :log info "No Wireless Users - Wireless Disabled";}
add action=dst-nat chain=dstnat dst-address-type=local dst-address=!192.168.40.1(or router ip) dst-port=80,443 to-addresses=192.168.40.13
https://wiki.mikrotik.com/wiki/Manual:IP/Firewall/NAT* netmap - creates a static 1:1 mapping of one set of IP addresses to another one. Often used to distribute public IP addresses to hosts on private networks
List of available variables:
$user
$username (alternative var name for $user)
$address
$"mac-address"
$interface
/interface bridge
add admin-mac=[/interface ethernet get [find where name="ether1"] mac-address] auto-mac=no name=mybridge
/ip firewall nat
add chain=srcnat out-interface-list=WAN src-address-list=group1 action=srcnat to-address=45.45.45.2
add chain=srcnat out-interface-list=WAN src-address-list=group2 action=srcnat to-address=45.45.45.3
/user add name=user1 group=group1 password=password123
/ip dhcp-server lease print where hostname=“pc” file=$n
/interface bridge set 0 auto-mac=no
/ip address add address=10.100.0.7/24 network=10.100.0.0 interface=bridge1
/tool e-mail send from="rieks@mt.lv" server="159.148.147.198" body="Router down" subject="Router at second floor is down" to="rieks@latnet.lv" port=25 user=rieks password=123abc start-tls=no
/ip route
add distance=1 dst-address=10.11.128.0/24 gateway=bridge
add distance=1 dst-address=10.124.12.0/24 gateway=bridge
add distance=1 dst-address=124.15.25.0/24 gateway=bridge
/ip firewall nat add chain=dst-nat dst-address=192.168.20.10 protocol=tcp dst-port=5060 to-address=192.168.0.5