Advertisement
Guest User

Untitled

a guest
Sep 25th, 2019
438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. student@ROUTER_15# show access profile 13525516
  2. client 13525516 {
  3.     firewall-user {
  4.         password "$9$N0bwgikPTQns25F/t1I-VwYgJDjqTF/k.nCApEh4aZ"; ## SECRET-DATA
  5.     }
  6. }
  7.  
  8. [edit]
  9. student@ROUTER_15# show security policies
  10. from-zone Internet to-zone Internal {
  11.     policy All_Internet_Internal {
  12.         match {
  13.             source-address any;
  14.             destination-address any;
  15.             application any;
  16.         }
  17.         then {
  18.             permit;
  19.         }
  20.     }
  21.     policy Telnet_Internet_Internal {
  22.         match {
  23.             source-address any;
  24.             destination-address any;
  25.             application [ junos-telnet junos-http ];
  26.         }
  27.         then {
  28.             permit {
  29.                 firewall-authentication {
  30.                     pass-through {
  31.                         client-match 13525516;
  32.                     }
  33.                 }
  34.             }
  35.         }
  36.     }
  37. }
  38. from-zone Internal to-zone Internet {
  39.     policy All_Internal_Internet {
  40.         match {
  41.             source-address any;
  42.             destination-address any;
  43.             application any;
  44.         }
  45.         then {
  46.             permit;
  47.         }
  48.     }
  49. }
  50.  
  51. [edit]
  52. student@ROUTER_15# show access firewall-authentication
  53. pass-through {
  54.     default-profile 13525516;
  55.     telnet {
  56.         banner {
  57.             login "Enter Passowrd pls";
  58.             success yeah;
  59.             fail nah;
  60.         }
  61.     }
  62. }
  63. web-authentication {
  64.     default-profile remote_access_profile;
  65.     banner {
  66.         success yeah;
  67.     }
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement