How do I run a custom server side OPENVPN linkup script?
-
In PFSense 1.2.3 there appears to be an openvpn style linkup script which is run for the PPTP vpn - /usr/local/sbin/vpn-linkup
however this script is not called when an OPENVPN connection is established
Additionally -
/etc/inc/openvpn.inc points to /etc/rc.filter_configure as the linkup script to be run for OpenVPN which is a PHP file.
How would one follow the openvpn standard for a customized server-side linkup script on PFSense. Adding a script using the "up" option in the web config "custom options" section breaks openvpn.
-
Why do you need a custom script?
What are you trying to accomplish?
-
Several things but mainly I'd like to send some radius accounting information at the end of a session.
-
???Anyone?
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.