Re: [Openvpn-users] Get tunnel server's IP address on client

2017-03-29 Thread Selva Nair
On Wed, Mar 29, 2017 at 3:07 PM, wrote: > Hello! > > I can not alter the configuration on the server, I can add options on the > client side, but that's it. > Is there no other way? > Then try $route_network_1 (see my previous email). Selva -

Re: [Openvpn-users] Get tunnel server's IP address on client

2017-03-29 Thread saatomic
Hello! I can not alter the configuration on the server, I can add options on the client side, but that's it.Is there no other way? Kind regards,SaAtomic 29. Mar 2017 17:54 by selva.n...@gmail.com: > Hi, > On Wed, Mar 29, 2017 at 5:26 AM, <> saato...@keemail.me> > wrote: > >> Client IP (`ip add

Re: [Openvpn-users] Get tunnel server's IP address on client

2017-03-29 Thread Selva Nair
Hi, On Wed, Mar 29, 2017 at 5:26 AM, wrote: > Client IP (`ip address for tun0`): 172.16.0.14 > Server IP (`ip address for tun0`): 172.16.0.1 > > echo $ifconfig_remote = 172.16.0.13 > echo $ifconfig_local = 172.16.0.14 > > The ifconfig_remote variable does not reflect the server's tunnel IP > a

[Openvpn-users] Get tunnel server's IP address on client

2017-03-29 Thread saatomic
I'm trying to get the tunnel server's IP address on the client, independent of the configuration file. For instance, I don't want to rely on default routes to identify the server's IP address for the tunnel. I tried to use environmental variables with `--up`, but couldn't identify the server's I