Browse Source

Reverted to script from no-config

pull/1/head
Julien Escario 5 years ago
parent
commit
b445906b0e
  1. 30
      routeros/powerbox-init.rsc

30
routeros/powerbox-init.rsc

@ -1,12 +1,20 @@
:delay 15s :delay 15s
/ip dhcp-server remove 0;
/interface bridge port add bridge=bridge interface=ether1
/ip dhcp-client set 0 interface=bridge
/ip firewall filter disable 4
/ip address remove 0
/ip service disable www
/ip service disable www-ssl
/ip service disable ftp
/ip service disable api
/ip service disable api-ssl
/tool bandwidth-server set enabled=no
/interface bridge
add name=bridge
/interface bridge port
add bridge=bridge interface=ether1
add bridge=bridge interface=ether2
add bridge=bridge interface=ether3
add bridge=bridge interface=ether4
add bridge=bridge interface=ether5
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=bridge
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set api disabled=yes
/system clock
set time-zone-name=Europe/Paris
/system ntp client
set enabled=yes server-dns-names=fr.pool.ntp.org
Loading…
Cancel
Save