Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- firewall {
- all-ping enable
- broadcast-ping disable
- group {
- }
- ipv6-name WANv6_IN {
- default-action drop
- rule 10 {
- action accept
- description "Allow established/related"
- state {
- established enable
- related enable
- }
- }
- rule 20 {
- action drop
- description "Drop invalid state"
- state {
- invalid enable
- }
- }
- rule 30 {
- action accept
- description "Allow ICMPv6"
- icmpv6 {
- type echo-request
- }
- protocol ipv6-icmp
- }
- }
- ipv6-name WANv6_LOCAL {
- default-action drop
- rule 10 {
- action accept
- description "Allow established/related"
- state {
- established enable
- related enable
- }
- }
- rule 20 {
- action drop
- description "Drop invalid state"
- state {
- invalid enable
- }
- }
- rule 30 {
- action accept
- description "Allow ICMPv6"
- protocol ipv6-icmp
- }
- rule 40 {
- action accept
- description "Allow DHCPv6"
- destination {
- port 546
- }
- protocol udp
- source {
- port 547
- }
- }
- }
- 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
- }
- }
- rule 30 {
- action accept
- description "Allow ICMP"
- log disable
- protocol icmp
- }
- }
- options {
- mss-clamp {
- mss 1412
- }
- }
- receive-redirects disable
- send-redirects enable
- source-validation disable
- syn-cookies enable
- }
- interfaces {
- ethernet eth0 {
- duplex auto
- mtu 1512
- speed auto
- vif 4 {
- address dhcp
- description TV
- 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
- }
- mtu 1500
- }
- vif 6 {
- description "Internet (PPPoE)"
- mtu 1508
- pppoe 0 {
- default-route auto
- dhcpv6-pd {
- no-dns
- 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
- }
- }
- ipv6 {
- address {
- autoconf
- }
- dup-addr-detect-transmits 1
- enable {
- }
- }
- mtu 1500
- name-server auto
- password ppp
- user-id kpn
- }
- }
- }
- 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
- poe {
- output off
- }
- speed auto
- }
- loopback lo {
- }
- switch switch0 {
- address 192.168.0.1/24
- description Local
- ipv6 {
- dup-addr-detect-transmits 1
- router-advert {
- cur-hop-limit 64
- link-mtu 0
- managed-flag false
- max-interval 600
- other-config-flag false
- prefix ::/64 {
- autonomous-flag true
- on-link-flag true
- valid-lifetime 2592000
- }
- reachable-time 0
- retrans-timer 0
- send-advert true
- }
- }
- mtu 1500
- switch-port {
- interface eth1 {
- }
- interface eth2 {
- }
- interface eth3 {
- }
- interface eth4 {
- }
- vlan-aware disable
- }
- }
- }
- port-forward {
- auto-firewall enable
- hairpin-nat enable
- lan-interface switch0
- wan-interface pppoe0
- }
- protocols {
- igmp-proxy {
- interface eth0.4 {
- alt-subnet 0.0.0.0/0
- role upstream
- threshold 1
- }
- interface eth1 {
- alt-subnet 0.0.0.0/0
- role downstream
- threshold 1
- }
- }
- static {
- interface-route6 ::/0 {
- next-hop-interface pppoe0 {
- }
- }
- route 213.75.112.0/21 {
- next-hop 10.205.196.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 192.168.0.0/24 {
- default-router 192.168.0.1
- dns-server 192.168.0.200
- lease 86400
- start 192.168.0.38 {
- stop 192.168.0.243
- }
- }
- }
- 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 5000 {
- description TV
- destination {
- address 213.75.112.0/21
- }
- log disable
- outbound-interface eth0.4
- protocol all
- source {
- }
- type masquerade
- }
- rule 5010 {
- description "masquerade for WAN"
- log disable
- outbound-interface pppoe0
- protocol all
- type masquerade
- }
- }
- snmp {
- community public {
- authorization ro
- }
- listen-address 0.0.0.0 {
- port 161
- }
- }
- ssh {
- port 22
- protocol-version v2
- }
- unms {
- disable
- }
- upnp {
- }
- upnp2 {
- listen-on switch0
- nat-pmp enable
- secure-mode enable
- wan pppoe0
- }
- }
- system {
- analytics-handler {
- send-analytics-report false
- }
- crash-handler {
- send-crash-report false
- }
- host-name ubnt
- login {
- user ubnt {
- authentication {
- encrypted-password $5$P1rJggIlzgBzhAiX$kIZOMSSKW7Zlw4le2/6bzpEFxkTAdup5RDku95N.m57
- }
- 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 {
- }
- }
- offload {
- hwnat enable
- ipsec enable
- }
- syslog {
- global {
- facility all {
- level notice
- }
- facility protocols {
- level debug
- }
- }
- }
- time-zone Europe/Amsterdam
- traffic-analysis {
- dpi enable
- export enable
- }
- }
- traffic-control {
- }
- /* 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:suspend@1:system@5:ubnt-l2tp@1:ubnt-pptp@1:ubnt-udapi-server@1:ubnt-unms@2:ubnt-util@1:vrrp@1:vyatta-netflow@1:webgui@1:webproxy@1:zone-policy@1" === */
- /* Release version: v2.0.9-hotfix.4.5521907.220630.0657 */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement