Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Last commit: 2025-03-11 16:48:12 CDT by me
- version 23.4R2-S3.9;
- groups {
- node0 {
- system {
- host-name MDCBR-Test-0;
- }
- interfaces {
- fxp0 {
- unit 0 {
- family inet {
- address 10.0.10.1/24;
- }
- }
- }
- }
- }
- node1 {
- system {
- host-name MDCBR-Test-1;
- }
- interfaces {
- fxp0 {
- unit 0 {
- family inet {
- address 10.0.10.2/24;
- }
- }
- }
- }
- }
- }
- apply-groups "${node}";
- system {
- root-authentication {
- encrypted-password ""; ## SECRET-DATA
- }
- login {
- retry-options {
- tries-before-disconnect 3;
- backoff-threshold 2;
- lockout-period 5;
- }
- class read-only-remote {
- idle-timeout 10;
- login-alarms;
- permissions [ view view-configuration ];
- }
- class service-accounts {
- idle-timeout 1;
- login-alarms;
- permissions [ secret view view-configuration ];
- allow-commands "(request system power-off.*|show configuration \| display set \| no-more)";
- }
- class super-user-local {
- login-alarms;
- permissions all;
- }
- class super-user-remote {
- idle-timeout 10;
- login-alarms;
- permissions all;
- }
- user admin {
- full-name Administrator;
- uid 2000;
- class super-user-local;
- authentication {
- encrypted-password ""; ## SECRET-DATA
- }
- }
- user remote-admin {
- full-name ENT-SEC-NetworkAdmins-G;
- uid 2001;
- class super-user-remote;
- }
- user remote-read-only {
- full-name ENT-SEC-ITUsers-G;
- uid 2002;
- class read-only-remote;
- }
- user service-accounts {
- full-name ENT-SEC-NetworkServiceAccounts-G;
- uid 2003;
- class service-accounts;
- }
- message "\n########################################################################\n# THIS SYSTEM IS RESTRICTED TO AUTHORIZED USAGE! #\n# #\n# Unauthorized usage will be subject to criminal penalties, fines, #\n# damages and/or disciplinary action. If you are not authorized to use #\n# this system, you must exit immediately. If you are authorized to #\n# use this system, you must do so in compliance with all laws, #\n# regulations, conduct rules, and company security policies applicable #\n# to this system. This system, including any hardware components, #\n# software, workstations, and storage spaces is subject to monitoring #\n# and search without advanced notice. Users should have no expectation #\n# of privacy in their use of any aspect of this system. #\n########################################################################\n\n";
- }
- services {
- inactive: netconf {
- ssh;
- }
- ssh {
- root-login deny;
- protocol-version v2;
- max-sessions-per-connection 2;
- sftp-server;
- connection-limit 5;
- }
- telnet {
- connection-limit 2;
- }
- dhcp-local-server {
- group EXT-User-Untrust-WLAN {
- interface reth1.1681;
- }
- group INT-User-IT-Admins-WLAN {
- interface reth0.1682;
- }
- inactive: group jdhcp-group {
- interface irb.0;
- }
- }
- web-management {
- https {
- system-generated-certificate;
- }
- }
- }
- auto-snapshot;
- domain-name mgmt.mdc.com;
- domain-search [ mgmt.mdc.com wlc.mdc.com ad.mdc.com mdc.com ];
- time-zone America/Chicago;
- management-instance;
- authentication-order radius;
- name-server {
- inactive: 8.8.8.8;
- inactive: 8.8.4.4;
- 10.20.11.1 source-address 10.255.255.100;
- 10.20.11.2 source-address 10.255.255.100;
- }
- radius-server {
- 10.20.11.1 {
- secret ""; ## SECRET-DATA
- timeout 2;
- source-address 10.255.255.100;
- }
- 10.20.11.2 {
- secret ""; ## SECRET-DATA
- timeout 2;
- source-address 10.255.255.100;
- }
- }
- accounting {
- events [ login change-log interactive-commands ];
- destination {
- radius {
- server {
- 10.20.11.1 {
- secret ""; ## SECRET-DATA
- source-address 10.255.255.100;
- }
- 10.20.11.2 {
- secret ""; ## SECRET-DATA
- source-address 10.255.255.100;
- }
- }
- }
- }
- }
- syslog {
- archive {
- size 100k;
- files 3;
- }
- user * {
- any emergency;
- }
- host 10.20.10.4 {
- firewall any;
- }
- host 10.20.10.9 {
- any info;
- match "!(identification string from 10.20.10.1|identification string from 10.20.10.2|exited, status 255|tvp_drv_syspld_read|MAIL)";
- }
- file alert {
- any alert;
- }
- file commands {
- any info;
- match UI_CMDLINE_READ_LINE;
- archive {
- size 1m;
- files 1;
- }
- }
- file critical {
- any critical;
- }
- file default-log-message {
- any any;
- match "!(identification string from 10.20.10.1|identification string from 10.20.10.2|exited, status 255|tvp_drv_syspld_read|MAIL)";
- }
- file emergency {
- any emergency;
- }
- file error {
- any error;
- }
- file host-inbound {
- any any;
- match RT_FLOW.*junos-host;
- structured-data;
- }
- file info {
- any info;
- match "!(identification string from 10.20.10.1|identification string from 10.20.10.2|exited, status 255|tvp_drv_syspld_read|MAIL)";
- }
- file interactive-commands {
- interactive-commands any;
- archive {
- size 2m;
- files 3;
- }
- }
- file login {
- any info;
- match "(UI_AUTH_EVENT|UI_LOGIN_EVENT|SSHD_LOGIN_FAILED|UI_DBASE_LOGIN_EVENT)";
- archive {
- size 1m;
- files 1;
- }
- }
- file messages {
- any critical;
- authorization any;
- match "!(identification string from 10.20.10.1|identification string from 10.20.10.2|exited, status 255|tvp_drv_syspld_read|MAIL)";
- archive {
- size 2m;
- files 5;
- }
- explicit-priority;
- }
- file notice {
- any notice;
- match "!(identification string from 10.20.10.1|identification string from 10.20.10.2|exited, status 255|tvp_drv_syspld_read|MAIL)";
- }
- file snapshot {
- archive {
- size 2m;
- files 1;
- }
- }
- file syslog-event-daemon-info {
- daemon info;
- match "exited, status 255";
- }
- }
- max-configurations-on-flash 5;
- max-configuration-rollbacks 5;
- license {
- autoupdate {
- url https://ae1.juniper.net/junos/key_retrieval;
- }
- }
- ntp {
- server 132.163.96.1;
- server 132.163.96.2;
- }
- inactive: phone-home {
- server https://redirect.juniper.net;
- rfc-compliant;
- }
- }
- chassis {
- config-button no-clear;
- aggregated-devices {
- ethernet {
- device-count 1;
- }
- }
- inactive: auto-image-upgrade;
- cluster {
- reth-count 4;
- network-management {
- cluster-master;
- }
- redundancy-group 0 {
- node 0 priority 254;
- node 1 priority 1;
- }
- redundancy-group 1 {
- node 0 priority 254;
- node 1 priority 1;
- preempt;
- gratuitous-arp-count 4;
- inactive: interface-monitor {
- ge-0/0/3 weight 255;
- ge-0/0/4 weight 255;
- ge-0/0/5 weight 255;
- ge-0/0/6 weight 255;
- ge-0/0/7 weight 255;
- }
- }
- }
- }
- security {
- log {
- cache;
- mode stream;
- format sd-syslog;
- stream MDCLX7310-IDR1 {
- severity info;
- format sd-syslog;
- category all;
- host {
- 10.20.10.4;
- port 514;
- }
- source-address 10.255.255.100;
- }
- }
- pki {
- ca-profile ISRG_Root_X1 {
- ca-identity ISRG_Root_X1;
- pre-load;
- }
- ca-profile Lets_Encrypt {
- ca-identity Lets_Encrypt;
- enrollment {
- url https://acme-v02.api.letsencrypt.org/directory;
- }
- }
- }
- ike {
- proposal pre-g2-3des-md5 {
- authentication-method pre-shared-keys;
- dh-group group2;
- authentication-algorithm md5;
- encryption-algorithm 3des-cbc;
- lifetime-seconds 28800;
- }
- proposal pre-g2-aes256-sha1 {
- authentication-method pre-shared-keys;
- dh-group group2;
- authentication-algorithm sha1;
- encryption-algorithm aes-256-cbc;
- lifetime-seconds 86400;
- }
- proposal pre-g2-aes256-sha256 {
- authentication-method pre-shared-keys;
- dh-group group5;
- authentication-algorithm sha-256;
- encryption-algorithm aes-256-cbc;
- lifetime-seconds 86400;
- }
- proposal pre-g20-aes128cbc-sha384 {
- authentication-method pre-shared-keys;
- dh-group group20;
- authentication-algorithm sha-384;
- encryption-algorithm aes-128-cbc;
- lifetime-seconds 86400;
- }
- proposal pre-g20-aes128cbc-sha256 {
- authentication-method pre-shared-keys;
- dh-group group20;
- authentication-algorithm sha-256;
- encryption-algorithm aes-256-cbc;
- lifetime-seconds 86400;
- }
- proposal pre-g20-aes256cbc-sha256 {
- authentication-method pre-shared-keys;
- dh-group group20;
- authentication-algorithm sha-256;
- encryption-algorithm aes-256-cbc;
- lifetime-seconds 86400;
- }
- }
- ipsec {
- proposal nopfs-esp-aes256-sha1 {
- protocol esp;
- authentication-algorithm hmac-sha1-96;
- encryption-algorithm aes-256-cbc;
- lifetime-seconds 28800;
- lifetime-kilobytes 4194303;
- }
- proposal nopfs-esp-3des-md5 {
- protocol esp;
- authentication-algorithm hmac-md5-96;
- encryption-algorithm 3des-cbc;
- lifetime-seconds 3600;
- }
- proposal nopfs-esp-aes128-sha_1 {
- protocol esp;
- authentication-algorithm hmac-sha1-96;
- encryption-algorithm aes-128-cbc;
- lifetime-seconds 3600;
- }
- proposal nopfs-esp-aes256-sha256 {
- protocol esp;
- authentication-algorithm hmac-sha-256-128;
- encryption-algorithm aes-256-cbc;
- lifetime-seconds 7200;
- }
- proposal pfs-esp-aes256gcm {
- protocol esp;
- encryption-algorithm aes-256-gcm;
- lifetime-seconds 3600;
- }
- proposal pfs-esp-aes192-cbc-sha256 {
- protocol esp;
- authentication-algorithm hmac-sha-256-128;
- encryption-algorithm aes-192-cbc;
- lifetime-seconds 3600;
- }
- proposal pfs-esp-aes-256cbc-sha256 {
- protocol esp;
- authentication-algorithm hmac-sha-256-128;
- encryption-algorithm aes-256-cbc;
- lifetime-seconds 7200;
- }
- }
- address-book {
- global {
- address EXT-ADGUARD_NET94-140-14_HOST32-14 94.140.14.14/32;
- address EXT-ADGUARD_NET94-140-14_HOST32_15-15 94.140.15.15/32;
- address G-W-INT-VLAN1681 192.168.1.254/32;
- address G-W-INT-VLAN1682 192.168.2.254/32;
- address INT-MDCMS8100 10.20.11.1/32;
- address INT-MDCMS8101 10.20.11.2/32;
- address-set S-AD-EXT_TRUSTED_DNS {
- address EXT-ADGUARD_NET94-140-14_HOST32-14;
- address EXT-ADGUARD_NET94-140-14_HOST32_15-15;
- }
- address-set S-AD-INT_TRUSTED_DNS {
- address INT-MDCMS8100;
- address INT-MDCMS8101;
- }
- }
- }
- alg {
- dns disable;
- msrpc disable;
- sunrpc disable;
- sip disable;
- talk disable;
- tftp disable;
- pptp disable;
- }
- utm {
- custom-objects {
- url-pattern {
- MDC-UP-Malicious_URLs {
- value [ http://*.gruanoaph.net http://*.shafiats.shop http://*.theglossonline.com http://*.insideoftech.com ];
- }
- MDC-UP-Forbidden_URLs {
- value [ http://*.eurogamer.net http://*.pcgamer.com http://*.tenorshare.com http://*.sweetbabyinc.com http://*.ign.com http://*.libertymutual.com http://*.pixiv.net http://*.epicgames.com ];
- }
- MDC-UP-Facebook_URLs {
- value [ http://*.facebook.com http://*.facebook.de http://*.facebook.fr http://*.facebook.net http://*.fb.com http://*.fb.me http://*.fbcdn.com http://*.fbcdn.net http://*.fbpigeon.com http://*.fbsbx.com http://*.fburl.com http://*.internet.org http://*.tfbnw.net http://*.thefacebook.com http://*.m.me http://*.messenger.com ];
- }
- MDC-UP-TikTok_URLs {
- value [ http://*.bytedance.com http://*.bytefcdn-oversea.com http://*.bytefcdn-ttpeu.com http://*.tiktok.com http://*.tiktok.in http://*.tiktok.org http://*.tiktokcdn.com http://*.tiktokd.org http://*.tiktokglobalshop.com http://*.tiktokmusic.app http://*.tiktokshop.com http://*.tiktokstaticb.com http://*.tiktokv.com http://*.tiktokv.eu http://*.tiktokv.us http://*.tiktokw.us ];
- }
- MDC-UP-Pinterest_URLs {
- value [ http://*.pin.it http://*.pinimg.com http://*.pinterest.ch http://*.pinterest.com http://*.pinterest.fr ];
- }
- MDC-UP-Snapchat_URLs {
- value [ http://*.snapchat.com http://*.snapchat.appspot.com http://*.sc-analytics.appspot.com http://*.feelinsonice-hrd.appspot.com http://*.feelinsonice.com ];
- }
- MDC-UP-Advertising_URLs {
- value [ http://*.doubleclick.net http://*.adnxs.com http://*.advertising.com http://*.adsrvr.org http://*.adroll.com http://*.criteo.com http://*.pubmatic.com http://*.openx.com http://*.adtech.de http://*.media.net http://*.rubiconproject.com http://*.exelator.com http://*.dynatrace.com http://*.quantcast.com ];
- }
- }
- custom-url-category {
- MDC-UC-Malicious_Websites {
- value MDC-UP-Malicious_URLs;
- }
- MDC-UC-Forbidden_Websites {
- value [ MDC-UP-Forbidden_URLs MDC-UP-Facebook_URLs MDC-UP-TikTok_URLs MDC-UP-Pinterest_URLs MDC-UP-Snapchat_URLs ];
- }
- MDC-UC-Advertising_Websites {
- value MDC-UP-Advertising_URLs;
- }
- }
- }
- default-configuration {
- web-filtering {
- performance-mode;
- type juniper-local;
- juniper-local {
- default log-and-permit;
- }
- }
- }
- feature-profile {
- web-filtering {
- type juniper-local;
- juniper-local {
- profile MDC-WFP_Local {
- default permit;
- category {
- MDC-UC-Malicious_Websites {
- action block;
- }
- MDC-UC-Forbidden_Websites {
- action block;
- }
- MDC-UC-Advertising_Websites {
- action block;
- }
- }
- fallback-settings {
- default block;
- too-many-requests block;
- }
- }
- }
- }
- }
- utm-policy MDC-UTM-WF_Local {
- web-filtering {
- http-profile MDC-WFP_Local;
- }
- }
- }
- flow {
- syn-flood-protection-mode syn-cookie;
- }
- screen {
- ids-option IDS-EXT {
- icmp {
- ping-death;
- }
- ip {
- bad-option;
- record-route-option;
- timestamp-option;
- security-option;
- stream-option;
- spoofing;
- source-route-option;
- loose-source-route-option;
- strict-source-route-option;
- tear-drop;
- }
- tcp {
- syn-fin;
- fin-no-ack;
- tcp-no-flag;
- syn-frag;
- syn-flood {
- alarm-threshold 512;
- attack-threshold 200;
- source-threshold 4000;
- destination-threshold 4000;
- timeout 20;
- }
- land;
- winnuke;
- }
- udp {
- flood {
- threshold 1000;
- }
- }
- }
- ids-option IDS-INT {
- 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;
- }
- }
- ids-option IDS-WAN {
- icmp {
- ip-sweep;
- flood threshold 1000;
- ping-death;
- icmpv6-malformed;
- }
- ip {
- bad-option;
- record-route-option;
- timestamp-option;
- security-option;
- stream-option;
- spoofing;
- source-route-option;
- loose-source-route-option;
- strict-source-route-option;
- tear-drop;
- ipv6-extension-header {
- hop-by-hop-header;
- }
- ipv6-malformed-header;
- }
- tcp {
- syn-fin;
- fin-no-ack;
- tcp-no-flag;
- syn-frag;
- port-scan;
- syn-ack-ack-proxy;
- syn-flood {
- alarm-threshold 512;
- attack-threshold 200;
- source-threshold 4000;
- destination-threshold 4000;
- timeout 20;
- }
- land;
- winnuke;
- }
- udp {
- flood {
- threshold 1000;
- }
- }
- }
- inactive: 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 {
- inactive: 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;
- }
- }
- }
- }
- rule-set EXT-User-Untrust-to-EXT-WAN {
- from zone EXT-User-Untrust;
- to zone EXT-WAN;
- rule SPAT-EXT-User-Unturst {
- match {
- source-address 0.0.0.0/0;
- destination-address 0.0.0.0/0;
- }
- then {
- source-nat {
- interface;
- }
- }
- }
- }
- rule-set Infra-and-Admins-to-EXT-WAN {
- from zone [ INT-User-IT-Admins Infra-Network ];
- to zone EXT-WAN;
- rule SPAT-Infra-and-Admins-to-EXT-WAN {
- match {
- source-address 0.0.0.0/0;
- destination-address 0.0.0.0/0;
- }
- then {
- source-nat {
- interface;
- }
- }
- }
- }
- rule-set Infra-and-Admins-to-Lumen-ONT {
- from zone [ INT-User-IT-Admins Infra-Network ];
- to zone DMZ-Network;
- rule SPAT-Infra-and-Admins-to-Lumen-ONT {
- match {
- source-address 0.0.0.0/0;
- destination-address 0.0.0.0/0;
- }
- then {
- source-nat {
- interface;
- }
- }
- }
- }
- }
- }
- policies {
- inactive: from-zone trust to-zone trust {
- policy trust-to-trust {
- match {
- source-address any;
- destination-address any;
- application any;
- }
- then {
- permit;
- }
- }
- }
- inactive: from-zone trust to-zone untrust {
- policy trust-to-untrust {
- match {
- source-address any;
- destination-address any;
- application any;
- }
- then {
- permit;
- }
- }
- }
- from-zone EXT-WAN to-zone junos-host {
- policy Deny-EXT-WAN-to-Junos-Host {
- match {
- source-address any;
- destination-address any;
- application any;
- }
- then {
- deny;
- log {
- session-init;
- }
- }
- }
- }
- from-zone WAN-Prod to-zone WAN-Prod {
- policy Permit-WAN-Prod-Intrazone {
- match {
- source-address any;
- destination-address any;
- application any;
- }
- then {
- permit;
- log {
- session-close;
- }
- }
- }
- }
- global {
- policy Deny-EXT-WAN-to-Any {
- match {
- source-address any;
- destination-address any;
- application any;
- from-zone EXT-WAN;
- to-zone any;
- }
- then {
- deny;
- log {
- session-init;
- }
- count;
- }
- }
- policy Deny-High-Risk-Applications {
- match {
- source-address any;
- destination-address any;
- application S-AP-MDC_HIGH_RISK_APPLICATIONS;
- from-zone any;
- to-zone any;
- }
- then {
- reject;
- log {
- session-init;
- }
- count;
- }
- }
- policy Permit-INT-Trusted-DNS {
- match {
- source-address any;
- destination-address S-AD-INT_TRUSTED_DNS;
- application [ junos-dns-tcp junos-dns-udp ];
- from-zone [ Infra-Network INT-User-IT-Admins ];
- to-zone WAN-Prod;
- }
- then {
- permit;
- }
- }
- policy Permit-EXT-Trusted-DNS {
- match {
- source-address any;
- destination-address S-AD-EXT_TRUSTED_DNS;
- application [ junos-dns-tcp junos-dns-udp ];
- from-zone any;
- to-zone EXT-WAN;
- }
- then {
- permit;
- }
- }
- policy Deny-Untrusted-DNS {
- match {
- source-address any;
- destination-address any;
- application S-AP-MDC_ALL_DNS;
- from-zone any;
- to-zone any;
- }
- then {
- reject;
- log {
- session-init;
- }
- count;
- }
- }
- policy Deny-DoH-to-AdGuard {
- match {
- source-address any;
- destination-address [ EXT-ADGUARD_NET94-140-14_HOST32-14 EXT-ADGUARD_NET94-140-14_HOST32_15-15 ];
- application junos-https;
- from-zone any;
- to-zone EXT-WAN;
- }
- then {
- reject;
- log {
- session-init;
- }
- count;
- }
- }
- policy Deny-Forbidden-Websites {
- match {
- source-address any;
- destination-address any;
- application any;
- from-zone [ EXT-User-Untrust INT-User-IT-Admins ];
- to-zone EXT-WAN;
- }
- then {
- permit {
- application-services {
- utm-policy MDC-UTM-WF_Local;
- }
- }
- }
- }
- policy Permit-Infra-All-to-Any {
- match {
- source-address any;
- destination-address any;
- application any;
- from-zone [ Infra-Network WAN-Prod ];
- to-zone any;
- }
- then {
- permit;
- log {
- session-close;
- }
- }
- }
- policy Permit-INT-User-IT-Admins-to-Any {
- match {
- source-address any;
- destination-address any;
- application any;
- from-zone INT-User-IT-Admins;
- to-zone any;
- }
- then {
- permit;
- log {
- session-close;
- }
- }
- }
- policy Permit-EXT-User-Untrust-to-EXT-WAN {
- match {
- source-address any;
- destination-address any;
- application any;
- from-zone EXT-User-Untrust;
- to-zone EXT-WAN;
- }
- then {
- permit;
- log {
- session-close;
- }
- }
- }
- policy default-deny {
- match {
- source-address any;
- destination-address any;
- application any;
- }
- then {
- deny;
- log {
- session-init;
- }
- count;
- }
- }
- }
- pre-id-default-policy {
- then {
- log {
- session-close;
- }
- }
- }
- }
- zones {
- inactive: security-zone trust {
- host-inbound-traffic {
- system-services {
- all;
- }
- protocols {
- all;
- }
- }
- interfaces {
- irb.0;
- }
- }
- inactive: security-zone untrust {
- screen untrust-screen;
- interfaces {
- ge-0/0/0.0 {
- host-inbound-traffic {
- system-services {
- dhcp;
- tftp;
- https;
- }
- }
- }
- ge-0/0/7.0 {
- host-inbound-traffic {
- system-services {
- dhcp;
- tftp;
- }
- }
- }
- dl0.0 {
- host-inbound-traffic {
- system-services {
- tftp;
- }
- }
- }
- }
- }
- security-zone EXT-User-Untrust {
- tcp-rst;
- screen IDS-EXT;
- host-inbound-traffic {
- system-services {
- dhcp;
- ping;
- }
- }
- interfaces {
- reth1.1681;
- }
- }
- security-zone EXT-WAN {
- tcp-rst;
- screen IDS-WAN;
- interfaces {
- reth2.201 {
- host-inbound-traffic {
- system-services {
- dhcp;
- }
- }
- }
- }
- }
- security-zone WAN-Prod {
- screen IDS-INT;
- host-inbound-traffic {
- system-services {
- ping;
- traceroute;
- }
- protocols {
- bgp;
- }
- }
- interfaces {
- reth0.1001;
- }
- }
- security-zone Infra-Network {
- screen IDS-INT;
- host-inbound-traffic {
- system-services {
- all;
- }
- }
- interfaces {
- lo0.0;
- }
- }
- security-zone DMZ-Network {
- tcp-rst;
- screen IDS-WAN;
- interfaces {
- reth2.0;
- }
- }
- security-zone INT-User-IT-Admins {
- screen IDS-INT;
- host-inbound-traffic {
- system-services {
- ping;
- traceroute;
- dhcp;
- }
- }
- interfaces {
- reth0.1682;
- }
- }
- }
- }
- interfaces {
- ge-0/0/3 {
- gigether-options {
- redundant-parent reth0;
- }
- }
- ge-0/0/4 {
- gigether-options {
- redundant-parent reth1;
- }
- }
- ge-0/0/5 {
- gigether-options {
- redundant-parent reth2;
- }
- }
- cl-1/0/0 {
- dialer-options {
- pool 1 priority 100;
- }
- }
- ge-3/0/3 {
- gigether-options {
- redundant-parent reth0;
- }
- }
- ge-3/0/4 {
- gigether-options {
- redundant-parent reth1;
- }
- }
- ge-3/0/5 {
- gigether-options {
- redundant-parent reth2;
- }
- }
- dl0 {
- unit 0 {
- family inet {
- negotiate-address;
- }
- family inet6 {
- negotiate-address;
- }
- dialer-options {
- pool 1;
- dial-string 1234;
- always-on;
- }
- }
- }
- fab0 {
- fabric-options {
- member-interfaces {
- ge-0/0/2;
- }
- }
- }
- fab1 {
- fabric-options {
- member-interfaces {
- ge-3/0/2;
- }
- }
- }
- irb {
- inactive: unit 0 {
- family inet {
- address 192.168.1.1/24;
- }
- }
- }
- lo0 {
- unit 0 {
- family inet {
- inactive: filter {
- input Protect-RE;
- }
- address 10.255.255.100/32;
- }
- }
- }
- reth0 {
- description INT-Infra-User;
- vlan-tagging;
- redundant-ether-options {
- redundancy-group 1;
- }
- unit 1001 {
- description WAN-Prod;
- vlan-id 1001;
- family inet {
- address 10.255.254.14/30;
- }
- }
- unit 1682 {
- description INT-User-IT-Admins-WLAN;
- vlan-id 1682;
- family inet {
- address 192.168.2.254/24;
- }
- }
- }
- reth1 {
- description EXT-User;
- vlan-tagging;
- redundant-ether-options {
- redundancy-group 1;
- }
- unit 1681 {
- description EXT-User-Untrust-WLAN;
- vlan-id 1681;
- family inet {
- address 192.168.1.254/24;
- }
- }
- }
- reth2 {
- description IO-Trunk;
- flexible-vlan-tagging;
- native-vlan-id 998;
- redundant-ether-options {
- redundancy-group 1;
- }
- unit 0 {
- description DMZ-Network-to-Lumen-ONT;
- vlan-id 998;
- family inet {
- address 192.168.0.253/24;
- }
- }
- unit 201 {
- description Internet-Lumen;
- vlan-id 201;
- family inet {
- dhcp {
- no-dns-install;
- retransmission-interval 64;
- metric 5;
- update-server;
- force-discover;
- options {
- no-hostname;
- }
- }
- }
- }
- }
- }
- snmp {
- description "MDC Firewall";
- location "";
- contact "";
- filter-duplicates;
- community "" {
- authorization read-only;
- clients {
- 10.20.10.0/30;
- }
- }
- community "" {
- authorization read-write;
- clients {
- 10.20.10.0/30;
- }
- }
- trap-options {
- source-address 10.255.255.100;
- }
- trap-group PRTG {
- version v2;
- categories {
- authentication;
- chassis;
- link;
- remote-operations;
- routing;
- startup;
- rmon-alarm;
- vrrp-events;
- configuration;
- }
- targets {
- 10.20.10.1;
- 10.20.10.2;
- }
- }
- health-monitor {
- interval 30;
- rising-threshold 80;
- falling-threshold 20;
- }
- }
- policy-options {
- prefix-list Export-to-Production {
- 10.255.255.100/32;
- 192.168.1.0/24;
- 192.168.2.0/24;
- }
- policy-statement Deny-Redist {
- term Default-Deny {
- then reject;
- }
- }
- policy-statement Export-to-Production {
- term Connect-Allow {
- from {
- prefix-list Export-to-Production;
- }
- then accept;
- }
- term Default-Deny {
- then reject;
- }
- }
- }
- firewall {
- family inet {
- filter Protect-RE {
- term Permit-Loopback-All {
- from {
- source-address {
- 10.255.255.100/32;
- }
- }
- then accept;
- }
- term Permit-SSH {
- from {
- source-address {
- 10.10.10.0/24;
- 10.10.16.0/24;
- 10.20.10.0/24;
- 10.20.11.0/30;
- 10.34.16.0/23;
- 10.37.16.0/23;
- }
- protocol tcp;
- destination-port 22;
- }
- then accept;
- }
- term Permit-Telnet {
- from {
- source-address {
- 10.20.10.3/32;
- }
- protocol tcp;
- destination-port 23;
- }
- then {
- count TELNET_COUNTER;
- syslog;
- accept;
- }
- }
- term Permit-HTTPS {
- from {
- source-address {
- 10.20.10.0/24;
- 10.20.11.0/30;
- 10.34.16.0/23;
- 10.37.16.0/23;
- }
- protocol tcp;
- destination-port 443;
- }
- then accept;
- }
- term Permit-RADIUS {
- from {
- source-address {
- 10.20.11.0/30;
- }
- protocol udp;
- source-port [ 1812 1813 ];
- }
- then accept;
- }
- term Permit-NTP {
- from {
- source-address {
- 132.163.96.0/30;
- }
- protocol udp;
- destination-port 123;
- }
- then accept;
- }
- term Permit-DNS {
- from {
- source-address {
- 10.20.11.0/30;
- }
- protocol udp;
- source-port 53;
- }
- then accept;
- }
- term Permit-ICMP-Request {
- from {
- source-address {
- 10.10.10.0/24;
- 10.10.16.0/24;
- 10.20.10.0/24;
- 10.20.11.0/30;
- 10.34.16.0/23;
- 10.37.16.0/23;
- 10.255.253.0/24;
- 10.255.254.0/24;
- 10.255.255.0/24;
- }
- protocol icmp;
- icmp-type echo-request;
- }
- then accept;
- }
- term Permit-ICMP-Reply {
- from {
- protocol icmp;
- icmp-type echo-reply;
- }
- then accept;
- }
- term Permit-Syslog {
- from {
- source-address {
- 10.20.10.4/32;
- 10.20.10.9/32;
- }
- protocol udp;
- destination-port 514;
- }
- then accept;
- }
- term Permit-DHCP {
- from {
- source-address {
- 207.109.2.27/32;
- 172.16.0.0/23;
- 10.10.15.0/24;
- 10.10.20.0/24;
- 10.20.0.0/16;
- 10.34.0.0/16;
- 10.36.0.0/16;
- 10.37.0.0/16;
- 192.168.1.0/24;
- 192.168.2.0/24;
- }
- protocol udp;
- destination-port [ 67 68 ];
- }
- then accept;
- }
- term Permit-BGP {
- from {
- source-address {
- 10.255.253.0/24;
- 10.255.254.0/24;
- }
- protocol tcp;
- destination-port 179;
- }
- then accept;
- }
- term Silent-Discard-LNCB {
- from {
- destination-address {
- 224.0.0.0/24;
- }
- }
- then {
- discard;
- }
- }
- term Default-Discard {
- then {
- count DEFAULT_DISCARD_COUNTER;
- log;
- syslog;
- discard;
- }
- }
- }
- }
- }
- access {
- address-assignment {
- inactive: pool junosDHCPPool {
- family inet {
- network 192.168.1.0/24;
- range junosRange {
- low 192.168.1.2;
- high 192.168.1.254;
- }
- dhcp-attributes {
- router {
- 192.168.1.1;
- }
- propagate-settings ge-0/0/0.0;
- }
- }
- }
- pool VLAN1681 {
- family inet {
- network 192.168.1.0/24;
- range EXT-User-Untrust {
- low 192.168.1.1;
- high 192.168.1.250;
- }
- dhcp-attributes {
- maximum-lease-time 43140;
- server-identifier 192.168.1.254;
- name-server {
- 94.140.14.14;
- 94.140.15.15;
- }
- router {
- 192.168.1.254;
- }
- }
- }
- }
- pool VLAN1682 {
- family inet {
- network 192.168.2.0/24;
- range INT-User-IT-Admins {
- low 192.168.2.1;
- high 192.168.2.250;
- }
- dhcp-attributes {
- maximum-lease-time 43140;
- server-identifier 10.34.17.254;
- domain-name its.ad.mdc.com;
- name-server {
- 10.20.11.1;
- 10.20.11.2;
- }
- option 119 hex-string 046D676D74036D646303636F6D0003776C63C005036C6162C005026164C005087072696E74657273C005087365637572697479C005C005;
- }
- }
- }
- }
- }
- routing-instances {
- mgmt_junos {
- routing-options {
- static {
- route 0.0.0.0/0 next-hop 10.10.10.254;
- }
- }
- }
- }
- applications {
- application MDC-QUIC {
- protocol udp;
- destination-port 443;
- }
- application MDC-NETBIOS {
- protocol udp;
- destination-port 137-139;
- }
- application MDC-WINS_TCP {
- protocol tcp;
- destination-port 42;
- }
- application MDC-WINS_UDP {
- protocol udp;
- destination-port 42;
- }
- application MDC-LLMNR_TCP {
- protocol tcp;
- destination-port 5355;
- }
- application MDC-LLMNR_UDP {
- protocol udp;
- destination-port 5355;
- }
- application MDC-SSDP {
- protocol udp;
- destination-port 1900;
- }
- application MDC-UPNP {
- protocol tcp;
- destination-port 2869;
- }
- application MDC-DNS_OVER_QUIC {
- protocol udp;
- destination-port 853;
- }
- application MDC-DNS_OVER_TLS {
- protocol tcp;
- destination-port 853;
- }
- application MDC-KERBEROS_AUTH_TCP {
- protocol tcp;
- destination-port 88;
- }
- application MDC-KERBEROS_PWD_TCP {
- protocol tcp;
- destination-port 464;
- }
- application MDC-KERBEROS_AUTH_UDP {
- protocol udp;
- destination-port 88;
- }
- application MDC-KERBEROS_PWD_UDP {
- protocol udp;
- destination-port 464;
- }
- application MDC-LDAP_TCP {
- protocol tcp;
- destination-port 389;
- }
- application MDC-LDAP_GC_TCP {
- protocol tcp;
- destination-port 3268-3269;
- }
- application MDC-LDAP_UDP {
- protocol udp;
- destination-port 389;
- }
- application MDC-LDAP_GC_UDP {
- protocol udp;
- destination-port 3268-3269;
- }
- application MDC-LDAPS_TCP {
- protocol tcp;
- destination-port 636;
- }
- application MDC-LDAPS_UDP {
- protocol udp;
- destination-port 636;
- }
- application MDC-NTP {
- protocol udp;
- destination-port 123;
- }
- application MDC-RPC {
- protocol tcp;
- destination-port 135;
- }
- application MDC-RPC_DYN {
- protocol tcp;
- destination-port 49152-65535;
- }
- application MDC-SMB_AD_MSDS {
- protocol tcp;
- destination-port 445;
- }
- application MDC-SMB_NBSS {
- protocol tcp;
- destination-port 139;
- }
- application MDC-W32TIME {
- protocol udp;
- destination-port 123;
- }
- application-set S-AP-MDC-ACTIVE_DIRECTORY {
- application MDC-KERBEROS_AUTH_TCP;
- application MDC-KERBEROS_PWD_TCP;
- application MDC-KERBEROS_AUTH_UDP;
- application MDC-KERBEROS_PWD_UDP;
- application MDC-LDAP_TCP;
- application MDC-LDAP_GC_TCP;
- application MDC-LDAP_UDP;
- application MDC-LDAP_GC_UDP;
- application MDC-LDAPS_TCP;
- application MDC-LDAPS_UDP;
- application MDC-RPC;
- application MDC-RPC_DYN;
- application MDC-SMB_AD_MSDS;
- application MDC-W32TIME;
- }
- application-set S-AP-MDC_ALL_DNS {
- application junos-dns-tcp;
- application junos-dns-udp;
- application MDC-DNS_OVER_QUIC;
- application MDC-DNS_OVER_TLS;
- }
- application-set S-AP-MDC_HIGH_RISK_APPLICATIONS {
- application MDC-QUIC;
- application MDC-NETBIOS;
- application MDC-WINS_TCP;
- application MDC-WINS_UDP;
- application MDC-LLMNR_TCP;
- application MDC-LLMNR_UDP;
- application MDC-SSDP;
- application MDC-UPNP;
- }
- }
- vlans {
- inactive: vlan-trust {
- vlan-id 3;
- l3-interface irb.0;
- }
- }
- protocols {
- bgp {
- path-selection always-compare-med;
- group MDCBR-Test-to-Production {
- type external;
- description "eBGP to Production";
- local-address 10.255.254.14;
- export Export-to-Production;
- local-as 65409;
- neighbor 10.255.254.13 {
- description MDCBR-PROD;
- peer-as 65376;
- }
- }
- description "MDC Test Firewall";
- hold-time 90;
- log-updown;
- graceful-restart;
- }
- l2-learning {
- global-mode switching;
- }
- lldp {
- interface all;
- interface reth3 {
- disable;
- }
- }
- lldp-med {
- interface all {
- disable;
- }
- }
- rstp {
- interface all;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement