Hi,
On Wed, Mar 29, 2017 at 5:26 AM, <saato...@keemail.me> 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
> address. I don't know what the .13 is supposed to be.
>
>
> How do I get that IP address on the client?
>
If possible switch to topology subnet -- its much better.
In topology net30, the remote end is identified by the first address of the
/30 network. If you use topology subnet you will get the actual server
address in $route_vpn_gateway and $ifconfig_remote.
That said, to get the server's vpn address in topology net30 you could use
$route_network_1. This is a hack as its dependent on the current behaviour
that the first route pushed is the one to the server.
Selva
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users