----- Original Message ----- From: "Nikolaos Milas" <nmi...@noa.gr> To: <openvpn-users@lists.sourceforge.net> Sent: Tuesday, September 22, 2015 3:03 PM Subject: Re: [Openvpn-users] Dynamic NAT uses only the last IP Address in range
> I would also like to mention that the local_ip to use in the ip tables > statement should not be the $trusted_ip but the $ifconfig_pool_local_ip, > which, however, is not available at client-connect time, so the script > should be run as a learn-address script. Please correct me if I'm wrong, > or suggest otherwise. > > [Ref.: https://openvpn.net/archive/openvpn-users/2004-10/msg00780.html] It is *not* $ifconfig_pool_local_ip it *is* $ifconfig_pool_remote_ip and it is avaialble at --client-connet script execute eg: script_type: client-connect ifconfig_pool_remote_ip=10.105.101.121 (my VPN client ip) Cheerz ------------------------------------------------------------------------------ _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users