Home Forums Older Versions of Mac OS X and iOS Mac OS X Server 10.3 General Discussion Cron job to restart Panther Server VPN service

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #367127
    orgo
    Participant

    Hi,

    I have the VPN server in Panther Server running well but have one small annoyance.
    The IP addresses allocated to each new connection keep getting incremented by 1. This means that I have to remember to restart the VPN service every now and then to reset the IP back to the start of the range.
    I do this via VPN using Server Admin.
    Is there some way to set VPN to automatically reset the IPs?
    I thought that a cron (?) job may be a good alternative. Could set it to run each week at say 2am on a Sunday.

    Running 10.3.9
    G4 DP450/1GB/120GB RAID 1
    Used for AFP & VPN

    Any suggestions would be greatly appreciated.

    #367130
    orgo
    Participant

    Well it appears ther problem was been solved. In fact there was no problem in the first place:)

    Received this response from Camelot over at Apple Discussions:

    You shouldn’t need to restart the VPN service at all.

    When the VPN gets to the end of its address range it’ll just wrap around, re-using any addresses that aren’t already assigned. This means that if you have a range of 10 IPs, 192.168.1.101-110, the 10th connection will get the .110 address and the 11th will get the .1 address (provided it isn’t already in use by another user at that time).

    Done!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed