Assigin specific ip address for UserName (( Vpn Client Login ))

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
pc tech lover
OpenVpn Newbie
Posts: 2
Joined: Fri Jan 21, 2022 11:14 pm

Assigin specific ip address for UserName (( Vpn Client Login ))

Post by pc tech lover » Fri Jan 21, 2022 11:17 pm

Hi

I Want to Assign IP addresses for some usernames (open Vpn client Login) Because I Want these users to access the File server Only to do some file updates and disconnect the connection.

have someone any idea?

i use asus merlin Router :D

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Assigin specific ip address for UserName (( Vpn Client Login ))

Post by TinCanTech » Sat Jan 22, 2022 12:07 am

Is that OpenWRT ?

pc tech lover
OpenVpn Newbie
Posts: 2
Joined: Fri Jan 21, 2022 11:14 pm

Re: Assigin specific ip address for UserName (( Vpn Client Login ))

Post by pc tech lover » Sat Jan 22, 2022 1:13 am


TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Assigin specific ip address for UserName (( Vpn Client Login ))

Post by TinCanTech » Sat Jan 22, 2022 5:01 am

I thought Asus did an Open~WRT ?

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: Assigin specific ip address for UserName (( Vpn Client Login ))

Post by openvpn_inc » Sat Jan 22, 2022 2:30 pm

pc tech lover wrote:
Sat Jan 22, 2022 1:13 am
no asus meriln

https://www.asuswrt-merlin.net/
Hi pc,

Did you look at your router's documentation?
https://github.com/RMerl/asuswrt-merlin.ng/wiki/Static-ip-for-OpenVPN-clients

BTW, yes, you can run easyrsa on a router, but you definitely should not! Embedded devices have inadequate sources of entropy, which is required for random number generation needed by openssl(1). And also, it's insecure design to host your CA on the server machine; if the server was compromised, so is your entire PKI.

regards, rob0
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply