Routerboard tips

  • Published on

  • View

  • Download




RouterOS Tips #15.0 kometchtech / #ipv6study RouterOS v6.4 2013912 ForumRC 6.4 support build RB2011UAS(ROSv6.2) CPU600MHz650MHz CPU RB2011UAS(ROSv6.2) Forum ROS6.1 CPU 6.3 CCR1016ROSv6.2 Down Clock CCR1016ROSv6.2 1.2GHz800MHzDown Clock 2W100mA (6.3 RB2011RB750RB951G ROSv6.2SWchip ROSv6.1 f=1&t=74948 OpenFlowROSv6.1 ROSv6.1OpenFlow ROSv6.2GUI IPv6ROSv6.0 IPoEIPv6 PPPoE NTT IPv6ROSv6.0 IPv6 Server IPv6 Client IPv6RA OS MetaRouter RBROSOS OpenWRT BSD () MikroTikLatvia Latvia Zabbix Agent () Zabbix MikrotikSNMP 8/manual/cookbook/specific?s[]=mikrotik Latvia RouterOSScript Script Script Scripting-examples Lua configbackup log info "///---->backup" global backupfile ([/system identity get name]. ".backup") if ([/file find name=$backupfile] != "") do={/file rem $backupfile} delay 5s global logMessages; set logMessages "" foreach i in=[/log find ] do={ set logMessages ($logMessages. [/log get $i time ]. " "); set logMessages ($logMessages. [/log get $i message ]); set logMessages ($logMessages. "n") } delay 5s /system backup save name=$backupfile delay 10s /tool e-mail send server= port=587 user= USER password=PASSWORD start-tls=yes subject=Backup file=$backupfile body=("Name ". [/system identity get name]. ". n done: ". [/system clock get time]. " ". [/system clock get date]. " n____________________n n Uptime: ". [/system resource get uptime]. "n free memory: ". [/system resource get free-memory]. " from ". [/system resource get total-memory]. " kb. n Free space: ". [/system resource get free-hdd-space]. " from ". [/system resource get total-hdd-space]. " kb. n bad blocks: ". [/system resource get bad-blocks]. " %. n CPU USE: ". [/system resource get cpu-load]. " % n____________________n n log: n n". $logMessages. " n____________________ n". [/system identity get name]) log info "///----> mail" delay 20s /file remove $backupfile log info "///---->done" /file remove $backupfile configbackup Web html CCR1016-12G DDR3-SODIMM 4GB Firewall Rules 1. Filter Rule 2. NAT Rule 3. Mangle Rule a. '' RouterOS NAT Mangle http://www.mikrotik. com/documentation/manual_2.7/IP/Firewall. html Filtering Filtering Rule /ip firewall mangle add action=mark-connection chain=prerouting connection-state=new in-interface=internal new-connection-mark=21ip per-connection-classifier= both-addresses-and-ports:2/0 add action=mark-connection chain=prerouting connection-state=new in-interface=internal new-connection-mark=gmobb per-connection-classifier=both-addresses-and-ports:2/1 add action=mark-routing chain=prerouting connection-mark=21ip in-interface= internal new-routing-mark=21ip passthrough=no add action=mark-routing chain=prerouting connection-mark=gmobb connection-state=new in-interface=internal new-routing-mark=gmobb passthrough=no /ip firewall nat add action=masquerade chain=srcnat comment="Fix for an L2TP src-address bug" src-address= to-addresses= add action=masquerade chain=srcnat connection-mark=21ip out-interface=21ip add action=masquerade chain=srcnat connection-mark=gmobb out-interface=gmobb Dude 4.0beta3 The Dude is free of charge! Auto network discovery and layout Discovers any type or brand of device Device, Link monitoring, and notifications Includes SVG icons for devices, and supports custom icons and backgrounds Easy installation and usage Allows you to draw your own maps and add custom devices Supports SNMP, ICMP, DNS and TCP monitoring for devices that support it Individual Link usage monitoring and graphs Direct access to remote control tools for device management Supports remote Dude server and local client Runs in Linux Wine environment, MacOS Darwine, and Windows Best price/value ratio compared to other products (free of charge) Dude Dude(Bandwidth test) Dude MikroTik