Skip to content

Update openvpn connection script for vpn servers to update the table instead of memcached #13

@proditis

Description

@proditis

Update vpn up/down script to update mysql table player_last instead of memcached ovpn:id key.
This should include updates of on_vpn=NOW(), vpn_local_address=INET_ATON($local_IP), vpn_remote_address=INET_ATON($remote_ip) WHERE id=$cn

The script should keep on checking if the ovpn:id key is set to deny secondary logins, however the key will be populated by mysql triggers instead of nc

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions