Problem OpenVPN route all traffic to Client Gateway

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
Giovi
OpenVpn Newbie
Posts: 1
Joined: Sun May 21, 2023 2:11 pm

Problem OpenVPN route all traffic to Client Gateway

Post by Giovi » Sun May 21, 2023 2:51 pm

hello all I have configured a server on a VPS generating all the certificates and configuring the respective clients. The VPN connection works, if I ping I can see the connected devices. I need to forward all the internet traffic of client 1 to client 2 because I want to use the public IP of client 2. Client 1 is a computer with Windows 10, the server is on amazon aws and client 2 is an Open WRT router that must act as a gateway. Evidently, I'm not able to set static routing rules on the server, I found this topic: viewtopic.php?t=27421
But I don't understand how I should configure these rules.
PS
both the clients and the server are of course connected to an independent network, each with its own public IP address.
Thanks so much for your support.

Post Reply