Advertisement
Guest User

Basic Firewall Config

a guest
Jun 21st, 2016
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. [edit firewall]
  2. vyos@test-vyos01# show
  3. group {
  4. address-group TrustedHosts {
  5. address 8.8.8.8
  6. }
  7. }
  8. name EXTERNAL-TO-SELF {
  9. default-action reject
  10. rule 100 {
  11. action accept
  12. description "Allow SSH"
  13. destination {
  14. group {
  15. address-group TrustedHosts
  16. }
  17. port 22
  18. }
  19. protocol tcp
  20. }
  21. }
  22. name SELF-TO-EXTERNAL {
  23. default-action accept
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement