插件配置
ss
在config global
前面
config servers
option switch_enable '0'
option type 'v2ray'
option alias 'ws'
option v2ray_protocol 'vmess'
option server 'ming1z.cyou'
option server_port '8880'
option alter_id '64'
option vmess_id 'badcf82c-2463-4db3-c440-53d48bb3c6de'
option security 'auto'
option transport 'ws'
option ws_path '/v2-ws0'
option mux '1'
option concurrency '8'
option local_port '1234'
option ip '172.67.197.12'
config servers
option switch_enable '0'
option type 'v2ray'
option alias 'v2-27'
option v2ray_protocol 'vmess'
option server '46.17.41.6'
option server_port '50528'
option alter_id '64'
option vmess_id 'a4544b96-0ccd-4f5c-ca5b-2c2551feba5b'
option security 'auto'
option transport 'tcp'
option tcp_guise 'none'
option mux '0'
option local_port '1234'
frp
config frp 'common'
option login_fail_exit '0'
option enable_cpool '0'
option tcp_mux '1'
option log_level 'info'
option enable_http_proxy '0'
option protocol 'tcp'
option server_addr '46.17.41.6'
option server_port '50529'
option token '12345'
option enabled '1'
option vhost_http_port '2095'
option vhost_https_port '2087'
option time '15'
option log_max_days '2'
config proxy
option type 'http'
option domain_type 'subdomain'
option subdomain 'wrt'
option local_ip '192.168.1.1'
option local_port '80'
option proxy_protocol_version 'disable'
option use_encryption '1'
option use_compression '1'
option remark 'z-wrt'
option enable '1'
config proxy
option enable '1'
option type 'http'
option domain_type 'subdomain'
option subdomain 'zaria'
option local_port '6800'
option proxy_protocol_version 'disable'
option use_encryption '1'
option use_compression '1'
option remark 'zaria'
option local_ip '192.168.1.160'
config proxy
option type 'tcp'
option local_ip '192.168.1.160'
option local_port '3389'
option proxy_protocol_version 'disable'
option use_encryption '1'
option use_compression '1'
option remark 'zzz'
option remote_port '50530'
option enable '0'
config proxy
option type 'http'
option domain_type 'subdomain'
option local_ip '192.168.1.1'
option local_port '7681'
option proxy_protocol_version 'disable'
option use_encryption '1'
option use_compression '1'
option remark 'wrt-ttyd'
option subdomain 'wiki'
option enable '0'
ddns
config ddns 'global'
config service 'ali'
option service_name 'aliyun.com'
option username 'LTAI5tKD6ASCHkRCpwxKLpbx'
option password '9LuxWEjqMkjwceDZZwlmpSFTB970pw'
option ip_source 'web'
option force_ipversion '1'
option enabled '1'
option lookup_host 'ddns.ming1z.cyou'
option domain 'ddns.ming1z.cyou'
option retry_interval '10'
option retry_unit 'minutes'
option use_syslog '3'
option dns_server '114.114.114.114'
samba
编辑/etc/samba/smb.conf.template
文件
将invalid users = root
注释
添加或修改guest account = root
config samba
option name 'OpenWrt'
option workgroup 'WORKGROUP'
option description 'OpenWrt'
option homes '1'
option autoshare '0'
config sambashare
option auto '1'
option path '/mnt/sdb1'
option read_only 'no'
option guest_ok 'yes'
option dir_mask '0777'
option device 'sdb1'
option browseable 'yes'
option name 'sdb'
option create_mask '0777'
config sambashare
option browseable 'yes'
option name 'sdc'
option path '/mnt/sdc1'
option read_only 'no'
option guest_ok 'yes'
option create_mask '0777'
option dir_mask '0777'
pushbot
config pushbot 'pushbot'
option pushbot_ipv6 '0'
option temperature_enable '0'
option pushbot_enable '1'
option lite_enable 'device'
option device_name 'zzz'
option reset_regularly '1'
option client_usage '0'
option web_logged '0'
option pushbot_up '0'
option pushbot_down '0'
option cpuload_enable '0'
option ssh_logged '1'
option crontab '1'
option router_status '1'
option jsonpath '/usr/bin/pushbot/api/pushplus.json'
option pp_token '358cf0f39f794dc1be353a4c806c72b8'
option pp_channel 'wechat'
option pp_topic_enable '0'
option regular_time '9'
option ssh_login_failed '1'
option login_max_num '3'
option web_login_black '0'
option web_login_failed '1'
option sleeptime '6000'
option router_wan '1'
option client_list '1'
option router_temp '0'
rclone
计划任务00 2 * * * /mnt/sdb1/10backup/sync-files/rclone.sh
rclone.sh
内容:
rclone sync JGY-joplin: /mnt/sdb1/10backup/sync-files/joplin/joplin --config=/etc/rclone/rclone.conf --log-file=/mnt/sdb1/10backup/sync-files/rclone1.log
config global 'global'
option enabled '1'
config conf 'config'
option config_path '/etc/rclone/rclone.conf'
option username 'admin'
option password '123'
option addr_type 'lan'
option port '6088'
config log 'log'
option path '/mnt/sdb1/10backup/sync-files/rclone.log'
arpbind
config arpbind
option ifname 'br-lan'
option ipaddr '192.168.1.160'
option macaddr '0a:63:86:75:bd:17'
系统配置
network
config interface 'lan'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
option _orig_ifname 'eth0'
option _orig_bridge 'true'
option ifname 'eth0 eth1 eth2'
option delegate '0'
config interface 'wan'
option _orig_ifname 'eth1'
option _orig_bridge 'false'
option ifname 'eth3'
option proto 'static'
option ipaddr '192.168.2.3'
option netmask '255.255.255.0'
option gateway '192.168.2.1'
option dns '192.168.2.1'
firewall
config redirect
option target 'DNAT'
option src 'wan'
option dest 'lan'
option proto 'tcp udp'
option src_dport '6801'
option dest_ip '192.168.1.160'
option dest_port '6800'
option name 'zzz-aria2'
config redirect
option target 'DNAT'
option src 'wan'
option dest 'lan'
option proto 'tcp'
option dest_ip '192.168.1.160'
option src_dport '6802'
option enabled '0'
option dest_port '3389'
option name 'zzz-remote'
config rule
option target 'ACCEPT'
option src 'wan'
option proto 'tcp udp'
option dest_port '9212'
option name 'wrt--webd'
其它配置
webd
chmod 777 /root/webd/webd
/root/webd/webd -w /mnt/sdb1/zym -u rlum:zzz:930423-z &>/dev/null &
需要的插件
luci-app-wolplus webadmin upnp unblockneteasemusic turboacc ttyd syncthing ssr-plus simple-adblock samba4 rebootschedule ramfree nlbwmon hd-idle gowebdav frpc fileeassistant dockerman diskman ddns control-timewol cifsd arpbind aria2 airplay2