Advertisement
Guest User

Untitled

a guest
May 16th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. # apr/25/2017 13:33:42 by RouterOS 6.34.2
  2. # software id = WKJF-T1Q3
  3. #
  4. /interface bridge
  5. add name="Bridge VOIP"
  6. /interface ethernet
  7. set [ find default-name=ether1 ] name="ether1 Uplink"
  8. set [ find default-name=ether2 ] master-port="ether1 Uplink"
  9. set [ find default-name=ether3 ] master-port="ether1 Uplink"
  10. set [ find default-name=ether5 ] poe-out=off
  11. set [ find default-name=sfp1 ] disabled=yes
  12. /interface ovpn-client
  13. add connect-to=IP-Concentrator-VPN name=\
  14. "VPN TelSmart" password=PassWord user=UserName
  15. /interface wireless security-profiles
  16. set [ find default=yes ] supplicant-identity=MikroTik
  17. /ip hotspot profile
  18. set [ find default=yes ] html-directory=flash/hotspot
  19. /ip pool
  20. add name=dhcp_pool1 ranges=172.29.VOLGNUMMER.10-172.29.VOLGNUMMER.254
  21. /ip dhcp-server
  22. add address-pool=dhcp_pool1 disabled=no interface="Bridge VOIP" lease-time=1h \
  23. name=dhcp1
  24. /interface bridge port
  25. add bridge="Bridge VOIP" interface=ether5
  26. add bridge="Bridge VOIP" interface=ether4
  27. /ip address
  28. add address=172.29.VOLGNUMMER.1/24 interface="Bridge VOIP" network=172.29.VOLGNUMMER.0
  29. /ip dhcp-client
  30. add default-route-distance=0 dhcp-options=hostname,clientid disabled=no \
  31. interface="ether1 Uplink"
  32. /ip dhcp-server network
  33. add address=172.29.VOLGNUMMER.0/24 dns-server=8.8.8.8 gateway=172.29.VOLGNUMMER.1
  34. /ip firewall nat
  35. add action=masquerade chain=srcnat out-interface="ether1 Uplink"
  36. /ip route
  37. add distance=1 dst-address=109.68.161.213/32 gateway="VPN TelSmart"
  38. add distance=1 dst-address=109.68.161.215/32 gateway="VPN TelSmart"
  39. add distance=1 dst-address=172.27.0.0/16 gateway="VPN TelSmart"
  40. add distance=1 dst-address=185.186.215.224/28 gateway="VPN TelSmart"
  41. /ip service
  42. set www port=8080
  43. /system clock
  44. set time-zone-name=Europe/Brussels
  45. /system identity
  46. set name=NaamVanDeKlant
  47. /system leds
  48. set 1 interface=wlan2
  49. /system routerboard settings
  50. set cpu-frequency=720MHz protected-routerboot=disabled
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement