Routerboard tips

  • Published on
    25-Aug-2014

  • View
    2.306

  • Download
    3

DESCRIPTION

 

Transcript

RouterOS Tips #15.0 kometchtech / #ipv6study RouterOS v6.4 2013912 http://www.mikrotik.com/download 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 http://forum.mikrotik.com/viewtopic.php? 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 https://www.zabbix.com/documentation/jp/1. 8/manual/cookbook/specific?s[]=mikrotik Latvia RouterOSScript Script Script http://wiki.mikrotik.com/wiki/Manual: Scripting-examples Lua http://wiki.mikrotik.com/wiki/Manual: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=74.125.143.108 port=587 user= USER password=PASSWORD start-tls=yes to=USER@gmail.com from=USER@gmail.com 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 http://kometchtech.blog45.fc2.com/blog-entry-1206. html http://wiki.mikrotik.com/wiki/Manual:Scripting 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=192.168.99.0/24 to-addresses=0.0.0.0 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 http://www.mikrotik.com/thedude 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