# 登陆SSH修改【LAN】的静态IP地址
vi /etc/config/network
把默认的192.168.1.1改为其它的
很多光猫也是使用192.168.1.1避免冲突例如改成10.10.10.1
# 开启强制DHCP服务器,解决不能正常分配IP的bug
【网络】【接口】编辑【LAN】
【DHCP 服务器】【高级设置】勾选【强制】
# 屏蔽网站设置
【系统】【进阶设置】【配置dnsmasq】
例如我想要屏蔽某某数字站点,只需要在加上
address=/360.cn/127.0.0.1
address=/so.com/127.0.0.1
address=/i360mall.com/127.0.0.1
address=/360shouji.com/127.0.0.1
address=/360.net/127.0.0.1
address=/360totalsecurity.com/127.0.0.1
解决frpc客户端使用自定义配置文件时不能开机自启需要添加红字部分,示范如下
[common]
server_addr = 11.22.33.44
server_port = 7000
vhost_http_port = 800
# privilege_token = **********
login_fail_exit = false
tcp_mux = true
log_file = /dev/null
log_level = error
log_max_days = 1
[web01]
type = http
local_ip = 127.0.0.1
local_port = 80
custom_domains = 8899.ga
[websocket]
type = tcp
local_ip = 127.0.0.1
local_port = 4567
remote_port = 4567
[LEDE_SSL]
type = tcp
local_ip = 127.0.0.1
local_port = 443
remote_port = 444
[Transmission]
type = tcp
local_ip = 127.0.0.1
local_port = 9091
remote_port = 9091
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000
[DSM]
type = tcp
local_ip = 10.10.10.11
local_port = 5000
remote_port = 5000
[aria2]
type = tcp
local_ip = 127.0.0.1
local_port = 6800
remote_port = 6844
[ftp]
type = tcp
local_ip = 127.0.0.1
local_port = 21
remote_port = 221
[DzzOffice]
type = tcp
local_ip = 127.0.0.1
local_port = 92
remote_port = 92
[Proxmox_VE]
type = tcp
local_ip = 127.0.0.1
local_port = 8006
remote_port = 8006
[Kodexplorer]
type = tcp
local_ip = 127.0.0.1
local_port = 88
remote_port = 88
[Lychee]
type = tcp
local_ip = 127.0.0.1
local_port = 86
remote_port = 86
[Nextcloud]
type = tcp
local_ip = 127.0.0.1
local_port = 99
remote_port = 99
[Owncloud]
type = tcp
local_ip = 127.0.0.1
local_port = 98
remote_port = 98
[Typecho]
type = tcp
local_ip = 127.0.0.1
local_port = 90
remote_port = 90
[WordPress]
type = tcp
local_ip = 127.0.0.1
local_port = 83
remote_port = 83
[Zblog]
type = tcp
local_ip = 127.0.0.1
local_port = 91
remote_port = 91
[default]
type = tcp
local_ip = 127.0.0.1
local_port = 81
remote_port = 84
[h5ai]
type = tcp
local_ip = 127.0.0.1
local_port = 85
remote_port = 85
[phpMyAdmin]
type = tcp
local_ip = 127.0.0.1
local_port = 82
remote_port = 82


0 评论