Raspberry Pi 3 with VPN setup
Raspberry Pi 3 with VPN setup
You're encountering a limitation where new clients are assigned the IP 10.8.0.2, and you need to switch it to 192.168.1.0. Unfortunately, there isn't an available option to change this directly.
I'm genuinely uncertain about your question. Could you clarify your intent?
To ensure your VPN clients connect to your local network instead of the default 10.8.0.0, modify the tun device settings in both server.conf and client.conf files. Refer to the provided links for detailed instructions.
Did you set up OpenVPN using that command? If yes, you're probably on a Raspbian device where DHCP is handled by the system. There are two DHCP configuration files depending on your connection method—wireless or wired. Connect to the Pi (possibly enabling SSH first), edit /etc/dhcpcd.conf with your preferred text editor (vi or nano). Check if 10.8.0.1 appears as the static router. If not, review /etc/wpa_supplicant/wpa_supplicant.conf. Keep in mind Raspbian has frequently updated its DHCP setup since its Debian roots, so you often need to reconfigure each time. Be ready to reset and start over.