Advertisement
Guest User

Untitled

a guest
Apr 21st, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. show security
  2. policies {
  3. from-zone DC to-zone DC {
  4. policy insideDC {
  5. match {
  6. source-address any;
  7. destination-address any;
  8. application any;
  9. }
  10. then {
  11. permit;
  12. }
  13. }
  14. }
  15. from-zone IT to-zone IT {
  16. policy insideIT {
  17. match {
  18. source-address any;
  19. destination-address any;
  20. application any;
  21. }
  22. then {
  23. permit;
  24. }
  25. }
  26. }
  27. from-zone DC to-zone untrust {
  28. policy DC2untrust {
  29. match {
  30. source-address vr104;
  31. destination-address [ Internet vr103 vr203 B1 ];
  32. application junos-ftp;
  33. }
  34. then {
  35. reject;
  36. }
  37. }
  38. policy DC2untrustALL {
  39. match {
  40. source-address vr104;
  41. destination-address [ Internet vr103 vr203 B1 ];
  42. application any;
  43. }
  44. then {
  45. permit;
  46. }
  47. }
  48. }
  49. from-zone IT to-zone untrust {
  50. policy IT2untrust {
  51. match {
  52. source-address vr204;
  53. destination-address [ Internet B1 vr103 vr203 ];
  54. application any;
  55. }
  56. then {
  57. permit;
  58. }
  59. }
  60. }
  61. }
  62. zones {
  63. functional-zone management {
  64. interfaces {
  65. ge-0/0/0.0 {
  66. host-inbound-traffic {
  67. system-services {
  68. ftp;
  69. telnet;
  70. all;
  71. }
  72. }
  73. }
  74. }
  75. }
  76. security-zone untrust {
  77. address-book {
  78. address Internet 172.31.15.1/32;
  79. address B1 172.18.1.0/30;
  80. address vr103 172.20.103.0/24;
  81. address vr203 172.20.203.0/24;
  82. }
  83. interfaces {
  84. ge-0/0/1.304;
  85. }
  86. }
  87. security-zone DC {
  88. address-book {
  89. address vr104 172.20.104.0/24;
  90. }
  91. interfaces {
  92. ge-0/0/2.104;
  93. }
  94. }
  95. security-zone IT {
  96. address-book {
  97. address vr204 172.20.204.0/24;
  98. }
  99. interfaces {
  100. ge-0/0/2.204;
  101. }
  102. }
  103. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement