我正在运行OpenWrt 19.07.7在一个闪烁迷你路由器。我使用opkg更新和opkg安装chilli来运行chilli。
这是/var/run/chilli_cfgXXXXXXXX.conf的输出
tundev="tun0"
net="192.168.180.0/22"
uamlisten="192.168.182.1"
lease="86400"
leaseplus="600"
ipup="/etc/chilli/up.sh"
ipdown="/etc/chilli/down.sh"
dhcpif="br-guest"
uamserver="https://radius.chillispot.org/hotspotlogin"路由器有三个活动的网络接口:
根据关于:OpenWrt文档的文档,只有/etc/config/chilli文件需要编辑才能让TUN设备运行
但是,在遵循指南并发出ifconfig之后,TUN设备不可用。
发布于 2022-02-18 14:19:50
是的,需要编辑/etc/config/chilli文件。这些是最低配置:
config chilli
option tundev 'tun0'
option dhcpif 'br-guest'
option uamlisten 10.1.0.1
option net 10.1.0.0/24
option dns1 8.8.8.8
option dns1 8.8.4.4
option ipup /etc/chilli/up.sh
option ipdown /etc/chilli/down.sh
option radiusnasid nas01
option uamserver your_url_server_handling_authentication
option radiusserver1 your_radius_server1
option radiusserver2 your_radius_server2
option radiussecret your_radius_secret
option uamsecret your_uam_secret对于第11-15行,您必须根据自己的配置填充值。
https://stackoverflow.com/questions/71122875
复制相似问题