Setup a Raspberry Pi3 Router. Network interface address WAN(pppoe) eth0 (100MEthernet) dynamic LAN eth1 (USB2RJ45) 10.100.100.1/24 WLAN wlan0 10.100.200.1/24 1. install archlinuxarm on pi. https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3 2. enable systemd-networkd and systemd-resolved default dns server: /etc/resolvconf.conf bring up eth0 link layer /etc/network/eth0.network ip address, dhcp server, ip forwarding and snat for eth1 /etc/network/eth1.network ip address, dhcp server, ip forwarding and snat for wlan0 /etc/network/wlan.network 3. install and enable ppp config peers: /etc/ppp/peers/provider systemd service: /usr/lib/systemd/system/pppoe.service https://wiki.archlinux.org/index.php/Ppp systemd/systemd#481 4. install and enable hostapd set up wlan0 link layer: /etc/hostapd/hostapd.conf https://wiki.archlinux.org/index.php/Software_access_point 5. enable iptables, prevent fragmentation /etc/iptables/iptables.rules https://wiki.archlinux.org/index.php/Iptables https://www.frozentux.net/iptables-tutorial/images/tables_traverse.jpg https://blog.csdn.net/bytxl/article/details/45027921 https://wiki.archlinux.org/index.php/Internet_sharing#Enable_packet_forwarding https://wiki.archlinux.org/index.php/Router#Connection_sharing