Raspberry Pi 3 Model B+ 配置AP全局代理
环境
- Raspbian Stretch
- SSR配置完成
- hostapd配置完成
- Raspberry无线AP路由模式配置完成
目标
- 所有通过AP热点连接的设备自动代理
配置redsocks
安装
apt install -y redsocks
redsocks配置
nano /etc/redsocks.conf
Raspberry Pi 3 Model B+ 配置AP全局代理
环境
目标
安装
apt install -y redsocks
redsocks配置
nano /etc/redsocks.conf
Raspberry Pi 3 Model B+ 配置无线路由
环境
无线路由模式相比AP桥接模式的不同是WIFI组成独立子网
最主要是DHCP的问题
跟着官方文档走完之后,发现热点可以找到,但是连接上之后无法获得DHCP提供的IP地址。
遂尝试了不同的配置方案,终于有一个成功了
nano /etc/dnsmasq.conf
写入
# Only listen to routers' LAN NIC. Doing so opens up tcp/udp port 53 to # localhost and udp port 67 to world: interface=wlan0 # dnsmasq will open tcp/udp port 53 and udp port 67 to world to help with # dynamic interfaces (assigning dynamic ips). Dnsmasq will discard world # requests to them, but the paranoid might like to close them and let the # kernel handle them: bind-interfaces # Dynamic range of IPs to make available to LAN pc dhcp-range=192.168.4.50,192.168.4.100,12h # If you’d like to have dnsmasq assign static IPs, bind the LAN computer's # NIC MAC address: # dhcp-host=b8:27:eb:cb:99:5a,192.168.4.1 domain=rasp3bplus dhcp-option=3,192.168.4.1
YouTube 播放单个视频的流量统计
关于利用同机房节点进行负载均衡
Raspberry Pi 3 Model B+ 配置RaspAP
环境
官方的一键安装脚本
wget -q https://git.io/voEUQ -O /tmp/raspap && bash /tmp/raspap