Hello.
I configured my Openvpn Serverf and clients, and it works fine.
All my flows to internet go through the tunnel, except flows to my server.
The client routing table is the following :
default via 10.8.0.5 dev tun0 proto static metric 50
default via 10.2.0.1 dev wlo1 proto static metric 600
10.0.0.1 via 10.2.0.1 dev wlo1 proto dhcp metric 600
10.2.0.0/16 dev wlo1 proto kernel scope link src 10.2.170.27 metric 600
10.8.0.1 via 10.8.0.5 dev tun0 proto static metric 50
10.8.0.5 dev tun0 proto kernel scope link src 10.8.0.6 metric 50
<my_server_ip> via 10.2.0.1 dev wlo1 proto static metric 600
169.254.0.0/16 dev tun0 scope link metric 1000
So we can see that the flows to my_server_IP are sent throught the wireless interface (wl0)
I tried to add a route in the server configuration
push "route <my_server_ip> 255.255.255.255"
but it is not take in account on the client.
Could you give me the good configuration to send the flows to mly server through the server after the tunnel creation ?
Thanks in advance.
Regards.
VGR.