差異處
這裏顯示兩個版本的差異處。
| 下次修改 | 前次修改 | ||
|
routeros [2017/12/05 00:14] jz 建立 |
routeros [2023/03/25 15:55] (目前版本) jz |
||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== RouterOS ====== | ====== RouterOS ====== | ||
| + | |||
| + | ===== Basic Rule ===== | ||
| + | https://help.mikrotik.com/docs/display/ROS/Building+Your+First+Firewall | ||
| + | |||
| + | ===== winbox for mac ===== | ||
| + | https://github.com/nrlquaker/winbox-mac | ||
| + | |||
| + | ===== Install CHR on Proxmox ===== | ||
| + | <code> | ||
| + | wget https://download2.mikrotik.com/router... | ||
| + | |||
| + | apt-get update | ||
| + | apt-get install unzip | ||
| + | |||
| + | unzip chr-6.44.5.img | ||
| + | |||
| + | qemu-img info | ||
| + | qemu-img resize chr-6.44.5.img +10G | ||
| + | qemu-img info | ||
| + | |||
| + | qm importdisk 100 chr-6.44.5.img local-lvm | ||
| + | </code> | ||
| ===== Failover ===== | ===== Failover ===== | ||
| + | <code> | ||
| + | /ip route | ||
| + | add dst-address=8.8.8.8/32 gateway=10.0.1.1 scope=10 comment="Primary Route to DNS" | ||
| + | add gateway=8.8.8.8 distance=1 check-gateway=ping comment="Primary Route Check" | ||
| + | add gateway=10.0.2.1 distance=2 comment="Secondary" | ||
| + | </code> | ||
| * http://www.prinmath.com/ham/mikrotik-failover.htm | * http://www.prinmath.com/ham/mikrotik-failover.htm | ||
