set ip based on connecting ip?

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
antleo
OpenVpn Newbie
Posts: 7
Joined: Wed Oct 11, 2017 12:28 pm

set ip based on connecting ip?

Post by antleo » Mon May 13, 2019 8:19 pm

Is it possible to set the client ip based on the address it is connecting from? So if user 1 connects from 10.10.10.10 he gets 172.20.20.10 and if he connects from 10.20.20.20 he gets 172.20.20.150 (or some other subnet all together). If so how would one go about doing this?

Thanks!

Post Reply