Browse Source

modifié : routeros/mikrotik.rsc

master
Sébastien Faton 11 months ago
parent
commit
6a815d5260
  1. 4
      routeros/mikrotik.rsc

4
routeros/mikrotik.rsc

@ -32,6 +32,7 @@ add action=accept chain=forward connection-state=\
established,related,untracked established,related,untracked
add action=accept chain=input dst-port=8291 protocol=tcp src-address-list=\ add action=accept chain=input dst-port=8291 protocol=tcp src-address-list=\
altinea.safe altinea.safe
add action=accept chain=input dst-port=8291 protocol=tcp in-interface=bridge-lan
add action=accept chain=input dst-port=161 protocol=udp src-address-list=\ add action=accept chain=input dst-port=161 protocol=udp src-address-list=\
altinea.safe altinea.safe
add action=accept chain=input dst-port=22 protocol=tcp src-address-list=\ add action=accept chain=input dst-port=22 protocol=tcp src-address-list=\
@ -52,6 +53,9 @@ add action=change-mss chain=forward new-mss=clamp-to-pmtu passthrough=yes \
protocol=tcp tcp-flags=syn protocol=tcp tcp-flags=syn
/ip firewall nat /ip firewall nat
add action=masquerade chain=srcnat out-interface-list=WAN add action=masquerade chain=srcnat out-interface-list=WAN
add action=masquerade chain=srcnat comment="Ex src-nat by ip" disabled=yes log-prefix=185.123.87.x
add action=dst-nat chain=dstnat comment="Ex dst-nat " disabled=yes dst-address=185.123.87.173 dst-port=8443 protocol=tcp src-address=\
185.123.84.200 to-addresses=192.168.88.254 to-ports=443
/ip firewall service-port /ip firewall service-port
set sip disabled=yes set sip disabled=yes
/ip service /ip service

Loading…
Cancel
Save