Guest User

boot.config

a guest
Aug 21st, 2015
962
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.56 KB | None | 0 0
  1. interfaces {
  2. ethernet eth0 {
  3. address 192.168.1.1/24
  4. description "Internal Network"
  5. duplex auto
  6. speed auto
  7. }
  8. ethernet eth1 {
  9. description Uplink
  10. duplex auto
  11. mtu 1510
  12. speed auto
  13. vif 4 {
  14. address dhcp
  15. description IPTV
  16. dhcp-options {
  17. client-option "send vendor-class-identifier "IPTV_RG";"
  18. client-option "request subnet-mask, routers, rfc3442-classless-static-routes;"
  19. default-route no-update
  20. default-route-distance 254
  21. name-server update
  22. }
  23. }
  24. vif 6 {
  25. description "Internet (PPPoE)"
  26. mtu 1500
  27. pppoe 0 {
  28. default-route auto
  29. firewall {
  30. in {
  31. name WAN_IN
  32. }
  33. local {
  34. name WAN_LOCAL
  35. }
  36. }
  37. mtu 1500
  38. name-server auto
  39. password ppp
  40. user-id **********@internet
  41. }
  42. }
  43. }
  44. ethernet eth2 {
  45. disable
  46. duplex auto
  47. speed auto
  48. }
  49. loopback lo {
  50. }
  51. }
  52. protocols {
  53. igmp-proxy {
  54. interface eth0 {
  55. role downstream
  56. threshold 1
  57. }
  58. interface eth1.4 {
  59. alt-subnet 0.0.0.0/0
  60. role upstream
  61. threshold 1
  62. }
  63. }
  64. static {
  65. route 213.75.112.0/21 {
  66. next-hop 10.246.64.1 {
  67. }
  68. }
  69. }
  70. }
  71. service {
  72. dhcp-server {
  73. disabled false
  74. global-parameters "option vendor-class-identifier code 60 = string;"
  75. global-parameters "option broadcast-address code 28 = ip-address;"
  76. hostfile-update disable
  77. shared-network-name DHCP {
  78. authoritative disable
  79. subnet 192.168.1.0/24 {
  80. default-router 192.168.1.1
  81. dns-server 192.168.1.1
  82. lease 86400
  83. start 192.168.1.21 {
  84. stop 192.168.1.240
  85. }
  86. static-mapping STB_slaapkamer {
  87. ip-address **********
  88. mac-address **********
  89. }
  90. static-mapping STB_woonkamer {
  91. ip-address **********
  92. mac-address **********
  93. }
  94. subnet-parameters "option vendor-class-identifier "IPTV_RG";"
  95. subnet-parameters "option broadcast-address 192.168.1.255;"
  96. }
  97. }
  98. }
  99. dns {
  100. forwarding {
  101. cache-size 150
  102. listen-on eth0
  103. }
  104. }
  105. gui {
  106. https-port 443
  107. }
  108. nat {
  109. rule 5008 {
  110. description IPTV
  111. destination {
  112. address 10.246.64.0/18
  113. }
  114. log disable
  115. outbound-interface eth1.4
  116. protocol all
  117. type masquerade
  118. }
  119. rule 5009 {
  120. description IPTV
  121. destination {
  122. address 213.75.112.0/21
  123. }
  124. log disable
  125. outbound-interface eth1.4
  126. protocol all
  127. type masquerade
  128. }
  129. rule 5010 {
  130. log disable
  131. outbound-interface pppoe0
  132. type masquerade
  133. }
  134. }
  135. ssh {
  136. port 22
  137. protocol-version v2
  138. }
  139. }
  140. system {
  141. host-name chickroute
  142. login {
  143. user ********** {
  144. authentication {
  145. encrypted-password **********
  146. plaintext-password ""
  147. }
  148. full-name "**********"
  149. level admin
  150. }
  151. }
  152. name-server 195.121.1.34
  153. name-server 195.121.1.66
  154. ntp {
  155. server 0.ubnt.pool.ntp.org {
  156. }
  157. server 1.ubnt.pool.ntp.org {
  158. }
  159. server 2.ubnt.pool.ntp.org {
  160. }
  161. server 3.ubnt.pool.ntp.org {
  162. }
  163. }
  164. offload {
  165. ipv4 {
  166. forwarding enable
  167. pppoe enable
  168. vlan enable
  169. }
  170. }
  171. syslog {
  172. global {
  173. facility all {
  174. level notice
  175. }
  176. facility protocols {
  177. level debug
  178. }
  179. }
  180. }
  181. time-zone Europe/Amsterdam
  182. traffic-analysis {
  183. dpi disable
  184. export disable
  185. }
  186. }
Advertisement
Add Comment
Please, Sign In to add comment