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 10 {
- action accept
- description "Allow established/related"
- state {
- established enable
- related enable
- }
- }
- rule 20 {
- 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 dhcp
- description Internet
- dhcp-options {
- default-route update
- default-route-distance 210
- name-server no-update
- }
- duplex auto
- firewall {
- in {
- name WAN_IN
- }
- local {
- name WAN_LOCAL
- }
- }
- speed auto
- }
- ethernet eth1 {
- address 20.0.0.1/24
- description Local
- duplex auto
- speed auto
- }
- ethernet eth2 {
- address 10.0.0.1/24
- description "Local 2"
- disable
- duplex auto
- speed auto
- }
- loopback lo {
- }
- }
- port-forward {
- auto-firewall enable
- hairpin-nat enable
- lan-interface eth1
- rule 1 {
- description couch
- forward-to {
- address 20.0.0.10
- port 5053
- }
- original-port 5053
- protocol tcp_udp
- }
- rule 2 {
- description dsm
- forward-to {
- address 20.0.0.10
- port 5000
- }
- original-port 5000
- protocol tcp_udp
- }
- rule 3 {
- description dsm
- forward-to {
- address 20.0.0.10
- port 80
- }
- original-port 80
- protocol tcp_udp
- }
- rule 4 {
- description ftp
- forward-to {
- address 20.0.0.10
- port 21
- }
- original-port 21
- protocol tcp_udp
- }
- rule 5 {
- description sick
- forward-to {
- address 20.0.0.10
- port 8083
- }
- original-port 8083
- protocol tcp_udp
- }
- rule 6 {
- description ""
- forward-to {
- address 20.0.0.10
- port 6881
- }
- original-port 6881
- protocol tcp_udp
- }
- rule 7 {
- description ace
- forward-to {
- address 20.0.0.3
- port 8621
- }
- original-port 8621
- protocol tcp_udp
- }
- wan-interface eth0
- }
- service {
- dhcp-server {
- disabled false
- hostfile-update disable
- shared-network-name LAN1 {
- authoritative enable
- subnet 20.0.0.0/24 {
- default-router 20.0.0.1
- dns-server 20.0.0.1
- lease 86400
- start 20.0.0.2 {
- stop 20.0.0.100
- }
- static-mapping Canon_MG6150 {
- ip-address 20.0.0.8
- mac-address knip
- }
- static-mapping Chromecast {
- ip-address 20.0.0.17
- mac-address knip
- }
- static-mapping HTPC {
- ip-address 20.0.0.11
- mac-address knip
- }
- static-mapping IP_camera {
- ip-address 20.0.0.38
- mac-address knip
- }
- static-mapping Nefit {
- ip-address 20.0.0.6
- mac-address knip
- }
- static-mapping Retropie {
- ip-address 20.0.0.4
- mac-address knip
- }
- static-mapping SERVER {
- ip-address 20.0.0.10
- mac-address knip
- }
- static-mapping Samsung_Rai {
- ip-address 20.0.0.5
- mac-address knip
- }
- static-mapping Samsung_Renu {
- ip-address 20.0.0.9
- mac-address knip
- }
- static-mapping Unifi_AC_LR {
- ip-address 20.0.0.21
- mac-address knip
- }
- static-mapping Werkstation {
- ip-address 20.0.0.14
- mac-address knip
- }
- static-mapping XPS13 {
- ip-address 20.0.0.3
- mac-address knip
- }
- static-mapping Yamaha {
- ip-address 20.0.0.13
- mac-address knip
- }
- }
- }
- shared-network-name LAN2 {
- authoritative enable
- disable
- subnet 10.0.0.0/24 {
- default-router 10.0.0.1
- dns-server 10.0.0.1
- lease 86400
- start 10.0.0.38 {
- stop 10.0.0.243
- }
- }
- }
- use-dnsmasq disable
- }
- dns {
- forwarding {
- cache-size 150
- listen-on eth1
- name-server 8.8.8.8
- name-server 8.8.4.4
- system
- }
- }
- 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
- }
- upnp {
- }
- upnp2 {
- listen-on eth1
- nat-pmp enable
- secure-mode enable
- wan eth0
- }
- }
- system {
- host-name ubnt
- login {
- user admin {
- authentication {
- encrypted-password $6$K0HQfJ.a$iblOoEKq.W3gPnm7Dl855a3DPNousy.lrFBZFbnVeAPDrc9wYhlmNdFKGLfYiNDhtEwqPtfGP9JcwuZXD7xs11
- }
- level admin
- }
- }
- name-server 8.8.8.8
- name-server 8.8.8.4
- ntp {
- server 1.ubnt.pool.ntp.org {
- }
- }
- syslog {
- global {
- facility all {
- level notice
- }
- facility protocols {
- level debug
- }
- }
- }
- time-zone Europe/Amsterdam
- traffic-analysis {
- dpi disable
- export disable
- }
- }
- /* Warning: Do not remove the following line. */
- /* === vyatta-config-version: "config-management@1:conntrack@1:cron@1:dhcp-relay@1:dhcp-server@4:firewall@5:ipsec@5:nat@3:qos@1:quagga@2:system@4:ubnt-pptp@1:ubnt-util@1:vrrp@1:webgui@1:webproxy@1:zone-policy@1" === */
- /* Release version: v1.9.1.4939093.161214.0705 */
Advertisement
Add Comment
Please, Sign In to add comment