安装ShadowsocksR客户端with Shorewall

用docker安装ShadowsocksR配合ipset,shorewall智能科技上网.. ShadowsocksR客户端 vim docker-compose.yml version: "2" services: ssr: container_name: ssr #image: kdaye/shadowsocksr image: registry.cn-hangzhou.aliyuncs.com/kj/shadowsocksr ports: - "1080:1080/tcp" - "1080:1080/udp" network_mode: host command: ss-redir -s your_server_ip -p 8388 -k…

安装Docker with Shorewall

由于我的HomeServer的NAT用的是shorewall..所以安装Docker也是需要配置下Shorewall的~ 首先安装Docker和Docker-compose pacman -Sy docker docker-compose 配置Shorewall /etc/shorewall/shorewall.conf: DOCKER=Yes /etc/shorewall/zones: #ZONE TYPE OPTIONS dock ipv4 #'dock' is just an example -- call it anything you like /etc/shorewall/policy: #SOURCE DEST POLICY LEVEL dock $FW REJECT dock all ACCEPT /etc/shorewall/interfaces: #ZONE…

Archlinux+Router

https://kdaye.com/nas-htpc-router/ 这篇是为了上面的设备,让设备变成路由器的流程.. 参考了很多 https://wiki.archlinux.org/index.php/Router https://wiki.archlinux.org/index.php/Network_bridge 也遇到了很多问题. 8265AC的无线网卡只能在2.4GHZ频道做AP,如果有5GHZ的需求,我建议用全通高通QAC988X系列 本篇主要实现了DHCP, WIFI AP模式。 让设备的4网口和WIFI都具有网络。 随后我还会添加ShaodowsocksR和dnsmasq结合实现智能翻墙,或许会另起一篇。 需要安装的 pacman -Sy pacman -S ppp dnsmasq iw crda hostapd shorewall 拨号及网卡配置 cp /etc/netctl/example/bridge…