Is there any way to enable VPN server and client simultaneously?

Hi

Is there any way to enable VPN server and client simultaneously? (Raspberry pi, latest openwrt)

I have only one device on my VPN provider for free. And I want to use router as this one device, and use it as server to allow many VPN connections. Is it somehow possible?

Hi @tamiko

in theory, yes
Wireguard could act as server & client (that is a reason why in wireguard terminology we use PEER for endpoints)

but you did not write what kind of VPN you use?

1 Like

Do you want to have all devices behind the router using the VPN? If yes, that’s totally doable. You’ll need to do policy-based routing.

See the following where I am using wireguard in this setup but openvpn should work too:

1 Like