Dear community,
I've edited the auth of my openvpn server to use a simple php script to check if the account exists. Now I want to forward ports to the users. For this I've edited database too, so each user has a port associated with the username.
I've searched openvpn forums and found this tutorial:
topic7823.html#p10663
What I don't get at the moment is the connection between a username and the port. How can I get something done using PHP? I just need some sample code, like how to retrieve the username at this moment using PHP. I'm not that good in batch to understand the function of this script.
-All the best;
forward ports automatic for users (PHP script)
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 1
- Joined: Mon Jan 04, 2016 9:20 pm