On GameFAQs: The top 10 ways to beat a ghost

Control access on an IPSec VPN tunnel with is member-submitted script

Tags: VPNs, Network security, NETWORKING, SECURITY, John A. Sullivan, Guest Contributor, IPSec, IPSec VPN

  • Save
  • Print
  • Recommend
  • 0

Takeaway: TechRepublic asked members to submit their favorite UNIX/Linux scripts and this is one of the responses. You can use this script to restrict access control on an IPSec VPN tunnel.

TechRepublic recently asked members to submit their favorite Network Administration scripts for possible publication. One of the first to make a submission was John A. Sullivan III. For his effort, John earned $100 and the satisfaction of seeing his script published on TechRepublic.


Earn $100 for your admin script

Let us pay you for your original scripts so that we can publish them as downloads on TechRepublic and allow your fellow IT professionals to benefit from your scripting savvy. We only ask that you put in the appropriate comments to your scripts so that it's easy to tell what the script is doing and which variables might need to be customized. Send us your original UNIX/Linux admin scripts and we'll pay you $100 for each one that we publish as a TechRepublic download.


John A. Sullivan's script in his own words

In the open source ISCS network security management project, we wish to restrict access control on an IPSec VPN tunnel. In other words, when a remote user connects, the iptables firewall rules are dynamically altered based upon the users DN in their X.509 certificate. When Road Warriors connect to the openswan gateway, we run a modified up-down script named X509updown (Listing A): which we have included. That (script), in turn, calls the main script, DNRead, (Listing B): which takes the DN and CA information, compares it to a text file of access group membership named DNList and automatically creates rules for the traffic on this tunnel to allow or deny packets based upon the DN. It uses the ISCS model of firewalling but can easily be adapted to other models. DNRead.comments (Listing C): is the same DNRead script but with annotations.

  • Save
  • Print
  • Recommend
  • 0

Print/View all Posts Comments on this article

Admin scripts: Restrict access control on an IPSec VPN tunnel Mark W. KaelinTechrepublic Moderator | 10/27/05

What do you think?

White Papers, Webcasts, and Downloads

Article Categories

Security
Security Solutions, IT Locksmith
Networking and Communications
E-mail Administration NetNote, Cisco Routers and Switches
CIO and IT Management
Project Management, CIO Issues, Strategies that Scale
Desktops, Laptops & OS
Windows 2000 Professional, Microsoft Word, Microsoft Excel, Microsoft Access, Windows XP,
Data Management
Oracle, SQL Server
Servers
Windows NT, Linux NetNote, Windows Server 2003
Career Development
Geek Trivia
Software/Web Development
Web Development Zone, Visual Basic, .NET

Meet Doc

advertisement
Click Here