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
- }
- }
- }
- options {
- }
- receive-redirects disable
- send-redirects enable
- source-validation disable
- syn-cookies enable
- }
- interfaces {
- ethernet eth0 {
- address 192.168.1.1/24
- description "Internal Network"
- duplex auto
- speed auto
- }
- ethernet eth1 {
- description Uplink
- duplex auto
- mtu 1510
- speed auto
- vif 4 {
- address dhcp
- description 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 254
- name-server update
- }
- }
- vif 6 {
- description "Internet (PPPoE)"
- mtu 1500
- pppoe 0 {
- default-route auto
- firewall {
- in {
- name WAN_IN
- }
- local {
- name WAN_LOCAL
- }
- }
- mtu 1500
- name-server auto
- password ppp
- user-id AB-CD-EF-GH-IJ-KL@internet
- }
- }
- }
- ethernet eth2 {
- description "Local 2"
- duplex auto
- speed auto
- }
- ethernet eth3 {
- description "Local 3"
- duplex auto
- speed auto
- }
- ethernet eth4 {
- description "Local 2"
- duplex auto
- poe {
- output off
- }
- speed auto
- }
- loopback lo {
- }
- switch switch0 {
- switch-port {
- interface eth2
- interface eth3
- interface eth4
- }
- }
- }
- port-forward {
- auto-firewall enable
- hairpin-nat enable
- lan-interface eth0
- wan-interface pppoe0
- }
- protocols {
- igmp-proxy {
- interface eth0 {
- role downstream
- threshold 1
- }
- interface eth1.4 {
- alt-subnet 0.0.0.0/0
- role upstream
- threshold 1
- }
- }
- static {
- route 213.75.112.0/21 {
- next-hop 10.233.64.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 DHCP {
- authoritative disable
- subnet 192.168.1.0/24 {
- default-router 192.168.1.1
- dns-server 192.168.1.1
- lease 86400
- start 192.168.1.21 {
- stop 192.168.1.240
- }
- static-mapping STB_woonkamer {
- ip-address 192.168.1.22
- mac-address 00:02:9b:bc:e1:28
- }
- subnet-parameters "option vendor-class-identifier "IPTV_RG
- ";"
- subnet-parameters "option broadcast-address 192.168.1.255;"
- }
- }
- }
- dns {
- forwarding {
- cache-size 150
- listen-on eth0
- }
- }
- gui {
- https-port 443
- }
- nat {
- rule 5008 {
- description IPTV
- destination {
- address 10.142.64.0/18
- }
- log disable
- outbound-interface eth1.4
- protocol all
- type masquerade
- }
- rule 5009 {
- description IPTV
- destination {
- address 213.75.112.0/21
- }
- log disable
- outbound-interface eth1.4
- protocol all
- type masquerade
- }
- rule 5010 {
- log disable
- outbound-interface pppoe0
- protocol all
- source {
- }
- type masquerade
- }
- }
- ssh {
- port 22
- protocol-version v2
- }
- }
- system {
- config-management {
- commit-revisions 20
- }
- conntrack {
- expect-table-size 2048
- hash-size 32768
- table-size 262144
- }
- host-name chickroute
- login {
- user admin {
- authentication {
- encrypted-password ********************
- plaintext-password ""
- }
- }
- user ubnt {
- authentication {
- encrypted-password ******************.
- }
- level admin
- }
- }
- 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 Europe/Amsterdam
- }
Advertisement
Add Comment
Please, Sign In to add comment