Advertisement
tirabytes

Juniper SRX: MGMT Filter

Mar 14th, 2011
518
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1.  
  2. 88 88
  3. ,d "" 88 ,d
  4. 88 88 88
  5. MM88MMM 88 8b,dPPYba, ,adPPYYba, 88,dPPYba, 8b d8 MM88MMM ,adPPYba, ,adPPYba,
  6. 88 88 88P' "Y8 "" `Y8 88P' "8a `8b d8' 88 a8P_____88 I8[ ""
  7. 88 88 88 ,adPPPPP88 88 d8 `8b d8' 88 8PP""""""" `"Y8ba,
  8. 88, 88 88 88, ,88 88b, ,a8" `8b,d8' 88, "8b, ,aa aa ]8I
  9. "Y888 88 88 `"8bbdP"Y8 8Y"Ybbd8"' Y88' "Y888 `"Ybbd8"' `"YbbdP"'
  10. d8'
  11. ################################################## d8' ##### http://www.tirabytes.com/ ##
  12.  
  13.  
  14.  
  15. edit firewall filter ROUTER-FW
  16.  
  17. set term MGT from source-address 1.1.1.1/32 except
  18. set term MGT from source-address 192.168.1.0/24 except
  19. set term MGT from source-address 0.0.0.0/0
  20. set term MGT from protocol tcp
  21. set term MGT from destination-port [ ssh telnet ]
  22. set term MGT then log discard
  23.  
  24. set term OTHERS then accept
  25.  
  26. top
  27.  
  28. edit interface
  29. set lo0 unit 0 family inet filter input ROUTER-FW
  30.  
  31. commit check
  32. commit confirmed 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement