Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- firewall {
- all-ping enable
- broadcast-ping disable
- ipv6-receive-redirects disable
- ipv6-src-route disable
- ip-src-route disable
- log-martians enable
- name WAN_IN {
- default-action drop
- description "WAN to internal"
- rule 20 {
- action accept
- description "Allow established/related"
- state {
- established enable
- related enable
- }
- }
- rule 30 {
- action drop
- description "Drop invalid state"
- state {
- invalid enable
- }
- }
- }
- name WAN_LOCAL {
- default-action drop
- description "WAN to router"
- rule 10 {
- action accept
- description "Allow established/related"
- state {
- established enable
- related enable
- }
- }
- rule 20 {
- action drop
- description "Drop invalid state"
- state {
- invalid enable
- }
- }
- }
- receive-redirects disable
- send-redirects enable
- source-validation disable
- syn-cookies enable
- }
- interfaces {
- ethernet eth0 {
- address 192.168.10.2/24
- description WAN
- duplex auto
- firewall {
- in {
- name WAN_IN
- }
- local {
- name WAN_LOCAL
- }
- }
- speed auto
- }
- ethernet eth1 {
- address dhcp
- description Local
- duplex auto
- speed auto
- }
- ethernet eth2 {
- address 10.0.2.1/24
- description Local
- duplex auto
- speed auto
- }
- ethernet eth3 {
- description Local
- duplex auto
- speed auto
- }
- ethernet eth4 {
- address 192.168.1.1/24
- description Local
- duplex auto
- poe {
- output off
- }
- speed auto
- vif 10 {
- address 10.0.10.1/24
- mtu 1500
- }
- vif 20 {
- address 10.0.20.1/24
- description
- mtu 1500
- }
- vif 30 {
- address 10.0.30.1/24
- description
- mtu 1500
- }
- }
- loopback lo {
- }
- switch switch0 {
- address 192.168.0.1/24
- description Local
- mtu 1500
- switch-port {
- vlan-aware disable
- }
- }
- }
- port-forward {
- auto-firewall enable
- hairpin-nat enable
- lan-interface eth4.2
- lan-interface eth4.10
- rule 1 {
- description Plex
- forward-to {
- address
- port 32400
- }
- original-port 32400
- protocol tcp_udp
- }
- wan-interface eth0
- }
- protocols {
- static {
- }
- }
- service {
- dhcp-server {
- disabled false
- hostfile-update disable
- shared-network-name Home {
- authoritative disable
- subnet 10.0.20.0/24 {
- default-router 10.0.20.1
- dns-server 10.0.10.2
- dns-server 10.0.10.3
- lease 86400
- start 10.0.20.10 {
- stop 10.0.20.255
- }
- }
- }
- shared-network-name Mgmt {
- authoritative disable
- subnet 192.168.1.0/24 {
- default-router 192.168.1.1
- dns-server 10.0.10.2
- dns-server 10.0.10.3
- lease 86400
- start 192.168.1.2 {
- stop 192.168.1.255
- }
- unifi-controller 192.168.1.9
- }
- }
- shared-network-name Server {
- authoritative disable
- subnet 10.0.10.0/24 {
- default-router 10.0.10.1
- dns-server 10.0.10.2
- dns-server 10.0.10.3
- lease 86400
- start 10.0.10.10 {
- stop 10.0.10.255
- }
- static-mapping DATA02 {
- ip-address 10.0.10.11
- mac-address 00:50:56:9d:73:c1
- }
- static-mapping HDHR-1060F18C {
- ip-address 10.0.10.17
- mac-address 00:18:dd:06:0f:18
- }
- static-mapping media {
- ip-address 10.0.10.14
- mac-address 00:50:56:92:6d:fc
- }
- static-mapping plex {
- ip-address 10.0.10.15
- mac-address 00:50:56:92:3c:a2
- }
- unifi-controller 192.168.1.9
- }
- }
- shared-network-name Test {
- authoritative disable
- subnet 10.0.2.0/24 {
- default-router 10.0.2.1
- dns-server 8.8.8.8
- dns-server 8.8.4.4
- lease 86400
- start 10.0.2.2 {
- stop 10.0.2.10
- }
- }
- }
- shared-network-name {
- authoritative disable
- subnet 10.0.30.0/24 {
- default-router 10.0.30.1
- dns-server 10.0.10.2
- dns-server 10.0.10.3
- lease 86400
- start 10.0.30.2 {
- stop 10.0.30.20
- }
- }
- }
- static-arp disable
- use-dnsmasq disable
- }
- dns {
- forwarding {
- cache-size 150
- listen-on switch0
- }
- }
- gui {
- http-port 80
- https-port 443
- older-ciphers enable
- }
- nat {
- rule 5010 {
- description "masquerade for WAN"
- outbound-interface eth0
- type masquerade
- }
- }
- ssh {
- port 22
- protocol-version v2
- }
- unms {
- disable
- }
- upnp {
- listen-on eth4 {
- outbound-interface eth0
- }
- listen-on eth4.20 {
- outbound-interface eth0
- }
- }
- }
- system {
- gateway-address 192.168.10.1
- host-name ubnt
- login {
- user admin {
- authentication {
- encrypted-password ****************
- }
- level admin
- }
- }
- name-server 8.8.8.8
- name-server 192.168.10.1
- ntp {
- server 0.ubnt.pool.ntp.org {
- }
- server 1.ubnt.pool.ntp.org {
- }
- server 2.ubnt.pool.ntp.org {
- }
- server 3.ubnt.pool.ntp.org {
- }
- }
- syslog {
- global {
- facility all {
- level notice
- }
- facility protocols {
- level debug
- }
- }
- }
- time-zone UTC
- traffic-analysis {
- dpi enable
- export enable
- }
- }
- traffic-control {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement