Compare commits
2 Commits
2ff6e1fb63
...
efb17aaf7d
| Author | SHA1 | Date |
|---|---|---|
|
|
efb17aaf7d | |
|
|
e550de2c95 |
|
|
@ -0,0 +1,52 @@
|
||||||
|
config section avl
|
||||||
|
option 'enabled' '0'
|
||||||
|
option 'hostname' '192.168.0.1'
|
||||||
|
option 'port' '8501'
|
||||||
|
option 'proto' 'tcp'
|
||||||
|
option 'con_cont' '0'
|
||||||
|
option 'send_retry' '0'
|
||||||
|
option 'static_navigation' '0'
|
||||||
|
|
||||||
|
config section avl_rule_main
|
||||||
|
option 'enabled' '1'
|
||||||
|
option 'priority' 'low'
|
||||||
|
option 'distance' '50'
|
||||||
|
option 'collect_period' '5'
|
||||||
|
option 'angle' '50'
|
||||||
|
option 'saved_records' '20'
|
||||||
|
option 'send_period' '60'
|
||||||
|
|
||||||
|
config avl_rule
|
||||||
|
option 'enabled' '1'
|
||||||
|
option 'priority' 'low'
|
||||||
|
option 'name' 'mobile_home and roaming'
|
||||||
|
option 'distance' '25'
|
||||||
|
option 'collect_period' '10'
|
||||||
|
option 'angle' '25'
|
||||||
|
option 'saved_records' '10'
|
||||||
|
option 'send_period' '10'
|
||||||
|
option 'wan_status' 'mobile_home'
|
||||||
|
option 'din_status' 'high'
|
||||||
|
option 'io_type' 'gpio'
|
||||||
|
option 'io_name' 'din1'
|
||||||
|
|
||||||
|
config avl_rule
|
||||||
|
option 'enabled' '1'
|
||||||
|
option 'priority' 'high'
|
||||||
|
option 'name' 'roaming'
|
||||||
|
option 'distance' '200'
|
||||||
|
option 'collect_period' '100'
|
||||||
|
option 'angle' '50'
|
||||||
|
option 'saved_records' '20'
|
||||||
|
option 'send_period' '100'
|
||||||
|
option 'wan_status' 'mobile_roaming'
|
||||||
|
|
||||||
|
config tavl_rule
|
||||||
|
option enabled '0'
|
||||||
|
option type 'mobile'
|
||||||
|
option name 'signal'
|
||||||
|
|
||||||
|
config tavl_rule
|
||||||
|
option enabled '0'
|
||||||
|
option type 'gpio'
|
||||||
|
option name 'din1'
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
config section 'general'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config app 'settings'
|
||||||
|
option refresh_time '30000'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
|
||||||
|
config button
|
||||||
|
option min '0'
|
||||||
|
option max '5'
|
||||||
|
option handler 'reboot'
|
||||||
|
option action 'released'
|
||||||
|
option enabled '1'
|
||||||
|
|
||||||
|
config button
|
||||||
|
option min '6'
|
||||||
|
option max '11'
|
||||||
|
option handler 'default'
|
||||||
|
option action 'released'
|
||||||
|
option enabled '1'
|
||||||
|
|
||||||
|
config button
|
||||||
|
option min '12'
|
||||||
|
option max '20'
|
||||||
|
option handler 'firstboot'
|
||||||
|
option action 'released'
|
||||||
|
option enabled '1'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
config call 'call'
|
||||||
|
option ringing '0'
|
||||||
|
option action 'reject'
|
||||||
|
option enabled '1'
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
|
||||||
|
config status 'status'
|
||||||
|
option enable '1'
|
||||||
|
option port '4200-4220'
|
||||||
|
option shell_limit '5'
|
||||||
|
option _cliWanAccess '0'
|
||||||
|
|
||||||
|
config cli
|
||||||
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
|
||||||
|
config ddns 'global'
|
||||||
|
option ddns_dateformat '%F %R'
|
||||||
|
option ddns_loglines '250'
|
||||||
|
option upd_privateip '1'
|
||||||
|
option use_curl '1'
|
||||||
|
|
||||||
|
config service 'myddns'
|
||||||
|
option lookup_host 'yourhost.example.com'
|
||||||
|
option domain 'yourhost.example.com'
|
||||||
|
option username 'your_username'
|
||||||
|
option password 'your_password'
|
||||||
|
option interface 'wan'
|
||||||
|
option ip_source 'network'
|
||||||
|
option ip_network 'wan'
|
||||||
|
option service_name 'dyn.com'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
|
||||||
|
config dnsmasq
|
||||||
|
option domainneeded '1'
|
||||||
|
option boguspriv '1'
|
||||||
|
option filterwin2k '0'
|
||||||
|
option localise_queries '1'
|
||||||
|
option rebind_protection '1'
|
||||||
|
option rebind_localhost '1'
|
||||||
|
option local '/lan/'
|
||||||
|
option domain 'lan'
|
||||||
|
option expandhosts '1'
|
||||||
|
option nonegcache '0'
|
||||||
|
option authoritative '1'
|
||||||
|
option readethers '1'
|
||||||
|
option leasefile '/tmp/dhcp.leases'
|
||||||
|
option nonwildcard '1'
|
||||||
|
option ednspacket_max '1232'
|
||||||
|
option dhcpscript '/usr/sbin/dhcpinfo.sh'
|
||||||
|
|
||||||
|
config dhcp 'lan'
|
||||||
|
option interface 'lan'
|
||||||
|
option start '100'
|
||||||
|
option limit '150'
|
||||||
|
option leasetime '12h'
|
||||||
|
option relay_enabled '0'
|
||||||
|
option force '0'
|
||||||
|
|
||||||
|
config dhcp 'wan'
|
||||||
|
option interface 'wan'
|
||||||
|
option ignore '1'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
|
||||||
|
config dropbear
|
||||||
|
option PasswordAuth 'on'
|
||||||
|
option RootPasswordAuth 'on'
|
||||||
|
option Port '22'
|
||||||
|
option enable '1'
|
||||||
|
option enable_key_ssh '0'
|
||||||
|
option _sshWanAccess '1'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
config pop3 'pop3'
|
||||||
|
option enabled '0'
|
||||||
|
option limit '5'
|
||||||
|
|
@ -0,0 +1,28 @@
|
||||||
|
config 'etherwake' 'setup'
|
||||||
|
# possible program paths
|
||||||
|
option 'pathes' '/usr/bin/etherwake /usr/bin/ether-wake'
|
||||||
|
# use sudo, defaults to off
|
||||||
|
option 'sudo' 'off'
|
||||||
|
# interface, defaults to 'eth0'
|
||||||
|
# -i <ifname>
|
||||||
|
option 'interface' 'br-lan'
|
||||||
|
# send wake-up packet to the broadcast address, defaults to off
|
||||||
|
# -b
|
||||||
|
option 'broadcast' 'off'
|
||||||
|
|
||||||
|
config 'target'
|
||||||
|
# name for the target
|
||||||
|
option 'name' 'example'
|
||||||
|
# mac address to wake up
|
||||||
|
option 'mac' '11:22:33:44:55:66'
|
||||||
|
# password in hex without any delimiters
|
||||||
|
option 'password' 'AABBCCDDEEFF'
|
||||||
|
# wake up on system start, defaults to off
|
||||||
|
option 'wakeonboot' 'off'
|
||||||
|
|
||||||
|
# To add a new target use:
|
||||||
|
# uci add etherwake target
|
||||||
|
# uci set etherwake.@target[-1].name=example
|
||||||
|
# uci set etherwake.@target[-1].mac=11:22:33:44:55:66
|
||||||
|
# uci set etherwake.@target[-1].password=AABBCCDDEEFF
|
||||||
|
# uci set etherwake.@target[-1].wakeonboot=off
|
||||||
|
|
@ -0,0 +1,209 @@
|
||||||
|
|
||||||
|
config defaults '1'
|
||||||
|
option syn_flood '1'
|
||||||
|
option input 'REJECT'
|
||||||
|
option output 'ACCEPT'
|
||||||
|
option forward 'REJECT'
|
||||||
|
|
||||||
|
config zone '2'
|
||||||
|
option name 'lan'
|
||||||
|
option input 'ACCEPT'
|
||||||
|
option output 'ACCEPT'
|
||||||
|
option forward 'ACCEPT'
|
||||||
|
option network 'lan'
|
||||||
|
|
||||||
|
config zone '3'
|
||||||
|
option name 'wan'
|
||||||
|
option input 'REJECT'
|
||||||
|
option output 'ACCEPT'
|
||||||
|
option forward 'REJECT'
|
||||||
|
option masq '1'
|
||||||
|
option mtu_fix '1'
|
||||||
|
option network 'wan wan6 mob1s1a1 mob2s1a1'
|
||||||
|
|
||||||
|
config forwarding '4'
|
||||||
|
option src 'lan'
|
||||||
|
option dest 'wan'
|
||||||
|
|
||||||
|
config rule '5'
|
||||||
|
option name 'Allow-DHCP-Renew'
|
||||||
|
option src 'wan'
|
||||||
|
option proto 'udp'
|
||||||
|
option dest_port '68'
|
||||||
|
option target 'ACCEPT'
|
||||||
|
option family 'ipv4'
|
||||||
|
option priority '1'
|
||||||
|
|
||||||
|
config rule '6'
|
||||||
|
option name 'Allow-Ping'
|
||||||
|
option src 'wan'
|
||||||
|
option proto 'icmp'
|
||||||
|
option icmp_type 'echo-request'
|
||||||
|
option family 'ipv4'
|
||||||
|
option target 'ACCEPT'
|
||||||
|
option priority '2'
|
||||||
|
|
||||||
|
config rule '7'
|
||||||
|
option name 'Allow-IGMP'
|
||||||
|
option src 'wan'
|
||||||
|
option proto 'igmp'
|
||||||
|
option family 'ipv4'
|
||||||
|
option target 'ACCEPT'
|
||||||
|
option priority '3'
|
||||||
|
|
||||||
|
config rule '8'
|
||||||
|
option name 'Allow-DHCPv6'
|
||||||
|
option src 'wan'
|
||||||
|
option proto 'udp'
|
||||||
|
option src_ip 'fc00::/6'
|
||||||
|
option dest_ip 'fc00::/6'
|
||||||
|
option dest_port '546'
|
||||||
|
option family 'ipv6'
|
||||||
|
option target 'ACCEPT'
|
||||||
|
option priority '4'
|
||||||
|
|
||||||
|
config rule '9'
|
||||||
|
option name 'Allow-MLD'
|
||||||
|
option src 'wan'
|
||||||
|
option proto 'icmp'
|
||||||
|
option src_ip 'fe80::/10'
|
||||||
|
list icmp_type '130/0'
|
||||||
|
list icmp_type '131/0'
|
||||||
|
list icmp_type '132/0'
|
||||||
|
list icmp_type '143/0'
|
||||||
|
option family 'ipv6'
|
||||||
|
option target 'ACCEPT'
|
||||||
|
option priority '5'
|
||||||
|
|
||||||
|
config rule '10'
|
||||||
|
option name 'Allow-ICMPv6-Input'
|
||||||
|
option src 'wan'
|
||||||
|
option proto 'icmp'
|
||||||
|
list icmp_type 'echo-request'
|
||||||
|
list icmp_type 'echo-reply'
|
||||||
|
list icmp_type 'destination-unreachable'
|
||||||
|
list icmp_type 'packet-too-big'
|
||||||
|
list icmp_type 'time-exceeded'
|
||||||
|
list icmp_type 'bad-header'
|
||||||
|
list icmp_type 'unknown-header-type'
|
||||||
|
list icmp_type 'router-solicitation'
|
||||||
|
list icmp_type 'neighbour-solicitation'
|
||||||
|
list icmp_type 'router-advertisement'
|
||||||
|
list icmp_type 'neighbour-advertisement'
|
||||||
|
option limit '1000/sec'
|
||||||
|
option family 'ipv6'
|
||||||
|
option target 'ACCEPT'
|
||||||
|
option priority '6'
|
||||||
|
|
||||||
|
config rule '11'
|
||||||
|
option name 'Allow-ICMPv6-Forward'
|
||||||
|
option src 'wan'
|
||||||
|
option dest '*'
|
||||||
|
option proto 'icmp'
|
||||||
|
list icmp_type 'echo-request'
|
||||||
|
list icmp_type 'echo-reply'
|
||||||
|
list icmp_type 'destination-unreachable'
|
||||||
|
list icmp_type 'packet-too-big'
|
||||||
|
list icmp_type 'time-exceeded'
|
||||||
|
list icmp_type 'bad-header'
|
||||||
|
list icmp_type 'unknown-header-type'
|
||||||
|
option limit '1000/sec'
|
||||||
|
option family 'ipv6'
|
||||||
|
option target 'ACCEPT'
|
||||||
|
option priority '7'
|
||||||
|
|
||||||
|
config rule '12'
|
||||||
|
option name 'Allow-IPSec-ESP'
|
||||||
|
option src 'wan'
|
||||||
|
option dest 'lan'
|
||||||
|
option proto 'esp'
|
||||||
|
option target 'ACCEPT'
|
||||||
|
option priority '8'
|
||||||
|
|
||||||
|
config rule '13'
|
||||||
|
option name 'Allow-ISAKMP'
|
||||||
|
option src 'wan'
|
||||||
|
option dest 'lan'
|
||||||
|
option dest_port '500'
|
||||||
|
option proto 'udp'
|
||||||
|
option target 'ACCEPT'
|
||||||
|
option priority '9'
|
||||||
|
|
||||||
|
config rule '14'
|
||||||
|
option name 'Support-UDP-Traceroute'
|
||||||
|
option src 'wan'
|
||||||
|
option dest_port '33434:33689'
|
||||||
|
option proto 'udp'
|
||||||
|
option family 'ipv4'
|
||||||
|
option target 'REJECT'
|
||||||
|
option enabled 'false'
|
||||||
|
option priority '10'
|
||||||
|
|
||||||
|
config include '15'
|
||||||
|
option path '/etc/firewall.user'
|
||||||
|
|
||||||
|
config rule '16'
|
||||||
|
option dest_port '22'
|
||||||
|
option proto 'tcp'
|
||||||
|
option name 'Enable_SSH_WAN'
|
||||||
|
option target 'ACCEPT'
|
||||||
|
option src 'wan'
|
||||||
|
option priority '11'
|
||||||
|
|
||||||
|
config rule '17'
|
||||||
|
option dest_port '80'
|
||||||
|
option proto 'tcp'
|
||||||
|
option name 'Enable_HTTP_WAN'
|
||||||
|
option target 'ACCEPT'
|
||||||
|
option src 'wan'
|
||||||
|
option priority '12'
|
||||||
|
|
||||||
|
config rule '18'
|
||||||
|
option dest_port '443'
|
||||||
|
option proto 'tcp'
|
||||||
|
option name 'Enable_HTTPS_WAN'
|
||||||
|
option target 'ACCEPT'
|
||||||
|
option src 'wan'
|
||||||
|
option priority '13'
|
||||||
|
|
||||||
|
config rule '19'
|
||||||
|
option dest_port '4200-4220'
|
||||||
|
option proto 'tcp'
|
||||||
|
option name 'Enable_CLI_WAN'
|
||||||
|
option target 'ACCEPT'
|
||||||
|
option src 'wan'
|
||||||
|
option enabled '0'
|
||||||
|
option priority '14'
|
||||||
|
|
||||||
|
config include '20'
|
||||||
|
option path '/etc/add-rs-rule.sh'
|
||||||
|
option reload '1'
|
||||||
|
|
||||||
|
config include 'pscan'
|
||||||
|
option port_scan '0'
|
||||||
|
option type 'script'
|
||||||
|
option reload '1'
|
||||||
|
option path '/usr/bin/port-scan-prevention'
|
||||||
|
|
||||||
|
config rule '21'
|
||||||
|
option dest_port '23'
|
||||||
|
option proto 'tcp udp'
|
||||||
|
option name 'Enable_TELNET_WAN'
|
||||||
|
option target 'ACCEPT'
|
||||||
|
option src 'wan'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule '22'
|
||||||
|
option dest_port '502'
|
||||||
|
option proto 'tcp'
|
||||||
|
option name 'Enable_MODBUSD_WAN'
|
||||||
|
option target 'ACCEPT'
|
||||||
|
option src 'wan'
|
||||||
|
option enabled '1'
|
||||||
|
|
||||||
|
config include 'miniupnpd'
|
||||||
|
option type 'script'
|
||||||
|
option path '/usr/share/miniupnpd/firewall.include'
|
||||||
|
option family 'any'
|
||||||
|
option reload '1'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
config bgp_general 'bgp'
|
||||||
|
|
||||||
|
config bgp_instance 'main_instance'
|
||||||
|
|
||||||
|
config rip_general 'rip'
|
||||||
|
|
||||||
|
config ospf 'ospf'
|
||||||
|
|
||||||
|
config eigrp_general 'eigrp'
|
||||||
|
|
||||||
|
config nhrp_general 'nhrp'
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
config global
|
||||||
|
option anon_swap '0'
|
||||||
|
option anon_mount '1'
|
||||||
|
option auto_swap '1'
|
||||||
|
option auto_mount '1'
|
||||||
|
option delay_root '5'
|
||||||
|
option check_fs '0'
|
||||||
|
|
@ -0,0 +1,147 @@
|
||||||
|
|
||||||
|
config section 'gpsd'
|
||||||
|
option enabled '1'
|
||||||
|
option galileo_sup '1'
|
||||||
|
option beidou_sup '3'
|
||||||
|
option glonass_sup '7'
|
||||||
|
|
||||||
|
config section 'nmea_forwarding'
|
||||||
|
option enabled '0'
|
||||||
|
option port '8500'
|
||||||
|
option proto 'tcp'
|
||||||
|
option con_contain '0'
|
||||||
|
|
||||||
|
config section 'nmea_forwarding_cache'
|
||||||
|
option type 'ram'
|
||||||
|
option sentences_max '5000'
|
||||||
|
|
||||||
|
config section 'nmea_collecting'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config nmea_rule 'GPGSV'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'GPGGA'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'GPVTG'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'GPRMC'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'GPGSA'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'GLGSV'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'GNGSA'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'GNGNS'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'GAGSV'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'PQGSV'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'PQGSA'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config section 'https'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config https_tavl_rule
|
||||||
|
option enabled '0'
|
||||||
|
option type 'mobile'
|
||||||
|
option name 'signal'
|
||||||
|
|
||||||
|
config https_tavl_rule
|
||||||
|
option enabled '0'
|
||||||
|
option type 'gpio'
|
||||||
|
option name 'din1'
|
||||||
|
|
||||||
|
config nmea_rule 'GARMC'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'GAGGA'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'GAGSA'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'GAVTG'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'GBGSV'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'GQGSV'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'GBGSA'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
config nmea_rule 'GQGSA'
|
||||||
|
option forwarding_enabled '0'
|
||||||
|
option forwarding_interval '5'
|
||||||
|
option collecting_enabled '0'
|
||||||
|
option collecting_interval '5'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
config hostblock 'config'
|
||||||
|
option enabled '0'
|
||||||
|
option icmp_host '8.8.8.8'
|
||||||
|
option mode 'whitelist'
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
|
||||||
|
config hwinfo 'hwinfo'
|
||||||
|
option dual_sim '0'
|
||||||
|
option usb '1'
|
||||||
|
option bluetooth '1'
|
||||||
|
option wifi '1'
|
||||||
|
option dual_band_ssid '1'
|
||||||
|
option wps '0'
|
||||||
|
option mobile '1'
|
||||||
|
option gps '1'
|
||||||
|
option ethernet '1'
|
||||||
|
option sfp_port '0'
|
||||||
|
option ios '1'
|
||||||
|
option at_sim '0'
|
||||||
|
option sfp_switch '0'
|
||||||
|
option rs232 '0'
|
||||||
|
option rs485 '0'
|
||||||
|
option console '0'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
|
||||||
|
config scheduler_general 'scheduler_general'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config gpio 'dout1'
|
||||||
|
option direction 'out'
|
||||||
|
option value '0'
|
||||||
|
option bi_dir '0'
|
||||||
|
|
||||||
|
config gpio 'din1'
|
||||||
|
option direction 'in'
|
||||||
|
option value '0'
|
||||||
|
option bi_dir '0'
|
||||||
|
option invert_input '0'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
config globals
|
||||||
|
option max_attempt_count '10'
|
||||||
|
option enabled '1'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
config ipsec
|
||||||
|
option rtinstall_enabled '1'
|
||||||
|
option make_before_break '0'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
config module
|
||||||
|
option name 'H323'
|
||||||
|
option path '/etc/modules.d/nf-nathelper-h323'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config module
|
||||||
|
option name 'SIP'
|
||||||
|
option path '/etc/modules.d/nf-nathelper-sip'
|
||||||
|
option enabled '0'
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
config landing "general"
|
||||||
|
option auth_proto 'pap'
|
||||||
|
option resourcebase '/resources'
|
||||||
|
option theme 'default'
|
||||||
|
|
||||||
|
config theme 'default'
|
||||||
|
option name 'Default theme'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
|
||||||
|
config mdcollectd 'config'
|
||||||
|
option enabled '1'
|
||||||
|
option traffic '0'
|
||||||
|
option datalimit '0'
|
||||||
|
option sim_switch '0'
|
||||||
|
option interval '10'
|
||||||
|
list ignore 'lo'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
|
||||||
|
config modbus 'modbus'
|
||||||
|
option port '502'
|
||||||
|
option clientregs '0'
|
||||||
|
option md_data_type '0'
|
||||||
|
option enabled '1'
|
||||||
|
option keepconn '1'
|
||||||
|
option timeout '60'
|
||||||
|
option device_id '0'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
config settings 'settings'
|
||||||
|
option data_sender_version '1'
|
||||||
|
|
@ -0,0 +1,58 @@
|
||||||
|
|
||||||
|
config tcp_slave '1'
|
||||||
|
option port '502'
|
||||||
|
option slave_id '1'
|
||||||
|
option dev_ipaddr '127.0.0.1'
|
||||||
|
option timeout '5'
|
||||||
|
option period '1'
|
||||||
|
option enabled '1'
|
||||||
|
option delay '0'
|
||||||
|
option frequency 'period'
|
||||||
|
option reconnect '1'
|
||||||
|
option name 'wasd'
|
||||||
|
|
||||||
|
config request_1 '2'
|
||||||
|
option name 'timestamp'
|
||||||
|
option enabled '1'
|
||||||
|
option reg_count '2'
|
||||||
|
option no_brackets '0'
|
||||||
|
option function '3'
|
||||||
|
option data_type '32bit_uint1234'
|
||||||
|
option first_reg '365'
|
||||||
|
|
||||||
|
config request_1 '3'
|
||||||
|
option name 'gps_lat'
|
||||||
|
option enabled '1'
|
||||||
|
option reg_count '2'
|
||||||
|
option no_brackets '0'
|
||||||
|
option function '3'
|
||||||
|
option data_type '32bit_float1234'
|
||||||
|
option first_reg '144'
|
||||||
|
|
||||||
|
config request_1 '4'
|
||||||
|
option name 'gps_lon'
|
||||||
|
option enabled '1'
|
||||||
|
option reg_count '2'
|
||||||
|
option no_brackets '0'
|
||||||
|
option function '3'
|
||||||
|
option data_type '32bit_float1234'
|
||||||
|
option first_reg '146'
|
||||||
|
|
||||||
|
config request_1 '5'
|
||||||
|
option name 'rssi'
|
||||||
|
option enabled '1'
|
||||||
|
option reg_count '2'
|
||||||
|
option no_brackets '0'
|
||||||
|
option function '3'
|
||||||
|
option data_type '32bit_int1234'
|
||||||
|
option first_reg '4'
|
||||||
|
|
||||||
|
config request_1 '6'
|
||||||
|
option name 'nettype'
|
||||||
|
option enabled '1'
|
||||||
|
option reg_count '16'
|
||||||
|
option no_brackets '0'
|
||||||
|
option function '3'
|
||||||
|
option data_type 'ascii'
|
||||||
|
option first_reg '120'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
config gateway 'gateway'
|
||||||
|
option enabled 0
|
||||||
|
option port '1883'
|
||||||
|
option request 'request'
|
||||||
|
option response 'response'
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
config multi_wifi 'general'
|
||||||
|
option enabled '0'
|
||||||
|
option scan_time '60'
|
||||||
|
|
@ -0,0 +1,91 @@
|
||||||
|
|
||||||
|
config globals 'globals'
|
||||||
|
option mmx_mask '0x3F00'
|
||||||
|
option rtmon_interval '5'
|
||||||
|
|
||||||
|
config interface 'wan'
|
||||||
|
option enabled '0'
|
||||||
|
option interval '3'
|
||||||
|
option family 'ipv4'
|
||||||
|
|
||||||
|
config condition
|
||||||
|
option interface 'wan'
|
||||||
|
option track_method 'ping'
|
||||||
|
option reliability '1'
|
||||||
|
option count '1'
|
||||||
|
option timeout '2'
|
||||||
|
option down '3'
|
||||||
|
option up '3'
|
||||||
|
list track_ip '1.1.1.1'
|
||||||
|
list track_ip '8.8.8.8'
|
||||||
|
|
||||||
|
config member 'wan_member_mwan'
|
||||||
|
option interface 'wan'
|
||||||
|
option metric '1'
|
||||||
|
|
||||||
|
config member 'wan_member_balance'
|
||||||
|
option interface 'wan'
|
||||||
|
option weight '1'
|
||||||
|
|
||||||
|
config policy 'mwan_default'
|
||||||
|
list use_member 'wan_member_mwan'
|
||||||
|
list use_member 'mob1s1a1_member_mwan'
|
||||||
|
list use_member 'mob2s1a1_member_mwan'
|
||||||
|
|
||||||
|
config policy 'balance_default'
|
||||||
|
list use_member 'wan_member_balance'
|
||||||
|
list use_member 'mob1s1a1_member_balance'
|
||||||
|
list use_member 'mob2s1a1_member_balance'
|
||||||
|
|
||||||
|
config rule 'default_rule'
|
||||||
|
option dest_ip '0.0.0.0/0'
|
||||||
|
option use_policy 'mwan_default'
|
||||||
|
|
||||||
|
config interface 'mob1s1a1'
|
||||||
|
option interval '3'
|
||||||
|
option enabled '0'
|
||||||
|
option family 'ipv4'
|
||||||
|
|
||||||
|
config condition
|
||||||
|
option interface 'mob1s1a1'
|
||||||
|
option track_method 'ping'
|
||||||
|
option reliability '1'
|
||||||
|
option count '1'
|
||||||
|
option timeout '2'
|
||||||
|
option down '3'
|
||||||
|
option up '3'
|
||||||
|
list track_ip '1.1.1.1'
|
||||||
|
list track_ip '8.8.8.8'
|
||||||
|
|
||||||
|
config member 'mob1s1a1_member_mwan'
|
||||||
|
option interface 'mob1s1a1'
|
||||||
|
option metric '2'
|
||||||
|
|
||||||
|
config member 'mob1s1a1_member_balance'
|
||||||
|
option interface 'mob1s1a1'
|
||||||
|
option weight '1'
|
||||||
|
|
||||||
|
config interface 'mob2s1a1'
|
||||||
|
option interval '3'
|
||||||
|
option enabled '0'
|
||||||
|
option family 'ipv4'
|
||||||
|
|
||||||
|
config condition
|
||||||
|
option interface 'mob2s1a1'
|
||||||
|
option track_method 'ping'
|
||||||
|
option reliability '1'
|
||||||
|
option count '1'
|
||||||
|
option timeout '2'
|
||||||
|
option down '3'
|
||||||
|
option up '3'
|
||||||
|
list track_ip '1.1.1.1'
|
||||||
|
list track_ip '8.8.8.8'
|
||||||
|
|
||||||
|
config member 'mob2s1a1_member_mwan'
|
||||||
|
option interface 'mob2s1a1'
|
||||||
|
option metric '3'
|
||||||
|
|
||||||
|
config member 'mob2s1a1_member_balance'
|
||||||
|
option interface 'mob2s1a1'
|
||||||
|
option weight '1'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,80 @@
|
||||||
|
|
||||||
|
config interface 'loopback'
|
||||||
|
option proto 'static'
|
||||||
|
option ipaddr '127.0.0.1'
|
||||||
|
option netmask '255.0.0.0'
|
||||||
|
option device 'lo'
|
||||||
|
|
||||||
|
config globals 'globals'
|
||||||
|
option ula_prefix 'fd02:bb5a:a885::/48'
|
||||||
|
|
||||||
|
config interface 'lan'
|
||||||
|
option proto 'static'
|
||||||
|
option netmask '255.255.255.0'
|
||||||
|
option ip6assign '60'
|
||||||
|
option device 'br-lan'
|
||||||
|
option metric '1'
|
||||||
|
option delegate '1'
|
||||||
|
option force_link '1'
|
||||||
|
option ipaddr '192.168.0.45'
|
||||||
|
option stp '0'
|
||||||
|
|
||||||
|
config interface 'wan'
|
||||||
|
option proto 'dhcp'
|
||||||
|
option metric '1'
|
||||||
|
option device 'eth1'
|
||||||
|
|
||||||
|
config interface 'wan6'
|
||||||
|
option proto 'dhcpv6'
|
||||||
|
option metric '1'
|
||||||
|
option device 'eth1'
|
||||||
|
|
||||||
|
config switch
|
||||||
|
option name 'switch0'
|
||||||
|
option reset '1'
|
||||||
|
option enable_vlan '1'
|
||||||
|
|
||||||
|
config switch_vlan
|
||||||
|
option device 'switch0'
|
||||||
|
option vlan '1'
|
||||||
|
option ports '1 2 3 4 0'
|
||||||
|
|
||||||
|
config switch_vlan
|
||||||
|
option device 'switch0'
|
||||||
|
option vlan '2'
|
||||||
|
option ports '5 0'
|
||||||
|
|
||||||
|
config interface 'mob1s1a1'
|
||||||
|
option proto 'wwan'
|
||||||
|
option modem '3-1'
|
||||||
|
option metric '2'
|
||||||
|
option sim '1'
|
||||||
|
option pdp '1'
|
||||||
|
option dhcpv6 '0'
|
||||||
|
option pdptype 'ip'
|
||||||
|
option force_apn '-1'
|
||||||
|
option auto_apn '0'
|
||||||
|
option apn 'wsim.vpn'
|
||||||
|
option auth 'none'
|
||||||
|
|
||||||
|
config interface 'mob2s1a1'
|
||||||
|
option proto 'wwan'
|
||||||
|
option modem '1-1.2'
|
||||||
|
option metric '3'
|
||||||
|
option sim '1'
|
||||||
|
option pdp '1'
|
||||||
|
option dhcpv6 '0'
|
||||||
|
option pdptype 'ip'
|
||||||
|
option force_apn '-1'
|
||||||
|
option auto_apn '0'
|
||||||
|
option method 'nat'
|
||||||
|
option apn 'wsim.vpn'
|
||||||
|
option delegate '1'
|
||||||
|
option force_link '0'
|
||||||
|
option auth 'none'
|
||||||
|
|
||||||
|
config device 'br_lan'
|
||||||
|
option name 'br-lan'
|
||||||
|
option type 'bridge'
|
||||||
|
list ports 'eth0'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
config ntpserver
|
||||||
|
option hostname '0.openwrt.pool.ntp.org'
|
||||||
|
option port '123'
|
||||||
|
|
||||||
|
config ntpserver
|
||||||
|
option hostname '1.openwrt.pool.ntp.org'
|
||||||
|
option port '123'
|
||||||
|
|
||||||
|
config ntpserver
|
||||||
|
option hostname '2.openwrt.pool.ntp.org'
|
||||||
|
option port '123'
|
||||||
|
|
||||||
|
config ntpserver
|
||||||
|
option hostname '3.openwrt.pool.ntp.org'
|
||||||
|
option port '123'
|
||||||
|
|
||||||
|
config ntpdrift
|
||||||
|
option freq '0'
|
||||||
|
|
||||||
|
config ntpclient
|
||||||
|
option enabled 1
|
||||||
|
option interval 86400
|
||||||
|
#option count 10
|
||||||
|
#option interface wan
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
config dns_list 'dns_list'
|
||||||
|
option enabled '1'
|
||||||
|
list dns '8.8.8.8'
|
||||||
|
list dns '1.1.1.1'
|
||||||
|
list dns '208.67.222.222'
|
||||||
|
list dns '9.9.9.9'
|
||||||
|
list dns '64.6.64.6'
|
||||||
|
list dns6 '2001:4860:4860::8888'
|
||||||
|
list dns6 '2606:4700:4700::1111'
|
||||||
|
list dns6 '2620:119:35::35'
|
||||||
|
list dns6 '2620:fe::fe'
|
||||||
|
list dns6 '2620:74:1b::1:1'
|
||||||
|
|
@ -0,0 +1,99 @@
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'system'
|
||||||
|
option enabled '1'
|
||||||
|
option position '1'
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'mobile'
|
||||||
|
option enabled '1'
|
||||||
|
option section_name '3-1'
|
||||||
|
option position '3'
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'wireless'
|
||||||
|
option enabled '1'
|
||||||
|
option section_name 'radio1.network1'
|
||||||
|
option position '5'
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'interface'
|
||||||
|
option enabled '1'
|
||||||
|
option section_name 'lan'
|
||||||
|
option position '6'
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'interface'
|
||||||
|
option enabled '1'
|
||||||
|
option section_name 'wan'
|
||||||
|
option position '7'
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'interface'
|
||||||
|
option enabled '0'
|
||||||
|
option section_name 'wan6'
|
||||||
|
option position '8'
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'mobile'
|
||||||
|
option enabled '1'
|
||||||
|
option section_name '1-1.2'
|
||||||
|
option position '9'
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'interface'
|
||||||
|
option enabled '1'
|
||||||
|
option section_name 'mob1s1a1'
|
||||||
|
option position '10'
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'mobile_data_limit'
|
||||||
|
option enabled '0'
|
||||||
|
option section_name 'mob1s1a1'
|
||||||
|
option position '11'
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'mobile_data_limit'
|
||||||
|
option enabled '0'
|
||||||
|
option section_name 'mob2s1a1'
|
||||||
|
option position '12'
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'sms_limit_sim1'
|
||||||
|
option enabled '0'
|
||||||
|
option section_name 'cfg02aa0e'
|
||||||
|
option position '14'
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'system_events'
|
||||||
|
option enabled '1'
|
||||||
|
option position '16'
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'network_events'
|
||||||
|
option enabled '1'
|
||||||
|
option position '17'
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'monitoring'
|
||||||
|
option enabled '1'
|
||||||
|
option position '18'
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'interface'
|
||||||
|
option enabled '1'
|
||||||
|
option section_name 'mob2s1a1'
|
||||||
|
option position '20'
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'wireless'
|
||||||
|
option position '21'
|
||||||
|
option enabled '1'
|
||||||
|
option section_name 'radio0.network1'
|
||||||
|
|
||||||
|
config overview
|
||||||
|
option id 'sms_limit_sim1'
|
||||||
|
option position '22'
|
||||||
|
option enabled '1'
|
||||||
|
option section_name 'cfg01aa0e'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
config p910nd
|
||||||
|
option device /dev/usb/lp0
|
||||||
|
# Actual TCP port is 9100 plus this value
|
||||||
|
# Valid values are 0,1,2
|
||||||
|
option port 0
|
||||||
|
option bidirectional 1
|
||||||
|
option enabled 0
|
||||||
|
# Override running as user p910nd, group lp
|
||||||
|
option runas_root 0
|
||||||
|
|
||||||
|
# mDNS support - see Bonjour Printing Specification for details concerning the values
|
||||||
|
# Be aware that you can only advertise one printer on this host via mDNS
|
||||||
|
# Set to 1 to enable
|
||||||
|
option mdns 0
|
||||||
|
# Human-readable printer make and model
|
||||||
|
option mdns_ty 'My Printer Manufacturer/Model'
|
||||||
|
# Human-readable location
|
||||||
|
option mdns_note 'Basement'
|
||||||
|
# Post-Script product string, including parenthesis
|
||||||
|
option mdns_product ''
|
||||||
|
# IEEE-1284 Device ID MANUFACTURER/MFG string
|
||||||
|
option mdns_mfg ''
|
||||||
|
# IEEE-1284 Device ID MODEL/MDL string
|
||||||
|
option mdns_mdl ''
|
||||||
|
# IEEE-1284 Device ID COMMAND SET/CMD string
|
||||||
|
option mdns_cmd ''
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
config package_restore 'package_restore'
|
||||||
|
option enabled '1'
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
config periodic_reboot 'periodic_reboot'
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
|
||||||
|
config ping_reboot
|
||||||
|
option action '1'
|
||||||
|
option time '5'
|
||||||
|
option fail_counter '0'
|
||||||
|
option packet_size '56'
|
||||||
|
option stop_action '0'
|
||||||
|
option type 'ping'
|
||||||
|
option ip_type2 'ipv4'
|
||||||
|
option ip_type1 'ipv4'
|
||||||
|
option enable '1'
|
||||||
|
option time_out '7'
|
||||||
|
option host2 '8.8.8.8'
|
||||||
|
option retry '11'
|
||||||
|
option host1 '8.8.8.8'
|
||||||
|
option interface '2'
|
||||||
|
option modem '3-1'
|
||||||
|
option current_try '4'
|
||||||
|
|
||||||
|
config ping_reboot
|
||||||
|
option type 'wget'
|
||||||
|
option action '1'
|
||||||
|
option enable '1'
|
||||||
|
option host 'http://www.google.com'
|
||||||
|
option time '120'
|
||||||
|
option time_out '20'
|
||||||
|
option stop_action '0'
|
||||||
|
option retry '3'
|
||||||
|
option modem '3-1'
|
||||||
|
option current_try '1'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
config post_get 'io'
|
||||||
|
option enabled '0'
|
||||||
|
list allow "io_state"
|
||||||
|
list allow "io_type"
|
||||||
|
list allow "io_value"
|
||||||
|
|
||||||
|
config post_get 'mobile'
|
||||||
|
option enabled '0'
|
||||||
|
list allow 'mobile_data'
|
||||||
|
list allow 'sms_delete'
|
||||||
|
list allow 'sms_list'
|
||||||
|
list allow 'sms_read'
|
||||||
|
list allow 'sms_send'
|
||||||
|
list allow 'sms_total'
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
config privoxy 'privoxy'
|
||||||
|
option enabled '0'
|
||||||
|
option confdir /etc/privoxy
|
||||||
|
option logdir /var/log
|
||||||
|
option filterfile default.filter
|
||||||
|
option logfile privoxy
|
||||||
|
option actionsfile /var/run/user.action
|
||||||
|
option toggle 1
|
||||||
|
option enable_remote_toggle 1
|
||||||
|
option enable_remote_http_toggle 0
|
||||||
|
option enable_edit_actions 1
|
||||||
|
option buffer_limit 4096
|
||||||
|
option forwarded_connect_retries 0
|
||||||
|
option accept_intercepted_requests 1
|
||||||
|
option allow_cgi_request_crunching 0
|
||||||
|
option split_large_forms 0
|
||||||
|
option keep_alive_timeout 300
|
||||||
|
option socket_timeout 300
|
||||||
|
option listen_address :8118
|
||||||
|
option permit_access lan
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
config general 'general'
|
||||||
|
option path '/etc/profiles/'
|
||||||
|
option profile 'default'
|
||||||
|
|
||||||
|
config profile 'default'
|
||||||
|
option archive 'default.tar.gz'
|
||||||
|
option md5file 'default.md5'
|
||||||
|
option id '0'
|
||||||
|
option updated '1689675671'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
config interface 'mob1s1a1'
|
||||||
|
|
||||||
|
config interface 'mob2s1a1'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
|
||||||
|
config rms_mqtt 'rms_mqtt'
|
||||||
|
option rms_ip 'rms.teltonika.lt'
|
||||||
|
option rms_port '15010'
|
||||||
|
option ca_file '/etc/rms_mqtt/ca.crt'
|
||||||
|
option cert_file '/etc/rms_mqtt/client.crt'
|
||||||
|
option key_file '/etc/rms_mqtt/client.key'
|
||||||
|
option rms_keepalive '60'
|
||||||
|
|
||||||
|
config rms_connect_mqtt 'rms_connect_mqtt'
|
||||||
|
option retry '60'
|
||||||
|
option port '15009'
|
||||||
|
option remote 'rms.teltonika-networks.com'
|
||||||
|
option debug '1'
|
||||||
|
option enable '2'
|
||||||
|
|
||||||
|
config rms_connect_timer 'rms_connect_timer'
|
||||||
|
option level '0'
|
||||||
|
option next_level '1689674488'
|
||||||
|
|
||||||
|
config rms_connect_timer 'default'
|
||||||
|
option repeat_time '21600'
|
||||||
|
|
||||||
|
config rms_connect_timer_level
|
||||||
|
option repeat_time '120'
|
||||||
|
option whole_time '3600'
|
||||||
|
|
||||||
|
config rms_connect_timer_level
|
||||||
|
option repeat_time '300'
|
||||||
|
option whole_time '1209600'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,61 @@
|
||||||
|
|
||||||
|
config rpcd
|
||||||
|
option socket '/var/run/ubus/ubus.sock'
|
||||||
|
option timeout '200'
|
||||||
|
|
||||||
|
config login
|
||||||
|
option username 'admin'
|
||||||
|
option password '$p$admin'
|
||||||
|
option group 'root'
|
||||||
|
option _dummy_time '1688370835'
|
||||||
|
list read 'superuser'
|
||||||
|
list read '*'
|
||||||
|
list write 'superuser'
|
||||||
|
list write '*'
|
||||||
|
|
||||||
|
config superuser
|
||||||
|
option username 'admin'
|
||||||
|
list read '*'
|
||||||
|
list write '*'
|
||||||
|
option password '$p$admin'
|
||||||
|
|
||||||
|
config group 'root'
|
||||||
|
option target_write 'allow'
|
||||||
|
option target_read 'allow'
|
||||||
|
list write '*'
|
||||||
|
list read '*'
|
||||||
|
|
||||||
|
config group 'admin'
|
||||||
|
option target_read 'deny'
|
||||||
|
list read 'system/multiusers/users_configuration'
|
||||||
|
list read 'system/backup'
|
||||||
|
list read 'system/flashops'
|
||||||
|
list read 'system/cli'
|
||||||
|
list read 'system/wizard'
|
||||||
|
list read 'system/uscripts'
|
||||||
|
list read 'system/profiles'
|
||||||
|
option target_write 'deny'
|
||||||
|
list write 'system/flashops'
|
||||||
|
list write 'system/uscripts'
|
||||||
|
list write 'system/wizard'
|
||||||
|
list write 'system/multiusers/users_configuration'
|
||||||
|
list write 'system/profiles'
|
||||||
|
list write 'system/admin/access_control/general'
|
||||||
|
list write 'system/backup'
|
||||||
|
|
||||||
|
config group 'user'
|
||||||
|
option target_write 'allow'
|
||||||
|
option target_read 'deny'
|
||||||
|
list write 'system/multiusers/change_password'
|
||||||
|
list read 'system/multiusers/users_configuration'
|
||||||
|
list read 'system/flashops'
|
||||||
|
list read 'system/backup'
|
||||||
|
list read 'system/admin/access_control'
|
||||||
|
list read 'system/cli'
|
||||||
|
list read 'system/uscripts'
|
||||||
|
list read 'services/packages'
|
||||||
|
list read 'network'
|
||||||
|
list read 'system/wizard'
|
||||||
|
list read 'services/hotspot/general/userscripts'
|
||||||
|
list read 'services/mobile_utilities/sms_messages/send'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
config rut_fota 'config'
|
||||||
|
option enabled '1'
|
||||||
|
option communication_host 'rut.teltonika.lt'
|
||||||
|
option communication_port '5000'
|
||||||
|
option fw_info 'N/A'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
config samba
|
||||||
|
option 'name' 'Router_share'
|
||||||
|
option 'workgroup' 'WORKGROUP'
|
||||||
|
option 'description' 'Router share'
|
||||||
|
option 'homes' '1'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
|
||||||
|
config sim
|
||||||
|
option modem '3-1'
|
||||||
|
option position '1'
|
||||||
|
|
||||||
|
config sim
|
||||||
|
option modem '1-1.2'
|
||||||
|
option position '1'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
|
||||||
|
config sim
|
||||||
|
option modem '3-1'
|
||||||
|
option position '1'
|
||||||
|
option primary '1'
|
||||||
|
option volte 'auto'
|
||||||
|
option iccid '8935201641414312139F'
|
||||||
|
|
||||||
|
config sim
|
||||||
|
option modem '1-1.2'
|
||||||
|
option position '1'
|
||||||
|
option primary '1'
|
||||||
|
option volte 'auto'
|
||||||
|
|
||||||
|
config simman
|
||||||
|
option free '5'
|
||||||
|
option info_modem_id '3-1'
|
||||||
|
option msg_storage 'sm'
|
||||||
|
|
||||||
|
config simman
|
||||||
|
option free '5'
|
||||||
|
option info_modem_id '1-1.2'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
|
||||||
|
config reply
|
||||||
|
option enabled '0'
|
||||||
|
option mode 'everyone'
|
||||||
|
option delete_sms '0'
|
||||||
|
|
||||||
|
config fwd_to_http
|
||||||
|
option enabled '0'
|
||||||
|
option mode 'everyone'
|
||||||
|
option every_sms '0'
|
||||||
|
option sender_num '0'
|
||||||
|
option delete_sms '0'
|
||||||
|
|
||||||
|
config fwd_to_sms
|
||||||
|
option enabled '0'
|
||||||
|
option mode 'everyone'
|
||||||
|
option every_sms '0'
|
||||||
|
option sender_num '0'
|
||||||
|
option delete_sms '0'
|
||||||
|
|
||||||
|
config fwd_to_smtp
|
||||||
|
option enabled '0'
|
||||||
|
option mode 'everyone'
|
||||||
|
option every_sms '0'
|
||||||
|
option sender_num '0'
|
||||||
|
option delete_sms '0'
|
||||||
|
|
||||||
|
config simman
|
||||||
|
option info_modem_id '3-1'
|
||||||
|
option free '5'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
config post_get 'post_get'
|
||||||
|
option enabled '0'
|
||||||
|
|
@ -0,0 +1,273 @@
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'reboot'
|
||||||
|
option enabled '1'
|
||||||
|
option smstext 'reboot'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option status_sms '1'
|
||||||
|
option message 'Router name - %rn; WAN IP - %wi; Data Connection state - %cs; Connection type - %ct; Signal Strength - %ss; New FW available - %fs;'
|
||||||
|
option to_other_phone '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'send_status'
|
||||||
|
option enabled '1'
|
||||||
|
option smstext 'status'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option message 'Router name - %rn; WAN IP - %wi; Data Connection state - %cs; Connection type - %ct; Signal Strength - %ss; New FW available - %fs;'
|
||||||
|
option to_other_phone '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'iostatus'
|
||||||
|
option smstext 'iostatus'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option message 'Input (3) - %g0; Output (4) - %g1;'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'io_set'
|
||||||
|
option smstext 'ioset'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option io 'dout1'
|
||||||
|
option value 'on'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'wifi'
|
||||||
|
option value 'on'
|
||||||
|
option smstext 'wifion'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option write_wifi '1'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'wifi'
|
||||||
|
option value 'off'
|
||||||
|
option smstext 'wifioff'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option write_wifi '1'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'mobile'
|
||||||
|
option value 'on'
|
||||||
|
option smstext 'mobileon'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option write_mobile '1'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'mobile'
|
||||||
|
option value 'off'
|
||||||
|
option smstext 'mobileoff'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option write_mobile '1'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'vpn'
|
||||||
|
option value 'on'
|
||||||
|
option smstext 'vpnon'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'vpn'
|
||||||
|
option value 'off'
|
||||||
|
option smstext 'vpnoff'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'vpnstatus'
|
||||||
|
option smstext 'vpnstatus'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'change_mobile_settings'
|
||||||
|
option smstext 'cellular'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option simcard '1'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'list_of_profile'
|
||||||
|
option smstext 'profdisp'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'ssh_access'
|
||||||
|
option smstext 'sshon'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option ssh_access_enabled '1'
|
||||||
|
option ssh_access_remote '1'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'ssh_access'
|
||||||
|
option smstext 'sshoff'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option ssh_access_enabled '0'
|
||||||
|
option ssh_access_remote '0'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'web_access'
|
||||||
|
option smstext 'webon'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option web_access_enabled '1'
|
||||||
|
option webs_access_enabled '1'
|
||||||
|
option web_access_http '1'
|
||||||
|
option web_access_https '1'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'web_access'
|
||||||
|
option smstext 'weboff'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option web_access_enabled '0'
|
||||||
|
option webs_access_enabled '0'
|
||||||
|
option web_access_http '0'
|
||||||
|
option web_access_https '0'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'firstboot'
|
||||||
|
option smstext 'restore'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'userdefaults'
|
||||||
|
option smstext 'userdefaults'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'gps_coordinates'
|
||||||
|
option smstext 'gps'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'gps'
|
||||||
|
option value 'off'
|
||||||
|
option smstext 'gps_off'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'gps'
|
||||||
|
option value 'on'
|
||||||
|
option smstext 'gps_on'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'fw_upgrade'
|
||||||
|
option smstext 'fw_upgrade'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'rms_status'
|
||||||
|
option smstext 'rms_status'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'rms_connect'
|
||||||
|
option smstext 'rms_connect'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'rms_action'
|
||||||
|
option value 'on'
|
||||||
|
option smstext 'rms_on'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'rms_action'
|
||||||
|
option value 'off'
|
||||||
|
option smstext 'rms_off'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'monitoring_status'
|
||||||
|
option smstext 'monitoring_status'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'uci'
|
||||||
|
option smstext 'uci'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
config rule
|
||||||
|
option action 'more'
|
||||||
|
option smstext 'more'
|
||||||
|
option authorization 'password'
|
||||||
|
option allowed_phone 'all'
|
||||||
|
option to_other_phone '0'
|
||||||
|
option enabled '0'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,99 @@
|
||||||
|
|
||||||
|
config agent 'general'
|
||||||
|
option enabled '0'
|
||||||
|
option ipfamily 'ipv4'
|
||||||
|
option port '161'
|
||||||
|
option v1mode '1'
|
||||||
|
option v2cmode '1'
|
||||||
|
option proto 'udp'
|
||||||
|
option mibfile '/etc/snmp/RUTX12.mib'
|
||||||
|
|
||||||
|
config com2sec 'public'
|
||||||
|
option secname 'ro'
|
||||||
|
option source 'default'
|
||||||
|
option community 'public'
|
||||||
|
option ipaddr '0.0.0.0'
|
||||||
|
option netmask '0'
|
||||||
|
|
||||||
|
config com2sec 'private'
|
||||||
|
option secname 'rw'
|
||||||
|
option source 'localhost'
|
||||||
|
option community 'private'
|
||||||
|
option ipaddr '127.0.0.1'
|
||||||
|
option netmask '32'
|
||||||
|
|
||||||
|
config com2sec6
|
||||||
|
option secname 'ro'
|
||||||
|
option source 'default'
|
||||||
|
option community 'public'
|
||||||
|
|
||||||
|
config com2sec6
|
||||||
|
option secname 'rw'
|
||||||
|
option source 'default'
|
||||||
|
option community 'private'
|
||||||
|
|
||||||
|
config group 'public_v1'
|
||||||
|
option group 'public'
|
||||||
|
option version 'v1'
|
||||||
|
option secname 'ro'
|
||||||
|
|
||||||
|
config group 'public_v2c'
|
||||||
|
option group 'public'
|
||||||
|
option version 'v2c'
|
||||||
|
option secname 'ro'
|
||||||
|
|
||||||
|
config group 'public_usm'
|
||||||
|
option group 'public'
|
||||||
|
option version 'usm'
|
||||||
|
option secname 'ro'
|
||||||
|
|
||||||
|
config group 'private_v1'
|
||||||
|
option group 'private'
|
||||||
|
option version 'v1'
|
||||||
|
option secname 'rw'
|
||||||
|
|
||||||
|
config group 'private_v2c'
|
||||||
|
option group 'private'
|
||||||
|
option version 'v2c'
|
||||||
|
option secname 'rw'
|
||||||
|
|
||||||
|
config group 'private_usm'
|
||||||
|
option group 'private'
|
||||||
|
option version 'usm'
|
||||||
|
option secname 'rw'
|
||||||
|
|
||||||
|
config view 'all'
|
||||||
|
option viewname 'all'
|
||||||
|
option type 'included'
|
||||||
|
option oid '.1'
|
||||||
|
|
||||||
|
config access 'public_access'
|
||||||
|
option group 'public'
|
||||||
|
option context 'none'
|
||||||
|
option version 'any'
|
||||||
|
option level 'noauth'
|
||||||
|
option prefix 'exact'
|
||||||
|
option read 'all'
|
||||||
|
option write 'none'
|
||||||
|
option notify 'none'
|
||||||
|
|
||||||
|
config access 'private_access'
|
||||||
|
option group 'private'
|
||||||
|
option context 'none'
|
||||||
|
option version 'any'
|
||||||
|
option level 'noauth'
|
||||||
|
option prefix 'exact'
|
||||||
|
option read 'all'
|
||||||
|
option write 'all'
|
||||||
|
option notify 'all'
|
||||||
|
|
||||||
|
config system
|
||||||
|
option sysLocation 'location'
|
||||||
|
option sysContact 'email@example.com'
|
||||||
|
option sysName 'name'
|
||||||
|
|
||||||
|
config exec
|
||||||
|
option name 'filedescriptors'
|
||||||
|
option prog '/bin/cat'
|
||||||
|
option args '/proc/sys/fs/file-nr'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
# forward port 8000 on IPv6 to IPv4 host port 80
|
||||||
|
# change enable to '1' to use this example
|
||||||
|
config socat 'http'
|
||||||
|
option enable '0'
|
||||||
|
option SocatOptions '-d -d TCP6-LISTEN:8000,fork TCP4:192.168.1.20:80'
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
config globals 'globals'
|
||||||
|
option setuid 'nobody'
|
||||||
|
option setgid 'nogroup'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,32 @@
|
||||||
|
|
||||||
|
config system 'system'
|
||||||
|
option hostname 'Teltonika-RUTX12.com'
|
||||||
|
option timezone 'UTC'
|
||||||
|
option ttylogin '0'
|
||||||
|
option urandom_seed '0'
|
||||||
|
option device_code 'RUTX1200XXXX'
|
||||||
|
option routername 'RUTX12'
|
||||||
|
option device_fw_version 'RUTX_R_00.07.04.3'
|
||||||
|
option log_buffer_size '128'
|
||||||
|
option log_size '200'
|
||||||
|
|
||||||
|
config timeserver 'ntp'
|
||||||
|
option enabled '0'
|
||||||
|
option enable_server '0'
|
||||||
|
list server '0.pool.ntp.org'
|
||||||
|
list server '1.pool.ntp.org'
|
||||||
|
list server '2.pool.ntp.org'
|
||||||
|
list server '3.pool.ntp.org'
|
||||||
|
|
||||||
|
config debug 'debug'
|
||||||
|
option sms_utils_debug_level '4'
|
||||||
|
|
||||||
|
config ledman 'ledman'
|
||||||
|
option enabled '1'
|
||||||
|
|
||||||
|
config mctl 'modem2'
|
||||||
|
option disable '0'
|
||||||
|
|
||||||
|
config mctl 'modem'
|
||||||
|
option disable '0'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
config telnetd
|
||||||
|
option port '23'
|
||||||
|
option enable '0'
|
||||||
|
option _telnetWanAccess '0'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,54 @@
|
||||||
|
|
||||||
|
config uhttpd 'main'
|
||||||
|
option enable_http '1'
|
||||||
|
option enable_https '1'
|
||||||
|
option home '/www'
|
||||||
|
option rfc1918_filter '1'
|
||||||
|
option max_requests '10'
|
||||||
|
option max_connections '100'
|
||||||
|
option cert '/etc/uhttpd.crt'
|
||||||
|
option key '/etc/uhttpd.key'
|
||||||
|
option cgi_prefix '/cgi-bin'
|
||||||
|
option script_timeout '600'
|
||||||
|
option network_timeout '30'
|
||||||
|
option http_keepalive '0'
|
||||||
|
option tcp_keepalive '1'
|
||||||
|
option ubus_prefix '/ubus'
|
||||||
|
option no_dirlists '1'
|
||||||
|
option index_page 'cgi-bin/index'
|
||||||
|
option listen_http '80'
|
||||||
|
option listen_https '443'
|
||||||
|
option error_page '/cgi-bin/index'
|
||||||
|
option _httpWanAccess '1'
|
||||||
|
option _httpsWanAccess '1'
|
||||||
|
option redirect_https '0'
|
||||||
|
list lua_prefix '/api=/www/cgi-bin/api_dispatcher.lua'
|
||||||
|
|
||||||
|
config uhttpd 'hotspot'
|
||||||
|
option enablehttp '1'
|
||||||
|
option home '/hotspotlogin'
|
||||||
|
option rfc1918_filter '1'
|
||||||
|
option max_requests '3'
|
||||||
|
option max_connections '100'
|
||||||
|
option cert '/etc/uhttpd.crt'
|
||||||
|
option key '/etc/uhttpd.key'
|
||||||
|
option cgi_prefix '/cgi-bin'
|
||||||
|
option script_timeout '600'
|
||||||
|
option network_timeout '30'
|
||||||
|
option http_keepalive '20'
|
||||||
|
option tcp_keepalive '1'
|
||||||
|
option no_dirlists '1'
|
||||||
|
option disabled '1'
|
||||||
|
option listen_http '81'
|
||||||
|
option listen_https '444'
|
||||||
|
|
||||||
|
config cert 'defaults'
|
||||||
|
option days '730'
|
||||||
|
option key_type 'ec'
|
||||||
|
option bits '2048'
|
||||||
|
option ec_curve 'P-256'
|
||||||
|
option country 'LT'
|
||||||
|
option state 'Vilnius'
|
||||||
|
option location 'Vilnius'
|
||||||
|
option commonname 'Teltonika'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
|
||||||
|
config ulogd "global"
|
||||||
|
option enabled '0'
|
||||||
|
option loglevel '5'
|
||||||
|
option logfile '/var/log/ulogd.log'
|
||||||
|
list plugin 'ulogd_inppkt_NFLOG.so'
|
||||||
|
list plugin 'ulogd_filter_IFINDEX.so'
|
||||||
|
list plugin 'ulogd_filter_IP2STR.so'
|
||||||
|
list plugin 'ulogd_filter_PRINTPKT.so'
|
||||||
|
list plugin 'ulogd_output_LOGEMU.so'
|
||||||
|
list plugin 'ulogd_raw2packet_BASE.so'
|
||||||
|
option stack 'log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU'
|
||||||
|
|
||||||
|
config log 'log1'
|
||||||
|
option group '1'
|
||||||
|
|
||||||
|
config emu 'emu1'
|
||||||
|
option file '/var/log/ulogd_wifi.log'
|
||||||
|
option sync '0'
|
||||||
|
|
||||||
|
config server 'ftp'
|
||||||
|
option extra_name_info 'none'
|
||||||
|
option fixed '0'
|
||||||
|
option interval '1'
|
||||||
|
option weekdays 'mon,tue,wed,thu,fri,sat,sun'
|
||||||
|
|
@ -0,0 +1,28 @@
|
||||||
|
|
||||||
|
config upnpd 'config'
|
||||||
|
option enabled '0'
|
||||||
|
option enable_natpmp '1'
|
||||||
|
option enable_upnp '1'
|
||||||
|
option secure_mode '1'
|
||||||
|
option log_output '0'
|
||||||
|
option download '1024'
|
||||||
|
option upload '512'
|
||||||
|
option internal_iface 'lan'
|
||||||
|
option port '5000'
|
||||||
|
option upnp_lease_file '/var/run/miniupnpd.leases'
|
||||||
|
option igdv1 '1'
|
||||||
|
|
||||||
|
config perm_rule
|
||||||
|
option action 'allow'
|
||||||
|
option ext_ports '1024-65535'
|
||||||
|
option int_addr '0.0.0.0/0'
|
||||||
|
option int_ports '1024-65535'
|
||||||
|
option comment 'Allow high ports'
|
||||||
|
|
||||||
|
config perm_rule
|
||||||
|
option action 'deny'
|
||||||
|
option int_addr '0.0.0.0/0'
|
||||||
|
option comment 'Default deny'
|
||||||
|
option ext_ports '1-65535'
|
||||||
|
option int_ports '1-65535'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
|
||||||
|
config core 'main'
|
||||||
|
option session_timeout '1800'
|
||||||
|
option lang 'en'
|
||||||
|
option advanced '1'
|
||||||
|
|
||||||
|
config internal 'languages'
|
||||||
|
option en 'English'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,43 @@
|
||||||
|
|
||||||
|
config widget
|
||||||
|
option id 'widget1'
|
||||||
|
option type 'ethernet'
|
||||||
|
option position '1'
|
||||||
|
option enabled '1'
|
||||||
|
|
||||||
|
config widget
|
||||||
|
option id 'mobile-widget1'
|
||||||
|
option type 'mobile'
|
||||||
|
option position '2'
|
||||||
|
option enabled '1'
|
||||||
|
|
||||||
|
config widget
|
||||||
|
option id 'mobile-widget2'
|
||||||
|
option type 'mobile'
|
||||||
|
option position '3'
|
||||||
|
option enabled '1'
|
||||||
|
|
||||||
|
config widget
|
||||||
|
option id 'widget3'
|
||||||
|
option type 'system'
|
||||||
|
option position '4'
|
||||||
|
option enabled '1'
|
||||||
|
|
||||||
|
config widget
|
||||||
|
option id 'radio0.network1'
|
||||||
|
option type 'wifi'
|
||||||
|
option position '5'
|
||||||
|
option enabled '1'
|
||||||
|
|
||||||
|
config widget
|
||||||
|
option id 'radio1.network1'
|
||||||
|
option type 'wifi'
|
||||||
|
option position '6'
|
||||||
|
option enabled '1'
|
||||||
|
|
||||||
|
config widget
|
||||||
|
option id 'widget5'
|
||||||
|
option type 'rms'
|
||||||
|
option position '7'
|
||||||
|
option enabled '1'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
config section wifi_scan
|
||||||
|
option 'two_g_enabled' '0'
|
||||||
|
option 'five_g_enabled' '0'
|
||||||
|
option 'interval' '10'
|
||||||
|
|
@ -0,0 +1,47 @@
|
||||||
|
|
||||||
|
config wifi-device 'radio0'
|
||||||
|
option type 'mac80211'
|
||||||
|
option channel '11'
|
||||||
|
option hwmode '11g'
|
||||||
|
option path 'platform/soc/a000000.wifi'
|
||||||
|
option htmode 'HT20'
|
||||||
|
option country 'US'
|
||||||
|
|
||||||
|
config wifi-iface 'default_radio0'
|
||||||
|
option device 'radio0'
|
||||||
|
option network 'lan'
|
||||||
|
option mode 'ap'
|
||||||
|
option ssid 'RUT_9A6A_2G'
|
||||||
|
option wifi_id 'wifi0'
|
||||||
|
option encryption 'psk2+tkip+ccmp'
|
||||||
|
option key '47Delmag_Abi'
|
||||||
|
option skip_inactivity_poll '0'
|
||||||
|
option hidden '0'
|
||||||
|
option ieee80211r '0'
|
||||||
|
option isolate '0'
|
||||||
|
option short_preamble '1'
|
||||||
|
option disassoc_low_ack '1'
|
||||||
|
|
||||||
|
config wifi-device 'radio1'
|
||||||
|
option type 'mac80211'
|
||||||
|
option channel '36'
|
||||||
|
option hwmode '11a'
|
||||||
|
option path 'platform/soc/a800000.wifi'
|
||||||
|
option htmode 'VHT80'
|
||||||
|
option country 'US'
|
||||||
|
|
||||||
|
config wifi-iface 'default_radio1'
|
||||||
|
option device 'radio1'
|
||||||
|
option network 'lan'
|
||||||
|
option mode 'ap'
|
||||||
|
option ssid 'RUT_9A6B_5G'
|
||||||
|
option wifi_id 'wifi1'
|
||||||
|
option encryption 'psk2+tkip+ccmp'
|
||||||
|
option key '47Delmag_Abi'
|
||||||
|
option skip_inactivity_poll '0'
|
||||||
|
option hidden '0'
|
||||||
|
option ieee80211r '0'
|
||||||
|
option isolate '0'
|
||||||
|
option short_preamble '1'
|
||||||
|
option disassoc_low_ack '1'
|
||||||
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
config 'login'
|
||||||
|
option 'username' 'user'
|
||||||
|
option 'password' 'pass'
|
||||||
Loading…
Reference in New Issue