Hello I'm new to VPN and I'm running the pivpn open vpn. But i was wondering If there is a possible to adding user using php webpage? Sometimes i cannot able to get local access to the Pi or ssh in But again i was something if there is a way to add a user in php webpage?
Joseph
Adding Users in php?
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVPN User
- Posts: 39
- Joined: Thu Apr 26, 2018 2:45 pm
Re: Adding Users in php?
You might be able to do it with FreeRADIUS + DaloRADIUS.
- vnpenguin
- OpenVpn Newbie
- Posts: 14
- Joined: Sun Dec 06, 2015 7:12 am
- Location: Belgium
Re: Adding Users in php?
Yes, you can do yourself with PHP:josephchrzempiec wrote: ↑Sun May 27, 2018 3:24 amHello I'm new to VPN and I'm running the pivpn open vpn. But i was wondering If there is a possible to adding user using php webpage? Sometimes i cannot able to get local access to the Pi or ssh in But again i was something if there is a way to add a user in php webpage?
Joseph
- Write shell script to do that job under root
- From PHP, run shell script by using "ssh2" module