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

    Scheduling a PPP interface to go up and down automatically

    General pfSense Questions
    2
    2
    871
    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.
    • C
      cdub
      last edited by

      Is there a way to schedule a PPP interface (or any interface, really) to come up and down automatically, based on the time of day?

      I know you can use SquidGuard or something along those lines to block traffic, but I need to work with dial-up ISDN accounts that are limited to the number of hours per day they can be used.

      I'd like to set something up so that pfSense brings up the PPP connection early in the morning, shuts it down a few hours later when I leave for work, then brings it back up in the afternoon.

      Sort of a poor-man's approach to dealing with the fact that ISDN isn't "always on" like most broadband technologies.

      Any ideas are appreciated.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        I don't think there's anyway of doing that using the default options but you could use a cron job. Install the cron package (to make it easier) and write some very simple scripts that bing up your connection or kill it. Run them at appropriate times.

        Steve

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