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