topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 4:42 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: script or a little app to update ipsec policies from a text file  (Read 5893 times)

quantumrider

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 18
    • View Profile
    • Donate to Member
Hi,

I really need this one =)

A script or a little app to update ipsec policies from a text file. Here is a sample text file:

128.254.124.60|128.254.124.60|128.254.124.60|128.254.124.60

and so on, a single line with different ip addresses separated by some character.

basically the idea is to create an ipsec rule with the ip address and date of creation as name, blocking all ports and all protocols to and from the ip.

then the rule would be deleted at next run if 7 days elapsed, for example.

I do have some commandline text that creates the rules and removes them, I'm just confused by it =)

also I work with asp on iis, so the asp generates the list, there is no component that I know off that would allow me to edit the ipsec rules from asp.

let me know what you think, or if you know alternative, please.

thanks,
ark