Skip to content

Instantly share code, notes, and snippets.

@Mierdin
Created February 16, 2015 02:31
Show Gist options
  • Save Mierdin/a61de8527c5f2ea11207 to your computer and use it in GitHub Desktop.
Save Mierdin/a61de8527c5f2ea11207 to your computer and use it in GitHub Desktop.
root@VSRX-01# show
## Last changed: 2015-02-16 02:08:09 UTC
version 12.1X46-D10.2;
system {
host-name VSRX-01;
root-authentication {
encrypted-password "$1$hw2imc8Y$Epg16gz5l7Thj08lFEE1F0"; ## SECRET-DATA
}
services {
ssh {
protocol-version v2;
}
netconf {
ssh;
}
web-management {
http {
interface ge-0/0/0.0;
}
}
}
syslog {
user * {
any emergency;
}
file messages {
any any;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
license {
autoupdate {
url https://ae1.juniper.net/junos/key_retrieval;
}
}
}
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 10.12.0.77/24;
}
}
}
ge-0/0/1 {
description "created by ansible";
vlan-tagging;
unit 0 {
description vlan-0;
vlan-id 0;
family inet {
address 1.1.12.1/24;
}
}
}
ge-0/0/2 {
description "created by ansible";
vlan-tagging;
unit 0 {
description vlan-0;
vlan-id 0;
family inet {
address 1.1.31.1/24;
}
}
}
}
routing-options {
router-id 1.1.1.1;
}
protocols {
ospf {
area 0.0.0.0 {
interface ge-0/0/1.0;
interface ge-0/0/2.0;
}
}
}
security {
forwarding-options {
family {
inet6 {
mode packet-based;
}
mpls {
mode packet-based;
}
iso {
mode packet-based;
}
}
}
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;
queue-size 2000; ## Warning: 'queue-size' is deprecated
timeout 20;
}
land;
}
}
}
zones {
security-zone trust {
description "created by Ansible";
tcp-rst;
interfaces {
ge-0/0/1.0 {
host-inbound-traffic {
protocols {
all;
}
}
}
ge-0/0/2.0 {
host-inbound-traffic {
protocols {
all;
}
}
}
}
}
security-zone untrust {
screen untrust-screen;
interfaces {
ge-0/0/0.0 {
host-inbound-traffic {
system-services {
http;
https;
ssh;
telnet;
dhcp;
ping;
netconf;
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment