Created
June 23, 2011 22:51
-
-
Save shamun/1043820 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Last changed: 2011-06-23 22:40:44 UTC | |
version 10.0R3.10; | |
system { | |
root-authentication { | |
encrypted-password "__is_this_safe_to_provide__?___"; | |
} | |
name-server { | |
208.67.222.222; | |
208.67.220.220; | |
} | |
services { | |
finger; | |
ssh; | |
web-management { | |
http { | |
interface vlan.0; | |
} | |
https { | |
system-generated-certificate; | |
interface vlan.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 { | |
interface-range interfaces-trust { | |
member ge-0/0/1; | |
member fe-0/0/2; | |
member fe-0/0/3; | |
member fe-0/0/4; | |
member fe-0/0/5; | |
member fe-0/0/6; | |
member fe-0/0/7; | |
unit 0 { | |
family ethernet-switching { | |
vlan { | |
members vlan-trust; | |
} | |
} | |
} | |
} | |
ge-0/0/0 { | |
unit 0 { | |
family inet { | |
dhcp; | |
} | |
} | |
} | |
ge-0/0/1 { | |
unit 0 { | |
family ethernet-switching; | |
} | |
} | |
lo0 { | |
unit 0 { | |
family inet { | |
address 127.0.0.1/32; | |
} | |
} | |
} | |
vlan { | |
unit 0 { | |
family inet { | |
address 192.168.1.1/24; | |
} | |
} | |
} | |
} | |
security { | |
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; | |
} | |
} | |
} | |
} | |
} | |
} | |
screen { | |
ids-option untrust-screen { | |
ip { | |
source-route-option; | |
} | |
} | |
} | |
zones { | |
functional-zone management { | |
host-inbound-traffic { | |
system-services { | |
all; | |
} | |
protocols { | |
all; | |
} | |
} | |
} | |
security-zone trust { | |
host-inbound-traffic { | |
system-services { | |
all; | |
} | |
protocols { | |
all; | |
} | |
} | |
interfaces { | |
vlan.0; | |
} | |
} | |
security-zone untrust { | |
screen untrust-screen; | |
interfaces { | |
ge-0/0/0.0 { | |
host-inbound-traffic { | |
system-services { | |
dhcp; | |
tftp; | |
} | |
} | |
} | |
} | |
} | |
} | |
policies { | |
from-zone trust to-zone untrust { | |
policy trust-to-untrust { | |
match { | |
source-address any; | |
destination-address any; | |
application any; | |
} | |
then { | |
permit; | |
} | |
} | |
} | |
default-policy { | |
permit-all; | |
} | |
} | |
} | |
ethernet-switching-options { | |
voip { | |
interface ge-0/0/1.0 { | |
vlan vlan-trust; | |
} | |
} | |
} | |
vlans { | |
vlan-trust { | |
vlan-id 3; | |
l3-interface vlan.0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment