3nema

MIK_client

Aug 25th, 2022
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. # aug/25/2022 08:23:59 by RouterOS 7.3.1
  2. # software id = XNCE-Z5SM
  3. #
  4. # model = RBD52G-5HacD2HnD
  5. # serial number = E5780F8F6F52
  6. /interface sstp-client
  7. add connect-to=35.234.126.61 disabled=no name=sstp-out1 user=SSTP
  8. /interface bridge
  9. add name=bridge
  10. /interface wireless security-profiles
  11. set [ find default=yes ] supplicant-identity=MikroTik
  12. add authentication-types=wpa-psk,wpa2-psk eap-methods="" mode=dynamic-keys \
  13. name=profile1 supplicant-identity=""
  14. /interface wireless
  15. set [ find default-name=wlan1 ] band=2ghz-b/g/n mode=ap-bridge \
  16. security-profile=profile1 ssid=MikroTik_2g
  17. set [ find default-name=wlan2 ] band=5ghz-a/n disabled=no mode=ap-bridge \
  18. security-profile=profile1 ssid=MikroTik_5g
  19. /ip pool
  20. add name=SSTP_Pool ranges=10.10.0.100-10.10.0.254
  21. /interface bridge port
  22. add bridge=bridge interface=ether4
  23. add bridge=bridge interface=ether2
  24. add bridge=bridge interface=wlan2
  25. /ip neighbor discovery-settings
  26. set discover-interface-list=all
  27. /interface ovpn-server server
  28. set auth=sha1,md5,sha256 certificate=*9 cipher=aes256 \
  29. require-client-certificate=yes
  30. /ip address
  31. add address=192.168.2.5/24 interface=ether2 network=192.168.2.0
  32. /ip dns
  33. set allow-remote-requests=yes servers=8.8.8.8
  34. /ip firewall nat
  35. add action=masquerade chain=srcnat
  36. add action=netmap chain=dstnat dst-address=10.10.100.0/24 to-addresses=\
  37. 192.168.2.0/24
  38. /ip route
  39. add disabled=no dst-address=0.0.0.0/0 gateway=192.168.2.1 routing-table=main \
  40. suppress-hw-offload=no
  41. add disabled=no distance=1 dst-address=10.10.100.0/24 gateway=192.168.2.1 \
  42. pref-src=0.0.0.0 routing-table=main scope=30 suppress-hw-offload=no \
  43. target-scope=10
  44. /ppp secret
  45. add local-address=10.20.1.1 name=User1 remote-address=10.20.1.2 service=sstp
  46. /system clock
  47. set time-zone-name=Europe/Rome
  48. /system identity
  49. set name=Marco_Okram
  50.  
Advertisement
Add Comment
Please, Sign In to add comment