blob: 53ecd154254fabfdac581601e237eaaac1e93816 [file] [log] [blame]
developer15a43312022-04-12 11:23:23 +08001# If not stated otherwise in this file or this component's LICENSE
2# file the following copyright and licenses apply:
3#
4#Copyright [2019] [RDK Management]
5#
6#Licensed under the Apache License, Version 2.0 (the "License");
7#you may not use this file except in compliance with the License.
8#You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12#Unless required by applicable law or agreed to in writing, software
13#distributed under the License is distributed on an "AS IS" BASIS,
14#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15#See the License for the specific language governing permissions and
16#limitations under the License.
17
18
19################################################################################
20# This file contains system defaults which will be used
21# if, and only if, the value has not yet been set
22# Both sysevent and syscfg namespace can be set
23#
24# syntax is
25# 1) for syscfg address space
26# $name=value Normal
27# $$name=value If the default should take precedence over running config.
28# 2) for sysevent address space
29# @name=value or
30# @name=value flag where flag is defined in sysevent.h
31# TUPLE_FLAG_NONE = 0x00000000 (no flags)
32# TUPLE_FLAG_SERIAL = 0x00000001 (execute registered handlers in serial fashion)
33# TUPLE_FLAG_EVENT = 0x00000002 (execute registered handlers upon any set operation)
34# TUPLE_FLAG_WORM = 0x00000004 (write once read many)
35# example @foo=bar 0x00000001
36# For sysevent address space you can use a syscfg value as the
37# initial value for the sysevent tuple by prefacing the value by $
38# eg. @name=$name will use the current value of syscfg <name> as the value
39################################################################################
40
41# Version of the database.
42$$Version=11
43
44#-------------------------------------------------------------------
45# sysevent namespace
46#-------------------------------------------------------------------
47
48# wan_ifname is the name (as known to the OS) of the wan interface
49@wan_ifname=erouter0
50
51# model_name - display friendly model name of this device
52@model_name=USGv2 0x00000004
53
54# firmware_version is the current firmware version
55@firmware_version=0.0 0x00000004
56
57# current_wan_ipaddr is the ip address currently assigned to the wan
58@current_wan_ipaddr= 0.0.0.0
59
60@lan-status=stopped
61@wan-status=stopped
62@bridge-status=stopped
63@forwarding-status=stopped
64
65# current_wan_state is the current state of the wan (up/down)
66@current_wan_state=down
67# desired_wan_state is the desired state of the wan (up/down)
68@desired_wan_state=down
69# phylink_wan_state is the current state wan port's physical link (up/down)
70@phylink_wan_state=up
71# ipv4_x_states are used for events internal to the wan but initialize them
72@current_ipv4_wan_state=down
73@current_ipv4_link_state=down
74@desired_ipv4_wan_state=down
75@desired_ipv4_link_state=down
76
77# current hostname is taken from syscfg
78@hostname=$hostname
79
80# current usb device state (inserted/removed)
81#@usb_device_state=removed
82#@usb_device_mount_pt=none
83
84# Wireless radio definitions for ut610n
85#@wl0_radio_type=single 0x00000004
86#@wl0_radio_band=2.4g 0x00000004
87#@wl0_osifname=eth1 0x00000004
88
89#@wl1_radio_type=dual 0x00000004
90#@wl1_radio_band="2.4g 5g" 0x00000004
91#@wl1_osifname=eth2 0x00000004
92
93
94#-------------------------------------------------------------------
95# syscfg namespace
96#-------------------------------------------------------------------
97
98# hostname - the name of the home gateway as known to itself
99# and the home network. The hostname is used to identify the home gateway
100# during dns lookups.
101# This may be "" or unset if no hostname is desired, but this will
102# result in an inability to resolve the home gateway by name to
103# provide its current lan interface ip address.
104# dont assign hostname. instead let registration assign ssid on a per box basis
105# $hostname=ut610n
106
107# Last eRouter Mode, can be modified by DOCSIS Configure File TLV202
108# 0 - disabled
109# 1 - IPv4
110# 2 - IPv6
111# 3 - IPv4 and IPv6
112$last_erouter_mode=3
113
114# wan_physical_ifname - the name (as known to the OS) of the physical interface
115# that is used for the wan. This setting is not meant for users to manipulate.
116$$wan_physical_ifname=erouter0
117
118# wan_bridge_ifname - the name (as known to the OS) of the wan interface that is
119# to be enslaved in the lan bridge when in bridge mode.
120$$wan_bridge_ifname=lbr0
121
122# wan_virtual_ifnum - this is used only if the wan interface is part of a
123# virtual lan. This technique can be used to separate the ethernet switch
124# into a wan port and some lan ports.
125# If so, the value of wan_virtual_ifnum determines the name of the vlan
126# ("vlan" contatenated with wan_virtual_ifnum). The wan_physical_ifname
127# will be part of the resultant virtual lan.
128# If no vlan is used then the tuple is not required, or may be set to ""
129# This setting is not meant for users to manipulate.
130#$wan_virtual_ifnum=2
131
132# wan_mtu - the size of the wan interface's mtu
133# 0 - means auto-mtu, system will pick appropriate
134# default depending on WAN protocol
135$wan_mtu=0
136
137# wan_proto - describes how the wan interface is provisioned
138# must be one of: dhcp, static, pppoe, pptp, l2tp, telstra
139$wan_proto=dhcp
140
141# if wan_proto=static then we need to know the values to which to provision
142# ----------------
143# the wan interface
144# wan_ipaddr - desired wan interface ip address
145# wan_netmask - desired netmask for the interface
146# wan_default_gateway - the default gateway to route to
147# wan_domain - the name of the wan domain (optional)
148# nameserver1 - primary DNS nameserver to use, or 0.0.0.0 if none
149# nameserver2 - secondary DNS nameserver to use, or 0.0.0.0 if none
150# nameserver3 - tertiary DNS nameserver to use, or 0.0.0.0 if none
151# $wan_ipaddr=0.0.0.0
152# $wan_netmask=255.255.255.0
153# $wan_default_gateway=0.0.0.0
154# $nameserver1=0.0.0.0
155# $nameserver2=0.0.0.0
156# $nameserver3=0.0.0.0
157# wan_domain - the domain of the wan. The wan_domain is required
158# by some ISPs in order to define the search order for dns queries.
159# and thus is sometimes used when setting a static wan provisioning.
160# This may be "" or unset if no wan_domain setting is required.
161# $wan_domain=
162
163# if wan_proto=pppoe then
164# ---------------
165# wan_proto_username - the username
166# wan_proto_password - the password
167# wan_proto_remote_name - an remotename (optional)
168# wan_domain - the authentication domain (optional)
169# pppoe_service_name - for pppoe an optional service name
170# pppoe_access_concentrator_name - for pppoe an optional ac name
171# ppp_conn_method - describes the connection method
172# must be either: redial or demand
173# ppp_keepalive_interval - if ppp_conn_method=redial (should be 30-180)
174# ppp_idle_time - if ppp_conn_method=demand (should be 1-9999)
developer4ce069b2023-01-18 16:18:16 +0800175$wan_proto_username=test
176$wan_proto_password=test
developer15a43312022-04-12 11:23:23 +0800177$wan_proto_remote_name=
developer4ce069b2023-01-18 16:18:16 +0800178$wan_proto_servicename=
179$wan_proto_acname=
developer15a43312022-04-12 11:23:23 +0800180$pppoe_service_name=
181$pppoe_access_concentrator_name=
182# $ppp_conn_method=demand
developer4ce069b2023-01-18 16:18:16 +0800183$lcp_interval=30
184$ppp_keepalive_interval=30
185$ppp_idle_time=80
186$MaxMRUSize=1492
developer15a43312022-04-12 11:23:23 +0800187# if wan_proto=pptp then
188# ---------------
189# wan_proto_username - the username
190# wan_proto_password - the password
191# wan_proto_remote_name - an remotename (optional)
192# wan_domain - the authentication domain (optional)
193# wan_proto_server_address- ip address of the pptp server
194# pptp_address_static- whether or not to use auto or static ip address
195# 0 or "" means automatic
196# 1 means static
197# if static then
198# wan_ipaddr - desired wan interface ip address
199# wan_netmask - desired netmask for the interface
200# wan_default_gateway - the default gateway to route to
201# wan_domain - the name of the wan domain (optional)
202# nameserver1 - primary DNS nameserver to use, or 0.0.0.0 if none
203# nameserver2 - secondary DNS nameserver to use, or 0.0.0.0 if none
204# nameserver3 - tertiary DNS nameserver to use, or 0.0.0.0 if none
205#
206# ppp_conn_method - describes the connection method
207# must be either: redial or demand
208# ppp_keepalive_interval - if ppp_conn_method=redial (should be 30-180)
209# ppp_idle_time - if ppp_conn_method=demand (should be 1-9999)
developer4ce069b2023-01-18 16:18:16 +0800210$wan_proto_server_address=10.58.0.1
developer15a43312022-04-12 11:23:23 +0800211$wan_domain=
212$pptp_address_static=0
213
214# if wan_proto=l2tp then
215# -------------
216# wan_proto_username - the username
217# wan_proto_password - the password
218# wan_proto_server_address- ip address of the l2tp server
219# l2tp_address_static- whether or not to use auto or static ip address
220# 0 or "" means automatic
221# 1 means static
222# if static then
223# wan_ipaddr - desired wan interface ip address
224# wan_netmask - desired netmask for the interface
225# wan_default_gateway - the default gateway to route to
226# wan_domain - the name of the wan domain (optional)
227# nameserver1 - primary DNS nameserver to use, or 0.0.0.0 if none
228# nameserver2 - secondary DNS nameserver to use, or 0.0.0.0 if none
229# nameserver3 - tertiary DNS nameserver to use, or 0.0.0.0 if none
230#
231# ppp_conn_method - describes the connection method
232# must be either: redial or demand
233# ppp_keepalive_interval - if ppp_conn_method=redial (should be 30-180)
234# ppp_idle_time - if ppp_conn_method=demand (should be 1-9999)
235$l2tp_address_static=0
236
237
238# lan_ifname - the name (as known to the OS) of the lan interface
239# This setting is not meant for users to manipulate.
240$lan_ifname=brlan0
241
242# lan_ethernet_virtual_ifnums - a list of vlan nums. This is used if the
243# ethernet switch has been segmented into wan and lan ports using the
244# technique described in wan_virtual_ifnum.
245# This setting is not meant for users to manipulate.
246#$lan_ethernet_virtual_ifnums=1
247
248# lan_ethernet_physical_ifnames - a list of names of ethernet interfaces,
249# which will be enslaved into the lan bridge (which is known as lan_ifname
250# as described above)
251# This setting is not meant for users to manipulate
252$$lan_ethernet_physical_ifnames=lan0 lan1 lan2 lan3 lan4
253
254# lan_wl_physical_ifnames - a list of names of 802.11 interfaces, which will
255# be enslaved into the lan bridge (which is known as lan_ifname as
256# described above).
257# This setting is not meant for users to manipulate
258# $lan_wl_physical_ifnames=eth1 eth2
259
260# wireless interface settings
261# ---------------------------
262# for each wireless interface in lan_wl_physical_ifnames you must
263# specify the settings for that interface using the format
264# XXXX_setting, where
265# XXXX is the interface name, for example eth1
266# setting is the name of the value to set.
267# For example eth1_wl_ssid
268# controls the wl_ssid value for eth1
269# a) ssid
270# b) wep
271# wl_wep_enabled is 0 if wep is not enabled and 1 if enabled
272# if wl_wep_enabled then you must specify the wep settings
273# wl_wep_primary_key specifies the primary wep key [0-3]
274# wl_wep_key_X specifies the wep_key for the index X
275# E.g:
276# $wl1_key_1=
277# $wl1_key_2=
278# $wl1_key_3=
279# $wl1_key_4=
280
281
282# WLAN domain: wl0_xxx is for 2.4GHz, wl1_xxx is for 5GHz
283
284# WLAN radio settings
285# $wl_config_mode=manual
286
287# 2.4GHz
288# $wl0_state=up
289# dont assign ssid. instead let registration assign ssid on a per box basis
290# $wl0_ssid=ut610n
291# $wl0_ssid_broadcast=1
292# $wl0_network_mode=11n
293# $wl0_radio_band=auto
294# $wl0_channel=auto
295# $wl0_sideband=lower
296
297# 5GHz
298# $wl1_state=up
299# dont assign ssid. instead let registration assign ssid on a per box basis
300# $wl1_ssid=ut610n_media
301# $wl1_ssid_broadcast=1
302# $wl1_network_mode=11n
303# $wl1_radio_band=auto
304# $wl1_channel=auto
305# $wl1_sideband=lower
306
307# WLAN security settings
308
309# 2.4GHz
310# $wl0_security_mode=disabled
311# $wl0_encryption=
312# $wl0_passphrase=
313# $wl0_tx_key=1
314# $wl0_radius_server=
315# $wl0_radius_port=1812
316# $wl0_shared=0
317# $wl0_encryption=tkip
318# $wl0_key_renewal=3600
319
320# 5GHz
321# $wl1_security_mode=disabled
322# $wl1_encryption=
323# $wl1_passphrase=
324# $wl1_tx_key=1
325# $wl1_radius_server=
326# $wl1_radius_port=1812
327# $wl1_shared=0
328# $wl1_key_renewal=3600
329
330# WLAN MAC filters
331# $wl_access_restriction=disabled
332# $wl_mac_filter=
333
334# Advanced features
335# 2.4GHZ
336# $wl0_ap_isolation=disabled
337# $wl0_frame_burst=enabled
338# $wl0_authentication_type=auto
339# $wl0_basic_rate=default
340# $wl0_transmission_rate=auto
341# $wl0_n_transmission_rate=auto
342# $wl0_transmission_power=high
343# $wl0_cts_protection_mode=auto
344# $wl0_beacon_interval=100
345# $wl0_dtim_interval=1
346# $wl0_fragmentation_threshold=2346
347# $wl0_rts_threshold=2347
348
349# 5GHz
350# $wl1_ap_isolation=disabled
351# $wl1_frame_burst=enabled
352# $wl1_authentication_type=auto
353# $wl1_basic_rate=default
354# $wl1_transmission_rate=auto
355# $wl1_n_transmission_rate=auto
356# $wl1_transmission_power=high
357# $wl1_cts_protection_mode=auto
358# $wl1_beacon_interval=100
359# $wl1_dtim_interval=1
360# $wl1_fragmentation_threshold=2346
361# $wl1_rts_threshold=2347
362
363# Wireless QoS
364# $wl_wmm_support=enabled
365# $wl_no_acknowledgement=disabled
366
367# lan_ipaddr - the ip address to assign the lan_ifname
368# lan_netmask - the netmask to assign the lan_ifname
369$lan_ipaddr=10.0.0.1
370$lan_netmask=255.255.255.0
371
372# lan_domain - the name of the lan side domain
373# -----------
374# This may be blank or unassigned if no lan domain is desired
375# however for internal dns lookups it is usually desirable to
376# have a lan domain
377$lan_domain=utopia.net
378
379$StaticRouteCount=0
380
381# dhcp server
382# ----------
383# dhcp_server_enabled - if 0 then not enabled, if 1 then enabled
384# It must be enabled for any dhcp options to take effect
385# dhcp_start - the starting address for assigning dhcp leases
386# on the lan side
387# It is the last octet of the ip address. Eg 100 is 192.168.1.100
388# dhcp_num - the number of ip addresses that the dhcp server
389# can give out on the lan side
390# dhcp_lease_time - the number of minutes (m) or hours (h) that
391# a dhcp lease is given to a lan client
392# dhcp_nameserver_enabled, dhcp_nameserver_1, dhcp_nameserver_2, dhcp_nameserver_3 - nameservers to provision to dhcp clients
393# dhcp_wins_server - wins server to provision to client
394# dhcp_server_propagate_wan_domain - to maintain old (and less good) behavior of using the wan domain
395# for lan clients then ser dhcp_server_propagate_wan_domain to 1
396# dhcp_server_propagate_wan_nameserver - to maintain old (and less good) behavior of using the wan nameservers
397# for lan clients then ser dhcp_server_propagate_wan_nameserver to 1
398# dhcp_server_slow_start - if we are propagating info from wan, and if wan is not yet provisioned, then give dhcp
399# clients a short lease in order to give wan a chance to come up
400$dhcp_nameserver_enabled=0
401$dhcp_server_enabled=1
402$dhcp_start=10.0.0.2
403$dhcp_end=10.0.0.253
404$dhcp_num=252
405$dhcp_lease_time=7d
406$dhcp_server_propagate_wan_domain=1
407$dhcp_server_propagate_wan_nameserver=1
408$dhcp_server_slow_start=1
409
410# static dhcp leases
411# ------------------
412# if you want to have static addresses given to lan hosts by the dhcp server then
413# dhcp_num_static_host - the number of static hosts provisioned
414# and for each host dhcp_static_host_1 ... dhcp_static_host_x must be
415# either none (for a hole in the array)
416# or mac_address,last_octet_of_ip_address,friendly-name, eg. 11:22:33:44:55:66,99,Bob's iMac
417$dhcp_num_static_hosts=0
418
419# static nameservers
420# $nameserver1=
421# $nameserver2=
422# $nameserver3=
423
424# static wins server
425# ------------------
426#$dhcp_wins_server=
427
428# ddns
429# ----
430# ddns_enable - will set/disable the ddns client
431# 0 is disabled, otherwise it is enabled
432# ddns_service - the name of the ddns service
433# one of:
434# null ezip pgpow dhs
435# dyndns dyndns-static dyndns-custom
436# ods tzo easydns easydns-partner
437# gnudip justlinux dyns hn zoneedit
438# heipv6tb
439
440# ddns_update_days - the maximum number of days that we can wait between
441# ddns updates in order that the server doesnt think we implicitly unregistered
442# from the ddns service
443# ddns_last_update - the timestamp when we last registered with the
444# ddns service.
445# it may be 0 if we never registered
446# ddns_hostname - the name we are registering as with the ddns service
447# ddns_username/ddns_password - the credentials for the ddns service
448# ddns_mx - string to send as the mail exchange
449# ddns_wildcard - set your domain to have a wildcard
450# ddns_server - override default ip:port of ddns service provider
451# wan_last_ipaddr - the ip address that was last successfully registered
452# This should be 0.0.0.0 until we register successfully with the ddns server
453# This is not meant to be changed by the user
454# with ddns service. It may be 0.0.0.0 if we never successfully registered
455# It may also be unset
456# $wan_last_ipaddr=0.0.0.0
457# ddns_last_update - the timestamp of when we last updated successfully
458# with the ddns server
459# It may be 0 or it may be unset if never registered
460# This is not meant to be changed by the user
461# ddns_last_update=0
462$ddns_enable=0
463$ddns_update_days=28
464$ddns_last_update=0
465$ddns_enable1=0
466$ddns_enable2=0
467$ddns_service1=dyndns
468$ddns_service2=tzo
469$ddns_username1=admin1
470$ddns_username2=admin2
471$ddns_hostname1=cisco.com
472$ddns_hostname2=cisco.com
473$ddns_password1=admin1
474$ddns_password2=admin2
475# ntp_server is the name of the ntp server we should use
476$ntp_enabled=1
477$ntp_server1=time.nist.gov
478$ntp_server2=nist1-ny.glassey.com
479#$ntp_server3=2.pool.ntp.org
480# dynamic ntp servers
481# if we get ntp_servers from dhcp client then they will be added to sysevent
482#@dhcpc_ntp_server1=
483#@dhcpc_ntp_server2=
484#@dhcpc_ntp_server3=
485
486# TZ is the timezone that we are in. eg GMT+08:00
487# also Daylight Savings time can be added
488# One specification for DST starting on March 8 @ 2 AM and ending on Nov 11 @ 2AM
489# is: March 8 is the 0th day of the 2nd week of the 3rd month, and
490# Nov 11 is the 0th day of the 1st week of the 11th month
491# thus: DST,M3.2.0/02:00,M11.1.0/02:00
492$TZ=GMT+00:00
493$ntp_cityindex=0
494$auto_dst=1
495$ntp_daylightenable=0
496$ntp_daylightoffset=60
497
498# IGMP Proxy
499$igmpproxy_enabled=1
500
501# MLD Proxy
502$mldproxy_enabled=1
503
504# UPnP InternetGatewayDevice (IGD) settings
505$upnp_igd_enabled=1
506$igd_allow_userconfig=1
507$igd_allow_wandisable=0
508$upnp_igd_advr_expire=1800
509$upnp_igd_advr_ttl=5
510
511# Webserver settings
512# default admin username & password ("admin" in encrypted form)
513# http_is_admin_default indicates whether the default password is being used
514$http_admin_user=admin
515$http_admin_password=TSLIIHauhEfGE
516$http_admin_port=80
517$http_admin_is_default=1
518
519# Default settings for WebUI
520$user_count=3
521$user_name_1=mso
522$user_name_2=cusadmin
523$user_name_3=admin
524#$user_password_1=password of the day
525$user_password_1=W2402
526$user_password_2=WebUI
527$user_password_3=password
528$user_insNum_1=1
529$user_insNum_2=2
530$user_insNum_3=3
531
532# User Interface access level
533@lan_ip_webaccess=1
534@cm_ip_webaccess=1
535#@mta_ip_webaccess=
536@rg_ip_webaccess=0
537
538# Access restrictions on management interface
539$mgmt_http_enable=1
540$mgmt_https_enable=0
541$mgmt_wifi_access=1
542
543$mgmt_wan_access=1
544$mgmt_wan_httpaccess=1
545$mgmt_wan_httpsaccess=0
546$mgmt_wan_sshaccess=1
547$mgmt_wan_telnetaccess=0
548$mgmt_wan_httpport=8080
549$mgmt_wan_httpsport=443
550$mgmt_wan_sshport=22
551$mgmt_wan_telnetport=23
552$mgmt_wan_srcany=1
553$mgmt_wan_srcstart_ip=255.255.255.255
554$mgmt_wan_srcend_ip=255.255.255.255
555$mgmt_wan_fwupgrade=0
556$mgmt_lan_telnetaccess=0
developer4ce069b2023-01-18 16:18:16 +0800557$mgmt_lan_sshaccess=1
developer15a43312022-04-12 11:23:23 +0800558$mgmt_mta_telnetaccess=0
559$mgmt_mta_sshaccess=0
560
561# NAT
562# ---
563# NAT can be explicitly turned off by setting nat_enabled 0
564$nat_enabled=1
565
566# Firewall
567#---------
568# $firewall_enabled= 0|1 1 is enabled, 0 is disabled
569# $GeneralPurposeFirewallRuleCount - the number of general purpose firewall rules
570# $GeneralPurposeFirewallRule_X - where X is a number assigns a firewall rule.
571# There can be as many rules as one likes but
572# for each rule X must be incremented by 1
573# A firewall rule is any rule that is acceptable to iptables-restore
574# You may use shell variables $WAN_IPADDR $LAN_IPADDR $WAN_IFNAME $LAN_IFNAME
575# in the rule and the runtime values will be inserted
576# eg syscfg set GeneralPurposeFilrewallRule_1 "-A INPUT -p tcp -m tcp -d $WAN_IPADDR --dport 22 -j ACCEPT"
577# $v6firewall_ruleX - where X is a number assigns a firewall rule.
578# There can be as many rules as one likes but
579# for each rule X must be incremented by 1
580# There can be no gaps in the numbering
581# A ipv6 firewall rule is any rule that is acceptable to ip6tables-restore
582# You may use shell variables $WAN_IPADDR $LAN_IPADDR $WAN_IFNAME $LAN_IFNAME
583# in the rule and the runtime values will be inserted
584# eg.
585#$GeneralPurposeFirewallRuleCount=3
586#$GeneralPurposeFirewallRule_1=-A INPUT -p tcp -m tcp -d $WAN_IPADDR --dport 22 -j ACCEPT
587#$GeneralPurposeFirewallRule_2=-A INPUT -p tcp -m tcp -d $WAN_IPADDR --dport 80 -j ACCEPT
588#$GeneralPurposeFirewallRule_3=-A INPUT -p tcp -m tcp -d $WAN_IPADDR --dport 443 -j ACCEPT
589
590# For development only, allow nfs and telnet through eth0
591#$GeneralPurposeFirewallRuleCount=1
592#$GeneralPurposeFirewallRule_1=-A INPUT -i eth0 -j ACCEPT
593#$GeneralPurposeFirewallRule_2=-A INPUT -p tcp -m tcp -d $WAN_IPADDR --dport 80 -j ACCEPT
594
595$firewall_enabled=1
596$firewall_level=Low
597$firewall_levelv6=Low
598
599# Do not block rfc 1918 private addresses on the WAN side
600$block_rfc1918=0
601
602$block_ping=0
603$block_multicast=0
604$block_nat_redirection=1
605$nat_hairping_enable=1
606$block_ident=0
607
608# during development we want to allow ping, rfc 1918 addresses on wan, ssh/http/https from wan
609# no matter what rules are in firewall
610$firewall_development_override=0
611
612$dmz_enabled=0
613
614$block_webproxy=0
615$block_java=0
616$block_activex=0
617$block_cookies=0
618$portscan_enabled=0
619
620$IPSecPassthrough=1
621$PPTPPassthrough=1
622
623$SinglePortForwardCount=0
624$PortRangeForwardCount=0
625$PortRangeTriggerCount=0
626$InternetAccessPolicyCount=0
627$W2LWellKnownFirewallRuleCount=0
628
629# IPv6 Section
630
631# 6to4 tunnels
632# $6to4_enable= 0|1|2 1 is enabled except when WAN is RFC1918, 0 is disabled, 2 is enabled even with WAN in RFC1928
633$6to4_enable=0
634
635# AICCU (www.SixSs.net tunnel broker) = IPv6 over UDP over IPv4
636# $aiccu_enable = 0|1 1 is enabled, 0 is disabled even if $aiccu_user/password are configured
637$aiccu_enable=0
638#$aiccu_user=foo
639#$aiccu_password=T@#dK
640#$aiccu_tunnel=T1234
641#$aiccu_prefix=2001:db8:: # only prefix, no prefix length
642
643# Hurricane Electric tunnels (www.tunnelbroker.net) = IPv6 over IPv4
644# $he_enable = 0|1 1 is enabled, 0 is disabled even if $he_user/password are configured
645$he_enable=0
646#$he_client_ipv6=2001:db8:cafe::2 # IPv6 address of the client tunnel interface
647#$he_user=foo
648#$he_password=T@#dK
649#$he_tunnel=1234
650#$he_server_ipv4=192.0.0.2 # The IPv4 address of the tunnel broker
651#$he_prefix=2001:db8:: # only prefix, no prefix length
652
653# Bridging IPv6
654# $ipv6_bridging_enable = 0|1 1 is enabled, 0 is disabled
655$ipv6_bridging_enable=0
656
657# NDP Proxy for IPv6
658# $ipv6_ndp_proxy_enable = 0|1 1 is enabled, 0 is disabled
659$ipv6_ndp_proxy_enable=0
660
661# DHCPv6 client
662# $dhcpv6c_enable = 0|1|2|3 1 is enabled for PD, 2 is enabled for IA, 3 is enabled for IA and PD, 0 is disabled
663$dhcpv6c_enable=0
664
665# DHCPv6 server
666# $dhcpv6s_enable = 0|1 1 is enabled, 0 is disabled
667$dhcpv6s_enable=0
668
669# 6rd tunnels
670# $6rd_enable= 0|1 1 is enabled, 0 is disabled
671$6rd_enable=0
672# $6rd_zone= the leading part of the IPv6 prefix
673# $6rd_zone_length= the length of the 6RD zone
674# $6rd_common_prefix4= the length of the leading common part of the IPv4 address of all 6RD router
675# $6rd_relay= the IPv4 address of the default 6RD relay
676
677# Static IPv6 configuration
678# $ipv6_static_enable = 0|1
679$ipv6_static_enable=0
680
681# WAN static interface configuration (optional when SLAAC is used)
682#$wan_ipv6addr=2001:db8:cafe:baba::1/64
683#$wan_ipv6_default_gateway=fe80::bad:babe
684# LAN static interface configuration MANDATORY when ipv6_static_enable == 1
685#$lan_ipv6addr=2001:db8:f00::1/64
686
687# router advertisement provisioning on LAN side
688# $router_adv_enable= 0|1
689$router_adv_enable=1
690$router_managed_flag=1
691$router_other_flag=1
692
693# allow wan interface to be provisioned using router advertisement
694$router_adv_provisioning_enable=1
695
696
697# Locale Settings
698$locale=en-us
699
700# Rip
701#----
702# $rip_enabled 1 , 0 is disabled
703# $rip_no_split_horizon 1 , 1 means dont use split horizon
704# $rip_interface_wan 0|1, 0 means disable rip on the wan interface
705# $rip_interface_lan 0|1, 0 means disable rip on the lan interface
706$rip_enabled=0
707$cosa_usgv2_rip00::Version=2
708$cosa_usgv2_rip00::ConnectedMetric=1
709$cosa_usgv2_rip00::DefaultMetric=1
710$cosa_usgv2_rip00::UpdateTime=30
711$cosa_usgv2_rip00::CollectionTime=120
712$cosa_usgv2_rip00::TimoutTime=180
713
714$cosa_usgv2_rip00::If1Enable=1
715$cosa_usgv2_rip00::If1KeyChainName=keychain1
716$cosa_usgv2_rip00::If1Name=erouter0
717$cosa_usgv2_rip00::If1Alias=Ethernet
718$cosa_usgv2_rip00::If1AuthenticateType=3
719$cosa_usgv2_rip00::If1ReceiveEnable=1
720$cosa_usgv2_rip00::If1ReceiveVersion=2
721$cosa_usgv2_rip00::If1SendEnable=1
722$cosa_usgv2_rip00::If1SendVersion=2
723$cosa_usgv2_rip00::If1Neighbor=0
724$cosa_usgv2_rip00::If1KeyID=0
725$cosa_usgv2_rip00::If1Md5KeyValue=
726$cosa_usgv2_rip00::If1SimplePassword=
727
728# RIPNG
729# $ripng_enabled=0
730
731# Logging
732# -------
733# $log_level=[0|1|2]
734# 0 - disabled
735# 1 - default log
736# 2 - extra log
737# 3 - debug log
738# syslog level=1 to 8
739# 1 - Emergency
740# 2 - Alert
741# 3 - Critical
742# 4 - Error
743# 5 - Warning (maps to 0 - disabled)
744# 6 - Notice (maps to 1 - normal logging)
745# 7 - Info
746# 8 - Debug (maps to 2 - debug logging)
747# $log_remote=0|<ip-addr>:[port]
748$log_level=2
749$log_remote=0
750
751# Samba usb storage filesystem
752#$samba_server_enabled=0
753
754# Quality of Service
755#------------------
756$qos_enable=1
757
758# NAS Shared Folder
759#------------------
760#$SharedFolderCount=1
761#$SharedFolder_1=sf_1
762#$sf_1::name=Shared
763#$sf_1::folder=Shared
764#$sf_1::drive=/tmp/sda1
765#$sf_1::readonly=0
766
767# Bridge Mode Settings
768#------------------
769$bridge_mode=0
770
771# Wifi Bridge Mode Settings
772#------------------
773$wifi_bridge_mode=0
774
775# MOCA configuration
776# $moca_lof_channel
777# The last RF channel number on which a node was successfully in the steady state. Channel center frequency = 25 MHz * channel number.
778# Valid values are 32 to 60. Set to 0 if there is no LOF.
779# $moca_freq_mode
780# auto - automatic scan
781# manual - fixed manual mode, use the value in moca_freq_plan
782# $moca_freq_plan
783# Valid values are 800MHz to 1500MHz (in 25 MHz increments)
784# $moca_constant_tx_power
785# auto - automatic level
786# manual - fixed manual mode, use the value in moca_maximum_tx_power
787# $moca_maximum_tx_power
788# Maximum analog transmit power of the MoCA interface in units of 3dB.
789# Valid values are 0 (0dB) to 12 (36dB) for current ADI chip.
790# $moca_dig_offset
791# Maximum digital transmit power of the MoCA interface in units of 1/4dB.
792# Valid values are -48 (-12dB) to 23 (5.75dB), 0 is recommended.
793# $moca_preferred_nc
794# Valid values are master, slave, auto and auto_nc.
795# $moca_enable_privacy
796# Valid values are enable and disable.
797# $moca_password_seed
798# A string up to 17 characters max.
799
800#------------------
801
802$moca_lof_channel=0
803$moca_freq_mode=auto
804$moca_freq_plan=1150
805$moca_constant_tx_power=auto
806$moca_dig_offset=0
807$moca_preferred_nc=1
808$moca_enable_privacy=0
809$moca_password_seed=99999999988888888
810$moca_enabled=1
811$moca_scan_enabled=0
812$moca_node_taboo_enabled=1
813$moca_node_taboo_mask=eaaefe00
814$moca_mixed_mode=1
815
816# saMocaDevicePower settings
817$moca_pwr_apc_enable=1
818$moca_maximum_tx_power=10
819$moca_phy_rate=235
820$moca_beacon_pwr_level=9
821
822# CCSP Defaults
823$dhcpv6s00::serverenable=1
824$dhcpv6s00::servertype=1
825$dhcpv6s00::poolnumber=1
826$dhcpv6spool00::instancenumber=1
827$dhcpv6spool00::bEnabled=1
828$dhcpv6spool00::Interface=Device.IP.Interface.2.
829$dhcpv6spool00::IANAEnable=1
830#$dhcpv6spool00::IANAManualPrefixes=Device.IP.Interface.1.IPv6Prefix.1.
831$dhcpv6spool00::IANAPrefixes=Device.IP.Interface.1.IPv6Prefix.1.
832$dhcpv6spool00::LeaseTime=604800
833$dhcpv6spool00::PrefixRangeBegin=0:0:0:0001
834$dhcpv6spool00::PrefixRangeEnd=0:0:0:fffe
835$dhcpv6spool00::EUI64Enable=1
836$dhcpv6spool00::RapidEnable=0
837$dhcpv6spool00::UnicastEnable=0
838$dhcpv6spool00::IANAAmount=255
839$dhcpv6spool00::optionnumber=2
840
841$dhcpv6spool0option0::bEnabled=1
842$dhcpv6spool0option0::Tag=23
843$dhcpv6spool0option0::PassthroughClient=Device.DHCPv6.Client.1.
844$dhcpv6spool0option1::bEnabled=1
845$dhcpv6spool0option1::Tag=24
846$dhcpv6spool0option1::PassthroughClient=Device.DHCPv6.Client.1.
847
848$CaptivePortal_Enable=true
849$redirection_flag=true
850
851#CCSP RECOVERY MONITOR
852$ccsp_recovery_enable=1
853
854# CM Diagnostic IP Support (192.168.100.1), also used for inter-processor DBUS
855$$cmdiag_ifname=lan0
856$cmdiag_enabled=1
857$$ecm_wan_ifname=erouter0
858$$emta_wan_ifname=mta0
859
860# Parental Control Defaults
861$managedsites_enabled=0
862$managedservices_enabled=1
863$manageddevices_enabled=0
864$manageddevices_allow_all=0
865$ManagedSiteBlockCount=0
866$ManagedSiteTrustCount=0
867$ManagedServiceBlockCount=0
868$ManagedServiceTrustCount=0
869$ManagedDeviceCount=0
870
871#HS Port Forward Defaults
872$CosaNAT::port_trigger_enabled=1
873$CosaNAT::port_forward_enabled=1
874$CosaNAT::port_hs_forward_enabled=1
875
876#Email Notification Defaults
877$email_notification_sendlogs=0
878$email_notification_firewallbreach=0
879$email_notification_parentalcontrolbreach=0
880$email_notification_alertswarning=0
881$email_notification_enabled=0
882$email_notification_fromaddr=admin@rdkb.dev
883
884# remote logging
885$rlog_enable=0
886$rlog_host=192.168.0.120
887$rlog_port=514
888
889#Firewall log settings
890$FW_LOG_FILE_PATH=/nvram2/log/firewall
891$$FW_LOG_COMPRESSED_FILE_SIZE=10
892
893#SYSTEM log settings
894#$SYS_LOG_FILE_PATH GET FROM SYSLOG CONFIG FILE
895$$SYS_LOG_COMMPRESSED_FILE_SIZE=10
896
897#Event log settings
898#$EVT_LOG_FILE_PATH GET FROM SYSLOG CONFIG FILE
899$$EVT_LOG_COMMPRESSED_FILE_SIZE=10
900
901# mta dsx log enable/disable
902$mta_dsx_log_enable=true
903
904#MoCA extender default parameters
905$MoCAExtRadioInstanceNumber0=1
906$MoCAExtRadioID0=RADIO_2.4GHz
907$MoCAExtRadioEnable0=1
908$MoCAExtRadioMode0=14
909$MoCAExtRadioChannelWidth0=1
910$MoCAExtRadioChannel0=6
911$MoCAExtRadioSecChannel0=3
912$MoCAExtRadioBeaconInterval0=100
913$MoCAExtRadioDTIMInterval0=2
914$MoCAExtRadioGuardInterval0=400
915$MoCAExtRadioCoexistance0=1
916
917$MoCAExtRadioInstanceNumber1=2
918$MoCAExtRadioID1=RADIO_5GHz
919$MoCAExtRadioEnable1=1
920$MoCAExtRadioMode1=9
921$MoCAExtRadioChannelWidth1=2
922$MoCAExtRadioChannel1=40
923$MoCAExtRadioSecChannel1=3
924$MoCAExtRadioBeaconInterval1=100
925$MoCAExtRadioDTIMInterval1=2
926$MoCAExtRadioGuardInterval1=400
927$MoCAExtRadioCoexistance1=1
928
929$MoCAExtSsidWpsEnabled=1
930$MoCAExtSsidWpsPinCode=12345678
931$MoCAExtSsidWpsSsidIndex=10001000
932
933$MoCAExtSsidNum=0
934
935#static ip defaults
936$staticdns_enable=0
937$wan_ipaddr=0.0.0.0
938$wan_netmask=0.0.0.0
939$wan_default_gateway=0.0.0.0
940$nameserver1=0.0.0.0
941$nameserver2=0.0.0.0
developercc441a02022-05-09 19:04:26 +0800942$hostname=Filogic-GW
developer15a43312022-04-12 11:23:23 +0800943
944$IPv6subPrefix=true
945
946#DSLite
947#dslite_enable - Enable/disable DS-Lite
948$dslite_enable=0
949
950#dslite_count - The number of dslite entries
951$dslite_count=1
952
953#dslite_InsNum - The index of dslite entry
954$dslite_InsNum_1=1
955
956#dslite_active - Enable or disable this 1st ipv6 tunnel
957$dslite_active_1=0
958
959#dslite_alias - The alias of the 1st ipv6 tunnel
960$dslite_alias_1=Dslite.Tunnel.1
961
962#dslite_mode - The preferred method to be used for EndpointName: DHCPv6(1), Static(2)
963$dslite_mode_1=1
964
965#dslite_addr_type - The preferred method to be used for the DS-Lite Endpoint: FQDN(1) IPv6Address(2)
966$dslite_addr_type_1=2
967
968#dslite_addr_fqdn - The Fully Qualified Domain Name (FQDN) of the tunnel concentrator (remote endpoint)
969$dslite_addr_fqdn_1=none
970
971#dslite_addr_ipv6 - The IPv6 address of the tunnel concentrator (remote endpoint)
972$dslite_addr_ipv6_1=::
973
974#dslite_mss_clamping_enable - Turn on/off (TCP) MSS clamping for ipv6 tunnel
975$dslite_mss_clamping_enable_1=0
976
977#dslite_tcpmss - TCP Mss value for ipv6 tunnel
978$dslite_tcpmss_1=1420
979
980#dslite_ipv6_frag_enable - Enable/disable dslite IPv6 frag
981$dslite_ipv6_frag_enable_1=0
982
983#Defaults for WanManager
984$tr_dhcpv6c_enabled=1
985$tr_dhcpv6c_iana_enabled=1
986$tr_dhcpv6c_iapd_enabled=1
developercc441a02022-05-09 19:04:26 +0800987#Default for dhcpv4c.api enable UDHCPC_SWITCH
988$UDHCPEnable=true