找到主配置文件
- 打开浏览器,进入
_config/文件夹。 - 找到并打开
.config/vpn文件,确认该文件是否与您的设置一致。
添加本地配置文件
- 打开浏览器,进入
_config/文件夹。 - 找到并打开
.config/vpn.local文件。 - 添加以下内容:
# 如果您没有本地设备,添加以下内容: local-ids="127...1"
添加共享文件
- 打开浏览器,进入
_config/文件夹。 - 找到并打开
.config/ssl/vpn文件。 - 添加以下内容:
# 如果您没有本地设备,添加以下内容: local-ids="127...1"
添加端口配置文件
- 打开浏览器,进入
_config/文件夹。 - 找到并打开
.config/vpn/ports文件。 - 添加以下内容(以 socks5 为例):
http socks5 port 443
- 如果需要端口共享,添加共享端口信息:
http socks5 port 443 sharing port 88
- 如果需要端口共享,添加共享端口信息:
http socks5 port 443 sharing port 88
- 如果需要端口共享,添加端口头信息:
http socks5 port 443 sharing port 88 http
- 如果需要端口共享,添加端口配置信息:
http socks5 port 443 sharing port 88 http
- 如果需要端口共享,添加端口共享配置信息:
http socks5 port 443 sharing port 88 http
添加共享端口配置文件
- 打开浏览器,进入
_config/文件夹。 - 找到并打开
.config/ssl/vpn/ports/共享端口文件。 - 添加以下内容(以 socks5 为例):
http socks5 port 443 sharing port 88
- 如果需要端口共享,添加端口头信息:
http socks5 port 443 sharing port 88 http
- 如果需要端口共享,添加端口配置信息:
http socks5 port 443 sharing port 88 http
- 如果需要端口共享,添加端口共享配置信息:
http socks5 port 443 sharing port 88 http
验证配置
- 确认所有配置文件的参数是否正确。
- 确认端口协议( socks5 或 http)有效。
- 确认端口共享配置文件的共享端口信息正确。
- 确认端口配置文件的端口配置正确。
通过以上步骤,您已经配置好了Mozilla VPN 的梯子配置,在实际使用中,确保端口配置文件的权限设置正确,防止其他设备连接到共享端口。




