How to configure OpenVPN server to use custom default gateway?
- by Arenim
I have a vpn server at address 10.1.0.2 and the server have another ip in it's network -- 10.0.0.2 in his subnet (it's a tun2socks router).
But default server's gateway is NOT 10.0.0.2 (and it's ok) but another external IP.
I want all the client's traffic to be forwarded through this ip address -- 10.0.0.2.
Here is part of my server's config:
…