Advertisement
Guest User

Untitled

a guest
Jul 17th, 2015
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 7.75 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.   MMM      MMM       KKK                          TTTTTTTTTTT      KKK
  40.   MMMM    MMMM       KKK                          TTTTTTTTTTT      KKK
  41.   MMM MMMM MMM  III  KKK  KKK  RRRRRR     OOOOOO      TTT     III  KKK  KKK
  42.   MMM  MM  MMM  III  KKKKK     RRR  RRR  OOO  OOO     TTT     III  KKKKK
  43.   MMM      MMM  III  KKK KKK   RRRRRR    OOO  OOO     TTT     III  KKK KKK
  44.   MMM      MMM  III  KKK  KKK  RRR  RRR   OOOOOO      TTT     III  KKK  KKK
  45.  
  46.   MikroTik RouterOS 6.23rc9 (c) 1999-       http://www.mikrotik.com/
  47.  
  48. [?]             Gives the list of available commands
  49. command [?]     Gives help on the command and list of arguments
  50.  
  51. [Tab]           Completes the command/word. If the input is ambiguous,
  52.                 a second [Tab] gives possible options
  53.  
  54. /               Move up to base level
  55. ..              Move up one level
  56. /command        Use command at the base level
  57. [admin@Web Net Provedor] > ip address print
  58. Flags: X - disabled, I - invalid, D - dynamic
  59.  #   ADDRESS            NETWORK         INTERFACE                                
  60. 0   192.168.6.1/23     192.168.6.0     CLIENTES                                
  61.  1 D 172.17.5.1/32      172.17.5.26     <pppoe-leoni>                            
  62.  2 D 172.17.5.1/32      172.17.5.25     <pppoe-alexandra.morita>                
  63.  3 D 172.17.5.1/32      172.17.5.17     <pppoe-zulma>                            
  64.  4 D 172.17.5.1/32      172.17.5.22     <pppoe-fatima>                          
  65.  5 D 172.17.5.1/32      172.17.5.18     <pppoe-cleide.pereira>                  
  66.  6 D 172.17.5.1/32      172.17.5.27     <pppoe-osman>                            
  67.  7 D xx                 xx               PPOE_1                                  
  68.  8 D xx                 xx               PPOE_2                                  
  69.  9 D 172.17.5.1/32      172.17.5.16     <pppoe-manoel.me>                        
  70. 10 D 192.168.6.252/32   172.17.5.11     <pppoe-hangar>                          
  71. 11 D 172.17.5.1/32      172.17.5.13     <pppoe-jair.santos>                      
  72. 12 D 172.17.5.1/32      172.17.5.34     <pppoe-luciene.marcelo>                  
  73. 13 D 172.17.5.1/32      172.17.5.39     <pppoe-cleber.edio>                      
  74. [admin@Web Net Provedor] >
  75. [admin@Web Net Provedor] > ip firewall filter print
  76. Flags: X - disabled, I - invalid, D - dynamic
  77.  0    chain=input action=accept dst-address=192.168.6.7 log=no log-prefix=""
  78.  
  79.  1 X  ;;; place hotspot rules here
  80.       chain=unused-hs-chain action=passthrough log=no log-prefix=""
  81.  
  82.  2    ;;; Drop ssh brute forcers
  83.       chain=input action=drop protocol=tcp src-address-list=ssh_blacklist
  84.       dst-port=22 log=no log-prefix=""
  85.  
  86.  3    chain=input action=add-src-to-address-list connection-state=new
  87.       protocol=tcp src-address-list=ssh_stage3 address-list=ssh_blacklist
  88.       address-list-timeout=4w2d dst-port=22 log=no log-prefix=""
  89.  
  90.  4    chain=input action=add-src-to-address-list connection-state=new
  91.       protocol=tcp src-address-list=ssh_stage2 address-list=ssh_stage3
  92.       address-list-timeout=1m dst-port=22 log=no log-prefix=""
  93.  
  94.  5    chain=input action=add-src-to-address-list connection-state=new
  95.       protocol=tcp src-address-list=ssh_stage1 address-list=ssh_stage2
  96.       address-list-timeout=1m dst-port=22 log=no log-prefix=""
  97.  
  98.  6    chain=input action=add-src-to-address-list connection-state=new
  99.       protocol=tcp address-list=ssh_stage1 address-list-timeout=1m dst-port=22
  100.       log=no log-prefix=""
  101.  
  102.  7    chain=input action=accept protocol=tcp dst-port=8080 log=no log-prefix=""
  103. [admin@Web Net Provedor] > ip firewall nat print
  104. Flags: X - disabled, I - invalid, D - dynamic
  105.  0 X  ;;; place hotspot rules here
  106.       chain=unused-hs-chain action=passthrough log=no log-prefix=""
  107.  
  108.  1    chain=srcnat action=masquerade out-interface=PPOE_2 log=no log-prefix=""
  109.  
  110.  2    chain=srcnat action=masquerade out-interface=PPOE_1 log=no log-prefix=""
  111.  
  112.  3    ;;; WINBOX
  113.       chain=dstnat action=dst-nat to-ports=8291 protocol=tcp dst-port=8292
  114.       log=no log-prefix=""
  115.  
  116.  4    ;;; HOTSPOT
  117.       chain=srcnat action=masquerade src-address=192.168.6.0/23 log=no
  118.       log-prefix=""
  119.  
  120.  5    ;;; VPN
  121.       chain=srcnat action=masquerade src-address=172.17.0.0/24 log=no
  122.       log-prefix=""
  123.  
  124.  6    ;;; PPOE - CLIENTES
  125.       chain=srcnat action=masquerade src-address=172.17.5.0/24 log=no
  126.       log-prefix=""
  127. [admin@Web Net Provedor] > ip firewall mangle print
  128. Flags: X - disabled, I - invalid, D - dynamic
  129.  0    chain=prerouting action=accept in-interface=PPOE_1 log=no log-prefix=""
  130.  
  131.  1    chain=prerouting action=accept in-interface=PPOE_2 log=no log-prefix=""
  132.  
  133.  2    chain=prerouting action=mark-routing new-routing-mark=rota1 passthrough=no
  134.       dst-address-type=!local dst-address-list=!FORA_DO_BALANCE
  135.       per-connection-classifier=both-addresses:2/0 log=no log-prefix=""
  136.  
  137.  3    chain=prerouting action=mark-routing new-routing-mark=rota2 passthrough=no
  138.       dst-address-type=!local dst-address-list=!FORA_DO_BALANCE
  139.       per-connection-classifier=both-addresses:2/1 log=no log-prefix=""
  140. [admin@Web Net Provedor] > ip route print details
  141. expected end of command (line 1 column 16)
  142. [admin@Web Net Provedor] > ip route print detail
  143. Flags: X - disabled, A - active, D - dynamic,
  144. C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
  145. B - blackhole, U - unreachable, P - prohibit
  146.  0 A S  dst-address=0.0.0.0/0 gateway=PPOE_1 gateway-status=PPOE_1 reachable
  147.         check-gateway=ping distance=1 scope=30 target-scope=10
  148.         routing-mark=rota1
  149.  
  150.  1 A S  dst-address=0.0.0.0/0 gateway=PPOE_2 gateway-status=PPOE_2 reachable
  151.         check-gateway=ping distance=2 scope=30 target-scope=10
  152.         routing-mark=rota2
  153.  
  154.  2 ADS  dst-address=0.0.0.0/0 gateway=xx
  155.         gateway-status=xx reachable via  PPOE_2 distance=1 scope=30
  156.         target-scope=10
  157.  
  158.  3  DS  dst-address=0.0.0.0/0 gateway=xx
  159.         gateway-status=xx reachable via  PPOE_2 distance=1 scope=30
  160.         target-scope=10
  161.  
  162.  4 ADC  dst-address=172.17.5.11/32 pref-src=192.168.6.252 gateway=<pppoe-hangar>
  163.         gateway-status=<pppoe-hangar> reachable distance=0 scope=10
  164.  
  165.  5 ADC  dst-address=172.17.5.13/32 pref-src=172.17.5.1
  166.         gateway=<pppoe-jair.santos>
  167.         gateway-status=<pppoe-jair.santos> reachable distance=0 scope=10
  168.  
  169.  6 ADC  dst-address=172.17.5.16/32 pref-src=172.17.5.1 gateway=<pppoe-manoel.me>
  170.         gateway-status=<pppoe-manoel.me> reachable distance=0 scope=10
  171.  
  172.  7 ADC  dst-address=172.17.5.17/32 pref-src=172.17.5.1 gateway=<pppoe-zulma>
  173.         gateway-status=<pppoe-zulma> reachable distance=0 scope=10
  174.  
  175.  8 ADC  dst-address=172.17.5.18/32 pref-src=172.17.5.1
  176.         gateway=<pppoe-cleide.pereira>
  177.         gateway-status=<pppoe-cleide.pereira> reachable distance=0 scope=10
  178.  
  179.  9 ADC  dst-address=172.17.5.22/32 pref-src=172.17.5.1 gateway=<pppoe-fatima>
  180.         gateway-status=<pppoe-fatima> reachable distance=0 scope=10
  181.  
  182. 10 ADC  dst-address=172.17.5.25/32 pref-src=172.17.5.1
  183.         gateway=<pppoe-alexandra.morita>
  184.         gateway-status=<pppoe-alexandra.morita> reachable distance=0 scope=10
  185.  
  186. 11 ADC  dst-address=172.17.5.26/32 pref-src=172.17.5.1 gateway=<pppoe-leoni>
  187.         gateway-status=<pppoe-leoni> reachable distance=0 scope=10
  188.  
  189. 12 ADC  dst-address=172.17.5.27/32 pref-src=172.17.5.1 gateway=<pppoe-osman>
  190.         gateway-status=<pppoe-osman> reachable distance=0 scope=10
  191.  
  192. 13 ADC  dst-address=172.17.5.34/32 pref-src=172.17.5.1
  193.         gateway=<pppoe-luciene.marcelo>
  194.         gateway-status=<pppoe-luciene.marcelo> reachable distance=0 scope=10
  195.  
  196. 14 ADC  dst-address=172.17.5.39/32 pref-src=172.17.5.1
  197.         gateway=<pppoe-cleber.edio>
  198. -- [Q quit|D dump|down]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement