Advertisement
ss7

Untitled

ss7
Feb 27th, 2020
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. # feb/28/2020 11:49:25 by RouterOS 6.43.9
  2. # software id = CIYX-38PJ
  3. #
  4. # model = RB951Ui-2nD
  5. # serial number = 92500AF61BCB
  6. /interface bridge
  7. add name=reserv
  8. /interface ethernet
  9. set [ find default-name=ether1 ] comment=WAN
  10. set [ find default-name=ether2 ] comment=LAN
  11. /interface wireless
  12. set [ find default-name=wlan1 ] band=2ghz-b/g/n disabled=no mode=ap-bridge \
  13. ssid=hec-yt-4643
  14. /interface wireless security-profiles
  15. set [ find default=yes ] authentication-types=wpa2-psk eap-methods="" \
  16. group-ciphers=tkip mode=dynamic-keys supplicant-identity=MikroTik \
  17. unicast-ciphers=tkip wpa2-pre-shared-key=k1aidark2
  18. /ip hotspot profile
  19. set [ find default=yes ] html-directory=flash/hotspot
  20. /ip pool
  21. add name=dhcp_pool0 ranges=10.10.5.2-10.10.5.254
  22. add name=dhcp_pool1 ranges=10.10.4.2-10.10.4.254
  23. /ip dhcp-server
  24. add address-pool=dhcp_pool0 disabled=no interface=reserv name=dhcp1
  25. add address-pool=dhcp_pool1 disabled=no interface=ether5 name=dhcp2
  26. /interface bridge port
  27. add bridge=reserv interface=ether2
  28. add bridge=reserv interface=ether3
  29. add bridge=reserv interface=ether4
  30. add bridge=reserv interface=wlan1
  31. /ip address
  32. add address=10.10.5.1/24 interface=reserv network=10.10.5.0
  33. add address=10.10.4.1/24 interface=ether5 network=10.10.4.0
  34. /ip dhcp-client
  35. add dhcp-options=hostname,clientid disabled=no interface=ether1
  36. /ip dhcp-server network
  37. add address=10.10.4.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=10.10.4.1
  38. add address=10.10.5.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=10.10.5.1
  39. /ip firewall filter
  40. add action=accept chain=input protocol=icmp
  41. add action=accept chain=input connection-state=established in-interface=ether1
  42. add action=accept chain=input connection-state=related in-interface=ether1
  43. add action=drop chain=input in-interface=ether1
  44. add action=jump chain=forward in-interface=ether1 jump-target=customer
  45. add action=accept chain=customer connection-state=established
  46. add action=accept chain=customer connection-state=related
  47. add action=drop chain=customer
  48. /ip firewall nat
  49. add action=masquerade chain=srcnat out-interface=ether1
  50. add action=masquerade chain=srcnat out-interface=ether1
  51. /ip firewall service-port
  52. set ftp disabled=yes
  53. set tftp disabled=yes
  54. set irc disabled=yes
  55. set h323 disabled=yes
  56. set sip disabled=yes
  57. set pptp disabled=yes
  58. set sctp disabled=yes
  59. /ip upnp interfaces
  60. add interface=ether1 type=external
  61. add interface=ether2 type=internal
  62. add interface=ether3 type=internal
  63. add interface=ether4 type=internal
  64. add interface=ether5 type=internal
  65. add interface=reserv type=internal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement