Guest User

Untitled

a guest
Dec 23rd, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. {
  2. "firewall": {
  3. "name": {
  4. "WAN_LOCAL": {
  5. "rule": {
  6. "50": {
  7. "action": "accept",
  8. "description": "Allow L2TP",
  9. "destination": {
  10. "port": "500,1701,4500"
  11. },
  12. "protocol": "udp"
  13. },
  14. "51": {
  15. "action": "accept",
  16. "description": "Allow ESP",
  17. "protocol": "esp"
  18. }
  19. }
  20. }
  21. }
  22. },
  23.  
  24. "vpn": {
  25. "ipsec": {
  26. "ipsec-interfaces": {
  27. "interface": [
  28. "pppoe0"
  29. ]
  30. },
  31. "nat-networks": {
  32. "allowed-network": {
  33. "0.0.0.0/0": "''"
  34. }
  35. },
  36. "nat-traversal": "enable"
  37. },
  38. "l2tp": {
  39. "remote-access": {
  40. "authentication": {
  41. "local-users": {
  42. "username": {
  43. "testuser": {
  44. "password": "test1234"
  45. }
  46. }
  47. },
  48. "mode": "local"
  49. },
  50. "client-ip-pool": {
  51. "start": "192.168.1.100",
  52. "stop": "192.168.1.110"
  53. },
  54. "dns-servers": {
  55. "server-1": "8.8.8.8",
  56. "server-2": "8.8.4.4"
  57. },
  58. "ipsec-settings": {
  59. "authentication": {
  60. "mode": "pre-shared-secret",
  61. "pre-shared-secret": "test1234"
  62. },
  63. "ike-lifetime": "3600"
  64. },
  65. "mtu": "1492",
  66. "outside-address": "mijn-externe-ip"
  67. }
  68. }
  69. }
  70. }
Advertisement
Add Comment
Please, Sign In to add comment