Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubnt@ubnt# show
- firewall {
- all-ping enable
- broadcast-ping disable
- ipv6-name WANv6_IN {
- default-action drop
- description "WAN inbound traffic forwarded to LAN"
- enable-default-log
- rule 10 {
- action accept
- description "Allow established/related sessions"
- state {
- established enable
- related enable
- }
- }
- rule 20 {
- action accept
- description "Allow IPv6 icmp"
- protocol ipv6-icmp
- state {
- invalid enable
- }
- }
- rule 30 {
- action drop
- description "Drop invalid state"
- state {
- invalid enable
- }
- }
- }
- ipv6-name WANv6_LOCAL {
- default-action drop
- description "WAN inbound traffic to the router"
- enable-default-log
- rule 10 {
- action accept
- description "Allow established/related sessions"
- state {
- established enable
- related enable
- }
- }
- rule 20 {
- action accept
- description "Allow IPv6 icmp"
- protocol ipv6-icmp
- state {
- invalid enable
- }
- }
- rule 30 {
- action accept
- description "allow dhcpv6"
- destination {
- port 546
- }
- protocol udp
- source {
- port 547
- }
- state {
- invalid enable
- }
- }
- rule 40 {
- action drop
- description "Drop invalid state"
- destination {
- port 546
- }
- protocol udp
- source {
- port 547
- }
- state {
- invalid enable
- }
- }
- }
- 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 10 {
- 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
- }
- }
- }
- name gasten {
- default-action drop
- description ""
- rule 10 {
- action accept
- log disable
- protocol all
- state {
- established enable
- invalid disable
- new disable
- related enable
- }
- }
- rule 20 {
- action drop
- destination {
- address 10.1.0.0/24
- }
- log disable
- protocol all
- }
- rule 30 {
- action drop
- log disable
- protocol all
- state {
- established disable
- invalid enable
- new disable
- related disable
- }
- }
- }
- receive-redirects disable
- send-redirects enable
- source-validation disable
- syn-cookies enable
- }
- interfaces {
- ethernet eth0 {
- address dhcp
- description "eth0 - FTU"
- duplex auto
- firewall {
- in {
- name WAN_IN
- }
- local {
- name WAN_LOCAL
- }
- }
- mtu 1512
- speed auto
- vif 4 {
- address dhcp
- description "eth0.4 - IPTV"
- dhcp-options {
- client-option "send vendor-class-identifier "IPTV_RG";"
- client-option "request subnet-mask, routers, rfc3442-classless-static-routes;"
- default-route no-update
- default-route-distance 210
- name-server update
- }
- }
- vif 6 {
- description "eth0.6 - Internet"
- mtu 1508
- pppoe 0 {
- default-route auto
- dhcpv6-pd {
- pd 0 {
- interface switch0 {
- host-address ::1
- prefix-id :1
- service slaac
- }
- prefix-length /48
- }
- rapid-commit enable
- }
- firewall {
- in {
- ipv6-name WANv6_IN
- name WAN_IN
- }
- local {
- ipv6-name WANv6_LOCAL
- name WAN_LOCAL
- }
- }
- idle-timeout 180
- ipv6 {
- address {
- autoconf
- }
- dup-addr-detect-transmits 1
- enable {
- }
- }
- mtu 1500
- name-server auto
- password kpn
- user-id 28-FF-3E-1A-89-28@internet
- }
- }
- }
- ethernet eth1 {
- description Local
- duplex auto
- speed auto
- }
- ethernet eth2 {
- description Local
- duplex auto
- speed auto
- }
- ethernet eth3 {
- description Local
- duplex auto
- speed auto
- }
- ethernet eth4 {
- description Local
- duplex auto
- speed auto
- }
- ethernet eth5 {
- duplex auto
- firewall {
- in {
- name WAN_IN
- }
- local {
- name WAN_LOCAL
- }
- }
- speed auto
- }
- loopback lo {
- }
- switch switch0 {
- address 10.1.0.1/24
- description lan
- ipv6 {
- dup-addr-detect-transmits 1
- router-advert {
- cur-hop-limit 64
- link-mtu 0
- managed-flag false
- max-interval 600
- name-server 2a02:a47f:e000::53
- name-server 2a02:a47f:e000::54
- other-config-flag false
- prefix ::/64 {
- autonomous-flag true
- on-link-flag true
- valid-lifetime 2592000
- }
- radvd-options "RDNSS 2a02:a47f:e000::53 2a02:a47f:e000::54 {};"
- reachable-time 0
- retrans-timer 0
- send-advert true
- }
- }
- mtu 1500
- switch-port {
- interface eth1 {
- }
- interface eth2 {
- }
- interface eth3 {
- }
- interface eth4 {
- }
- vlan-aware disable
- }
- vif 2 {
- address 10.2.0.1/24
- description gasten
- firewall {
- in {
- name gasten
- }
- local {
- name WAN_LOCAL
- }
- out {
- name gasten
- }
- }
- mtu 1500
- }
- }
- }
- port-forward {
- auto-firewall enable
- hairpin-nat disable
- lan-interface switch0
- wan-interface eth0
- }
- protocols {
- igmp-proxy {
- interface eth0.4 {
- alt-subnet 0.0.0.0/0
- role upstream
- threshold 1
- }
- interface switch0 {
- alt-subnet 0.0.0.0/0
- role downstream
- threshold 1
- }
- }
- static {
- interface-route 0.0.0.0/0 {
- next-hop-interface pppoe0 {
- }
- }
- interface-route6 ::/0 {
- next-hop-interface pppoe0 {
- }
- }
- route 213.75.112.0/21 {
- next-hop 10.228.208.1 {
- }
- }
- }
- }
- service {
- dhcp-server {
- disabled false
- global-parameters "option vendor-class-identifier code 60 = string;"
- global-parameters "option broadcast-address code 28 = ip-address;"
- hostfile-update disable
- shared-network-name LAN {
- authoritative enable
- subnet 10.1.0.0/24 {
- default-router 10.1.0.1
- dns-server 10.1.0.1
- dns-server 195.121.1.34
- dns-server 195.121.1.66
- lease 86400
- start 10.1.0.50 {
- stop 10.1.0.250
- }
- }
- }
- shared-network-name gasten {
- authoritative disable
- subnet 10.2.0.0/24 {
- default-router 10.2.0.1
- dns-server 10.2.0.1
- lease 86400
- start 10.2.0.50 {
- stop 10.2.0.250
- }
- }
- }
- static-arp disable
- use-dnsmasq enable
- }
- dns {
- forwarding {
- cache-size 4000
- listen-on switch0
- listen-on switch0.2
- name-server 8.8.8.8
- name-server 8.8.4.4
- name-server 195.121.1.34
- name-server 195.121.1.66
- name-server 2a02:a47f:e000::53
- name-server 2a02:a47f:e000::54
- options listen-address=10.1.0.1
- options listen-address=10.2.0.1
- }
- }
- gui {
- http-port 80
- https-port 443
- listen-address 10.1.0.1
- older-ciphers enable
- }
- nat {
- rule 5000 {
- description IPTV
- destination {
- address 213.75.112.0/21
- }
- log disable
- outbound-interface eth0.4
- protocol all
- type masquerade
- }
- rule 5010 {
- description "KPN Internet"
- log enable
- outbound-interface pppoe0
- protocol all
- source {
- address 10.1.0.0/24
- }
- type masquerade
- }
- }
- ssh {
- port 22
- protocol-version v2
- }
- unms {
- disable
- }
- }
- system {
- host-name ubnt
- login {
- user <user> {
- authentication {
- encrypted-password <removed>
- }
- level admin
- }
- }
- name-server 195.121.1.66
- name-server 2a02:a47f:e000::53
- name-server 2a02:a47f:e000::54
- name-server 195.121.1.34
- 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 {
- }
- }
- offload {
- hwnat enable
- }
- static-host-mapping {
- }
- syslog {
- global {
- facility all {
- level notice
- }
- facility protocols {
- level debug
- }
- }
- }
- time-zone UTC
- }
Add Comment
Please, Sign In to add comment