How to route OpenVPN client's traffic through another client on the same VPN?
Posted: Tue Dec 19, 2017 4:18 am
Hi !
I have an OpenVPN server with several clients attached to it.
I want one of the clients to serve as a gateway, in the sense that all the traffic from all other clients should be routed through this special client.
I know how to route through the server, by
But I want to push through one of the clients.
Is it possible to do automatically? Actually, I tried to do it manually, but did not succeed.
I also tried setting to the client's address on VPN. Still all goes through the server...
What is the right way?
I have an OpenVPN server with several clients attached to it.
I want one of the clients to serve as a gateway, in the sense that all the traffic from all other clients should be routed through this special client.
I know how to route through the server, by
Code: Select all
redirect-gateway=def1
Is it possible to do automatically? Actually, I tried to do it manually, but did not succeed.
I also tried setting
Code: Select all
route-gateway
What is the right way?