Hello.
I'm using nmcli to set up the functions, and the official documentation https://www.raspberrypi.com/documentati ... spberry-pi
What is working so far
- wlan0 is the Hotspot where WiFi-IoT devices already connect
- usb0 is an old Android phone with data SIM card and USB-tethering to connect to the internet
- wg0 is the Wireguard VPN connection to my home router
I ssh into the Zero from my home network. That works via the Android inside my network with WiFi and outside my network with LTE.
Where I'm stuck is how to get the sensor data into my local network. I can ping wg0 from any device in my local network, but cannot reach the sensors.
How to do that with NetworkManager? What strategy for IPs? Local network works with DHCP from the Fritzbox router. Would static IPs make sense for the remote network (Raspi and maybe eight sensors)?
There is a choice of network types in nmtui - bond, bond-slave, bridge, bridge-slave, ... Which to use best for stability?
Any input is welcome!
This is my project. A Zero 2 W with Bookworm lite 32bit acting as a router/Wifi-VPN bridge.I'm using nmcli to set up the functions, and the official documentation https://www.raspberrypi.com/documentati ... spberry-pi
What is working so far
- wlan0 is the Hotspot where WiFi-IoT devices already connect
- usb0 is an old Android phone with data SIM card and USB-tethering to connect to the internet
- wg0 is the Wireguard VPN connection to my home router
I ssh into the Zero from my home network. That works via the Android inside my network with WiFi and outside my network with LTE.
Where I'm stuck is how to get the sensor data into my local network. I can ping wg0 from any device in my local network, but cannot reach the sensors.
How to do that with NetworkManager? What strategy for IPs? Local network works with DHCP from the Fritzbox router. Would static IPs make sense for the remote network (Raspi and maybe eight sensors)?
There is a choice of network types in nmtui - bond, bond-slave, bridge, bridge-slave, ... Which to use best for stability?
Any input is welcome!
Statistics: Posted by Frankfurter — Wed Aug 07, 2024 4:42 pm — Replies 0 — Views 6