Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How do I run a custom server side OPENVPN linkup script?

    OpenVPN
    2
    4
    3.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fannet
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Why do you need a custom script?

        What are you trying to accomplish?

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • F
          fannet
          last edited by

          Several things but mainly I'd like to send some radius accounting information at the end of a session.

          1 Reply Last reply Reply Quote 0
          • F
            fannet
            last edited by

            ???Anyone?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.