Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 **********@internet
- }
- }
- }
- ethernet eth2 {
- disable
- duplex auto
- speed auto
- }
- loopback lo {
- }
- }
- 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.246.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_slaapkamer {
- ip-address **********
- mac-address **********
- }
- static-mapping STB_woonkamer {
- ip-address **********
- mac-address **********
- }
- 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.246.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
- type masquerade
- }
- }
- ssh {
- port 22
- protocol-version v2
- }
- }
- system {
- host-name chickroute
- login {
- user ********** {
- authentication {
- encrypted-password **********
- plaintext-password ""
- }
- full-name "**********"
- level admin
- }
- }
- name-server 195.121.1.34
- name-server 195.121.1.66
- 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 {
- ipv4 {
- forwarding enable
- pppoe enable
- vlan enable
- }
- }
- syslog {
- global {
- facility all {
- level notice
- }
- facility protocols {
- level debug
- }
- }
- }
- time-zone Europe/Amsterdam
- traffic-analysis {
- dpi disable
- export disable
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment