Page MenuHomeVyOS Platform

OpenConnect Script Execution
Open, WishlistPublicFEATURE REQUEST

Description

Summary
Provide configuration options for connect-script and disconnect-script.

Use case

ocserv provides for a script to be executed upon user connection and/or disconnection.

# Script to call when a client connects and obtains an IP
# Parameters are passed on the environment.
# REASON, USERNAME, GROUPNAME, HOSTNAME (the hostname selected by client), 
# DEVICE, IP_REAL (the real IP of the client), IP_LOCAL (the local IP
# in the P-t-P connection), IP_REMOTE (the VPN IP of the client),
# ID (a unique numeric ID); REASON may be "connect" or "disconnect".
#connect-script = /scripts/ocserv-script
#disconnect-script = /scripts/ocserv-script

Additional information

N/A

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

giga1699 claimed this task.
giga1699 triaged this task as Wishlist priority.