Advertisement
Guest User

Untitled

a guest
Sep 15th, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.09 KB | None | 0 0
  1. [akoznov@hEX S] > /interface l2tp-server export
  2. # sep/15/2018 10:19:20 by RouterOS 6.43
  3. # software id = XXX-XXX
  4. #
  5. # model = RB760iGS
  6. # serial number = XXX
  7. /interface l2tp-server
  8. add name=l2tp-in1 user=shep
  9. /interface l2tp-server server
  10. set default-profile=shep-profile enabled=yes
  11. [akoznov@hEX S] > /ppp export
  12. /ppp profile
  13. add change-tcp-mss=yes name=shep-profile use-compression=yes use-encryption=no
  14. /ppp secret
  15. add local-address=172.16.40.1 name=shep password=XXXXX profile=\
  16. shep-profile remote-address=172.16.40.2 service=l2tp
  17.  
  18. [akoznov@wAP LTE] /ppp profile> /interface l2tp-client export
  19. # sep/15/2018 11:24:03 by RouterOS 6.43
  20. # software id = XX-XX
  21. #
  22. # model = RouterBOARD wAP R-2nD
  23. # serial number = XX
  24. /interface l2tp-client
  25. add connect-to=185.44.XX.XX disabled=no keepalive-timeout=disabled name=\
  26. l2tp-out1 password=XXX profile=shep-profile user=shep
  27. [akoznov@wAP LTE] /ppp profile> /ppp profile export
  28. /ppp profile
  29. add change-tcp-mss=yes name=shep-profile use-compression=yes use-encryption=no
  30.  
  31. [akoznov@hEX S] /ip address> /ip address print
  32. Flags: X - disabled, I - invalid, D - dynamic
  33. # ADDRESS NETWORK INTERFACE
  34. 0 ;;; Localnet Address
  35. 10.255.254.1/24 10.255.254.0 bridge1
  36. 1 192.168.2.1/24 192.168.2.0 bridge1
  37. 2 172.16.30.2/30 172.16.30.0 gre1
  38. 3 192.168.32.1/24 192.168.32.0 ether4
  39. 4 176.16.50.1/30 176.16.50.0 gre2
  40. 5 D 185.44.XX.XX/25 185.44.XX.XX WAN
  41. 6 D 172.16.40.1/32 172.16.40.2 l2tp-in1
  42. [akoznov@hEX S] /ip address> /ip route print
  43. Flags: X - disabled, A - active, D - dynamic,
  44. C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
  45. B - blackhole, U - unreachable, P - prohibit
  46. # DST-ADDRESS PREF-SRC GATEWAY DISTANCE
  47. 0 ADS 0.0.0.0/0 185.44.XX.XX 1
  48. 1 A S 10.255.252.0/24 172.16.40.1 172.16.40.2 1
  49. 2 A S 10.255.253.0/24 176.16.50.1 176.16.50.2 1
  50. 3 ADC 10.255.254.0/24 10.255.254.1 bridge1 0
  51. 4 ADC 172.16.30.0/30 172.16.30.2 gre1 0
  52. 5 ADC 172.16.40.2/32 172.16.40.1 l2tp-in1 0
  53. 6 ADC 176.16.50.0/30 176.16.50.1 gre2 0
  54. 7 ADC 185.44.XX.XX/25 185.44.XX.XX WAN 0
  55. 8 ADC 192.168.2.0/24 192.168.2.1 bridge1 0
  56. 9 ADC 192.168.32.0/24 192.168.32.1 bridge1 0
  57. 10 A S 192.168.100.0/24 172.16.30.1 1
  58. [akoznov@hEX S] /ip address>
  59.  
  60. [akoznov@wAP LTE] /ppp profile> /ip address print
  61. Flags: X - disabled, I - invalid, D - dynamic
  62. # ADDRESS NETWORK INTERFACE
  63. 0 10.255.252.1/24 10.255.252.0 ether1
  64. 1 D 100.86.XX.xx/32 100.86.XX.XX lte1
  65. 2 D 172.16.40.2/32 172.16.40.1 l2tp-out1
  66. [akoznov@wAP LTE] /ppp profile> /ip route print
  67. Flags: X - disabled, A - active, D - dynamic,
  68. C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
  69. B - blackhole, U - unreachable, P - prohibit
  70. # DST-ADDRESS PREF-SRC GATEWAY DISTANCE
  71. 0 ADS 0.0.0.0/0 lte1 2
  72. 1 ADC 10.255.252.0/24 10.255.252.1 bridge1 0
  73. 2 A S 10.255.254.0/24 172.16.40.2 172.16.40.1 1
  74. 3 ADC 100.86.XX.XX/32 100.86.XX.XX lte1 0
  75. 4 ADC 172.16.40.1/32 172.16.40.2 l2tp-out1 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement