Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Last changed: 2013-03-25 23:37:56 GMT+4
- version 11.2R4.3;
- system {
- host-name godnet;
- time-zone GMT+4;
- root-authentication {
- encrypted-password "$1$VefloaO/$sKiqNrllv5T5n6e.TdXMT0";
- }
- name-server {
- 10.0.10.254;
- 10.0.1.254;
- 8.8.8.8;
- 8.8.4.4;
- }
- services {
- ssh;
- telnet;
- xnm-clear-text;
- web-management {
- http {
- interface [ vlan.0 ge-0/0/0.0 ge-0/0/15.0 ];
- }
- https {
- system-generated-certificate;
- interface [ vlan.0 ge-0/0/0.0 ge-0/0/15.0 ];
- }
- }
- dhcp {
- router {
- 192.168.1.1;
- }
- pool 192.168.1.0/24 {
- address-range low 192.168.1.2 high 192.168.1.254;
- }
- propagate-settings ge-0/0/0.0;
- }
- }
- syslog {
- archive size 100k files 3;
- user * {
- any emergency;
- }
- file messages {
- any critical;
- authorization info;
- }
- file interactive-commands {
- interactive-commands error;
- }
- }
- max-configurations-on-flash 5;
- max-configuration-rollbacks 5;
- license {
- autoupdate {
- url https://ae1.juniper.net/junos/key_retrieval;
- }
- }
- }
- interfaces {
- ge-0/0/0 {
- unit 0 {
- family inet {
- address 179.19.246.153/32;
- }
- }
- }
- ge-0/0/1 {
- unit 0 {
- family ethernet-switching {
- vlan {
- members vlan-trust;
- }
- }
- }
- }
- ge-0/0/2 {
- unit 0 {
- family ethernet-switching {
- vlan {
- members vlan-trust;
- }
- }
- }
- }
- ge-0/0/3 {
- unit 0 {
- family ethernet-switching {
- vlan {
- members vlan-trust;
- }
- }
- }
- }
- ge-0/0/4 {
- unit 0 {
- family ethernet-switching {
- vlan {
- members vlan-trust;
- }
- }
- }
- }
- ge-0/0/5 {
- unit 0 {
- family ethernet-switching {
- vlan {
- members vlan-trust;
- }
- }
- }
- }
- ge-0/0/6 {
- unit 0 {
- family ethernet-switching {
- vlan {
- members vlan-trust;
- }
- }
- }
- }
- ge-0/0/7 {
- unit 0 {
- family ethernet-switching {
- vlan {
- members vlan-trust;
- }
- }
- }
- }
- ge-0/0/8 {
- unit 0 {
- family ethernet-switching {
- vlan {
- members vlan-trust;
- }
- }
- }
- }
- ge-0/0/9 {
- unit 0 {
- family ethernet-switching {
- vlan {
- members vlan-trust;
- }
- }
- }
- }
- ge-0/0/10 {
- unit 0 {
- family ethernet-switching {
- vlan {
- members vlan-trust;
- }
- }
- }
- }
- ge-0/0/11 {
- unit 0 {
- family ethernet-switching {
- vlan {
- members vlan-trust;
- }
- }
- }
- }
- ge-0/0/12 {
- unit 0 {
- family ethernet-switching {
- vlan {
- members vlan-trust;
- }
- }
- }
- }
- ge-0/0/13 {
- unit 0 {
- family ethernet-switching {
- vlan {
- members vlan-trust;
- }
- }
- }
- }
- ge-0/0/14 {
- unit 0 {
- family ethernet-switching {
- vlan {
- members vlan-trust;
- }
- }
- }
- }
- ge-0/0/15 {
- unit 0 {
- family inet {
- address 192.168.26.237/24;
- }
- }
- }
- vlan {
- unit 0 {
- family inet {
- address 192.168.1.1/24;
- }
- }
- }
- }
- routing-options {
- static {
- route 0.0.0.0/0 next-hop 179.19.246.158;
- }
- }
- protocols {
- stp;
- }
- security {
- screen {
- ids-option untrust-screen {
- icmp {
- ping-death;
- }
- ip {
- source-route-option;
- tear-drop;
- }
- tcp {
- syn-flood {
- alarm-threshold 1024;
- attack-threshold 200;
- source-threshold 1024;
- destination-threshold 2048;
- timeout 20;
- }
- land;
- }
- }
- }
- nat {
- source {
- rule-set trust-to-untrust {
- from zone trust;
- to zone untrust;
- rule source-nat-rule {
- match {
- source-address 0.0.0.0/0;
- }
- then {
- source-nat {
- interface;
- }
- }
- }
- }
- }
- }
- policies {
- from-zone trust to-zone untrust {
- policy trust-to-untrust {
- match {
- source-address any;
- destination-address any;
- application any;
- }
- then {
- permit;
- }
- }
- }
- }
- zones {
- security-zone trust {
- host-inbound-traffic {
- system-services {
- all;
- }
- protocols {
- all;
- }
- }
- interfaces {
- vlan.0;
- ge-0/0/15.0;
- }
- }
- security-zone untrust {
- screen untrust-screen;
- interfaces {
- ge-0/0/0.0 {
- host-inbound-traffic {
- system-services {
- tftp;
- http;
- ping;
- ssh;
- }
- protocols {
- bgp;
- ospf;
- rip;
- }
- }
- }
- }
- }
- }
- }
- vlans {
- vlan-trust {
- vlan-id 3;
- l3-interface vlan.0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment