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

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

Scheduled Pinned Locked Moved OpenVPN
4 Posts 2 Posters 3.2k Views
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 Jan 30, 2011, 2:06 AM

    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
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Jan 31, 2011, 5:58 PM

      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 Feb 7, 2011, 7:16 PM

        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 Feb 10, 2011, 4:19 AM

          ???Anyone?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            [[user:consent.lead]]
            [[user:consent.not_received]]