Soft Router Solution on Ubuntu Server 20.04
This solution is based on the built-in systemd-networkd
, isc-dhcp-server
and hostapd
; conflicted with dnsmasq
.
It is using the built-in IP forwarding feature against bridging. See also routing vs bridging
Prerequisites
- Traffic and firewall management
1 | sudo ufw enable |
- DHCP server
1 | sudo service isc-dhcp-server start |
- WiFi hotspot
1 | sudo systemctl unmask hostapd |