Advertisement
Guest User

Untitled

a guest
Jul 4th, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. #junos-config
  2. ## Last commit: 2018-07-03 09:06:54 UTC by root
  3. # NOTE: the first line must be "#junos-config", see https://www.juniper.net/documentation/en_US/vsrx/topics/task/configuration/security-vsrx-cloud-init-support.html
  4.  
  5. version 15.1X49-D140.2;
  6. system {
  7. host-name test-vsrx;
  8. root-authentication {
  9. encrypted-password "__encrypted_pw_goes_here__"; ## SECRET-DATA
  10. }
  11. services {
  12. ssh;
  13. web-management {
  14. http {
  15. interface fxp0.0;
  16. }
  17. }
  18. }
  19. syslog {
  20. user * {
  21. any emergency;
  22. }
  23. file messages {
  24. any any;
  25. authorization info;
  26. }
  27. file interactive-commands {
  28. interactive-commands any;
  29. }
  30. }
  31. license {
  32. autoupdate {
  33. url https://ae1.juniper.net/junos/key_retrieval;
  34. }
  35. }
  36. }
  37. security {
  38. log {
  39. mode stream;
  40. report;
  41. }
  42. screen {
  43. ids-option untrust-screen {
  44. icmp {
  45. ping-death;
  46. }
  47. ip {
  48. source-route-option;
  49. tear-drop;
  50. }
  51. tcp {
  52. syn-flood {
  53. alarm-threshold 1024;
  54. attack-threshold 200;
  55. source-threshold 1024;
  56. destination-threshold 2048;
  57. queue-size 2000; ## Warning: 'queue-size' is deprecated
  58. timeout 20;
  59. }
  60. land;
  61. }
  62. }
  63. }
  64. policies {
  65. from-zone trust to-zone trust {
  66. policy default-permit {
  67. match {
  68. source-address any;
  69. destination-address any;
  70. application any;
  71. }
  72. then {
  73. permit;
  74. }
  75. }
  76. }
  77. from-zone trust to-zone untrust {
  78. policy default-permit {
  79. match {
  80. source-address any;
  81. destination-address any;
  82. application any;
  83. }
  84. then {
  85. permit;
  86. }
  87. }
  88. }
  89. }
  90. zones {
  91. security-zone trust {
  92. tcp-rst;
  93. interfaces {
  94. ge-0/0/0.0;
  95. }
  96. }
  97. security-zone untrust {
  98. screen untrust-screen;
  99. }
  100. }
  101. }
  102. interfaces {
  103. ge-0/0/0 {
  104. unit 0 {
  105. family inet {
  106. dhcp-client;
  107. }
  108. }
  109. }
  110. fxp0 {
  111. unit 0 {
  112. family inet {
  113. address $fxp0_ip/22;
  114. }
  115. }
  116. }
  117. }
  118. routing-options {
  119. static {
  120. route 0.0.0.0/0 next-hop 10.22.212.1;
  121. }
  122. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement