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 {
- mss-clamp {
- mss 1412
- }
- }
- receive-redirects disable
- send-redirects enable
- source-validation disable
- syn-cookies enable
- }
- interfaces {
- ethernet eth0 {
- address 192.168.1.1/24
- description Local
- duplex auto
- speed auto
- }
- ethernet eth1 {
- description "Internet (PPPoE)"
- duplex auto
- speed auto
- vif 4 {
- address dhcp
- description "KPN TV"
- dhcp-options {
- client-option "send vendor-class-identifier "IPTV_RG";"
- client-option "request subnet-mask, routers, rfc3442-classless-static-routes;"
- default-route update
- default-route-distance 210
- name-server update
- }
- mtu 1500
- }
- vif 6 {
- description Internet
- dhcp-options {
- default-route update
- default-route-distance 210
- name-server update
- }
- mtu 1492
- pppoe 0 {
- default-route auto
- mtu 1492
- name-server auto
- password kpn
- user-id 38-D8-2F-xx-xx-xx@internet
- }
- }
- }
- ethernet eth2 {
- address 192.168.2.1/24
- description "Local 2"
- duplex auto
- speed auto
- }
- loopback lo {
- }
- }
- protocols {
- igmp-proxy {
- interface eth0 {
- alt-subnet 0.0.0.0/0
- 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.202.192.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 LAN1 {
- 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 BOVEN {
- ip-address 192.168.1.90
- mac-address 00:02:9b:d2:xx:xx
- }
- subnet-parameters "option vendor-class-identifier "IPTV_RG ";"
- subnet-parameters "option broadcast-address 192.168.1.255;"
- }
- }
- shared-network-name LAN2 {
- authoritative disable
- subnet 192.168.2.0/24 {
- default-router 192.168.2.1
- dns-server 192.168.2.1
- lease 86400
- start 192.168.2.21 {
- stop 192.168.2.240
- }
- }
- }
- }
- dns {
- forwarding {
- cache-size 150
- listen-on eth0
- listen-on eth2
- }
- }
- gui {
- https-port 443
- }
- nat {
- rule 5008 {
- description ITV
- destination {
- address 10.202.194.0/19
- }
- log disable
- outbound-interface eth1.4
- protocol all
- type masquerade
- }
- rule 5009 {
- description ITV
- destination {
- address 213.75.112.0/21
- }
- log disable
- outbound-interface eth1.4
- protocol all
- type masquerade
- }
- rule 5010 {
- outbound-interface pppoe0
- type masquerade
- }
- }
- ssh {
- port 22
- protocol-version v2
- }
- }
- system {
- host-name ubnt
- login {
- user ubnt {
- authentication {
- encrypted-password $1$zKNoUbAo$gomzUbYvgyUMcD436Wo66.
- }
- 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 UTC
- }
- /* 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@4: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.7.0.4783374.150622.1534 */
Advertisement
Add Comment
Please, Sign In to add comment