fix gateway

This commit is contained in:
Pavel Galkin 2026-02-02 17:07:49 +03:00
parent 4bda0b8d71
commit 6f87f6a91b
6 changed files with 6 additions and 0 deletions

View file

@ -319,6 +319,7 @@ else
cat > "$MOUNT_POINT/rw/autorun.scr" <<EOF
/ip dhcp-client remove [find]
/ip address add address=${ADDRESS} interface=ether1
/ip route add dst-address=${GATEWAY}/32 gateway=ether1
/ip route add dst-address=0.0.0.0/0 gateway=${GATEWAY}
/ip dns set servers=${DNS_SERVERS}
/ip service set telnet disabled=yes