Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2013
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.88 KB | None | 0 0
  1. root# show | no-more
  2. ## Last changed: 2013-03-03 17:48:46 UTC
  3. version 12.1X44.4;
  4. system {
  5. root-authentication {
  6. encrypted-password "$1$ekHjG.t0$qIL8RxzwBhBiqF1IiClM/0"; ## SECRET-DATA
  7. }
  8. name-server {
  9. 208.67.222.222;
  10. 208.67.220.220;
  11. }
  12. services {
  13. ssh;
  14. telnet;
  15. xnm-clear-text;
  16. web-management {
  17. http {
  18. interface vlan.0;
  19. }
  20. https {
  21. system-generated-certificate;
  22. interface vlan.0;
  23. }
  24. }
  25. dhcp {
  26. pool 10.69.69.0/24 {
  27. address-range low 10.69.69.10 high 10.69.69.99;
  28. default-lease-time 3600;
  29. router {
  30. 10.69.69.1;
  31. }
  32. }
  33. }
  34. }
  35. syslog {
  36. archive size 100k files 3;
  37. user * {
  38. any emergency;
  39. }
  40. file messages {
  41. any critical;
  42. authorization info;
  43. }
  44. file interactive-commands {
  45. interactive-commands error;
  46. }
  47. }
  48. max-configurations-on-flash 5;
  49. max-configuration-rollbacks 5;
  50. license {
  51. autoupdate {
  52. url https://ae1.juniper.net/junos/key_retrieval;
  53. }
  54. }
  55. }
  56. interfaces {
  57. traceoptions {
  58. file interface.txt size 1m files 5;
  59. }
  60. fe-0/0/0 {
  61. unit 0 {
  62. description "Rest of campus network";
  63. family inet {
  64. address 10.69.69.1/24;
  65. }
  66. }
  67. }
  68. fe-0/0/1 {
  69. vlan-tagging;
  70. unit 690 {
  71. vlan-id 690;
  72. family inet {
  73. address 1.1.1.1/24;
  74. }
  75. }
  76. unit 691 {
  77. vlan-id 691;
  78. family inet {
  79. filter {
  80. input f5-forwards;
  81. }
  82. address 1.2.3.1/24;
  83. }
  84. }
  85. unit 692 {
  86. vlan-id 692;
  87. family inet {
  88. address 1.2.4.1/24;
  89. }
  90. }
  91. }
  92. fe-0/0/2 {
  93. unit 0 {
  94. family ethernet-switching {
  95. vlan {
  96. members vlan-trust;
  97. }
  98. }
  99. }
  100. }
  101. fe-0/0/3 {
  102. unit 0 {
  103. family ethernet-switching {
  104. vlan {
  105. members vlan-trust;
  106. }
  107. }
  108. }
  109. }
  110. fe-0/0/4 {
  111. unit 0 {
  112. family ethernet-switching {
  113. vlan {
  114. members vlan-trust;
  115. }
  116. }
  117. }
  118. }
  119. fe-0/0/5 {
  120. unit 0 {
  121. family ethernet-switching {
  122. vlan {
  123. members vlan-trust;
  124. }
  125. }
  126. }
  127. }
  128. fe-0/0/6 {
  129. unit 0 {
  130. family ethernet-switching {
  131. vlan {
  132. members vlan-trust;
  133. }
  134. }
  135. }
  136. }
  137. fe-0/0/7 {
  138. unit 0 {
  139. family ethernet-switching {
  140. vlan {
  141. members vlan-trust;
  142. }
  143. }
  144. }
  145. }
  146. vlan {
  147. unit 0 {
  148. family inet {
  149. address 192.168.1.1/24;
  150. }
  151. }
  152. }
  153. }
  154. policy-options {
  155. policy-statement policyInstances {
  156. term 1 {
  157. from {
  158. instance master;
  159. interface fe-0/0/1.690;
  160. }
  161. then {
  162. next-hop 1.1.1.2;
  163. accept;
  164. }
  165. }
  166. term 2 {
  167. then reject;
  168. }
  169. then trace;
  170. }
  171. }
  172. security {
  173. flow {
  174. traceoptions {
  175. file flow-trace;
  176. flag basic-datapath;
  177. packet-filter f0 {
  178. destination-prefix 0.0.0.0/0;
  179. source-port 80;
  180. }
  181. packet-filter f1 {
  182. destination-port 80;
  183. }
  184. packet-filter f2 {
  185. destination-prefix 1.2.3.4/32;
  186. }
  187. }
  188. }
  189. screen {
  190. ids-option untrust-screen {
  191. icmp {
  192. ping-death;
  193. }
  194. ip {
  195. source-route-option;
  196. tear-drop;
  197. }
  198. tcp {
  199. syn-flood {
  200. alarm-threshold 1024;
  201. attack-threshold 200;
  202. source-threshold 1024;
  203. destination-threshold 2048;
  204. timeout 20;
  205. }
  206. land;
  207. }
  208. }
  209. }
  210. policies {
  211. from-zone trust to-zone untrust {
  212. policy trust-to-untrust {
  213. match {
  214. source-address any;
  215. destination-address any;
  216. application any;
  217. }
  218. then {
  219. permit;
  220. }
  221. }
  222. }
  223. from-zone untrust to-zone junos-host {
  224. policy untrust-to-junos {
  225. match {
  226. source-address any;
  227. destination-address any;
  228. application junos-icmp-all;
  229. }
  230. then {
  231. permit;
  232. }
  233. }
  234. }
  235. from-zone untrust to-zone trust {
  236. policy load-balancer {
  237. match {
  238. source-address any;
  239. destination-address any;
  240. application any;
  241. }
  242. then {
  243. permit;
  244. }
  245. }
  246. }
  247. from-zone trust to-zone junos-host {
  248. policy to-router {
  249. match {
  250. source-address any;
  251. destination-address any;
  252. application any;
  253. }
  254. then {
  255. permit;
  256. }
  257. }
  258. }
  259. from-zone trust to-zone trust {
  260. policy intra-trust {
  261. match {
  262. source-address any;
  263. destination-address any;
  264. application any;
  265. }
  266. then {
  267. permit;
  268. }
  269. }
  270. }
  271. }
  272. zones {
  273. security-zone trust {
  274. host-inbound-traffic {
  275. system-services {
  276. all;
  277. }
  278. protocols {
  279. all;
  280. }
  281. }
  282. interfaces {
  283. vlan.0;
  284. fe-0/0/1.690;
  285. fe-0/0/1.691;
  286. fe-0/0/1.692;
  287. }
  288. }
  289. security-zone untrust {
  290. screen untrust-screen;
  291. interfaces {
  292. fe-0/0/0.0 {
  293. host-inbound-traffic {
  294. system-services {
  295. dhcp;
  296. tftp;
  297. ping;
  298. }
  299. }
  300. }
  301. }
  302. }
  303. }
  304. }
  305. firewall {
  306. filter f5-forwards {
  307. term HTTP {
  308. from {
  309. protocol tcp;
  310. port 80;
  311. }
  312. then {
  313. routing-instance F5;
  314. }
  315. }
  316. term accept {
  317. then accept;
  318. }
  319. }
  320. }
  321. routing-instances {
  322. F5 {
  323. instance-type forwarding;
  324. routing-options {
  325. static {
  326. route 0.0.0.0/0 next-hop 1.1.1.2;
  327. }
  328. instance-import policyInstances;
  329. }
  330. }
  331. }
  332. vlans {
  333. vlan-trust {
  334. vlan-id 3;
  335. l3-interface vlan.0;
  336. }
  337. }
  338.  
  339. [edit]
  340. root#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement