Rerouting and forwarding traffic from VPN to WiFi
1
vote
1
answer
402
views
I'm new to Linux. I have set an **OpenVPN server** on one of my Raspberry Pi 4 running Raspbian system ([**PiVPN**](https://pivpn.io/) script). Then I set client OpenVPN on my other Raspberry Pi 4 (the first one server is at my parents' house abroad). I can easily connect both of them or my laptop or Android Smartphone and it all works fine.
Recently I have set the client one as a **WiFi** hotspot so I can connect many devices and get IP from the Raspberry server (get around the geographical restrictions). Once I start the VPN connection I lose the internet connection over the WiFi (client Raspberry Pi). Yesterday, I got the USB-RJ45 Ethernet adaptor but over this, I get the same problem.
I think I need to change routing and forwarding in the configuration.
Can anyone help me with it, please?
Can anyone help me with it, please?
Asked by chris
(11 rep)
Feb 18, 2021, 01:04 AM
Last activity: Feb 21, 2021, 03:23 PM
Last activity: Feb 21, 2021, 03:23 PM