ndpgroup / juniper-srx-linux

Support tools for Juniper SRX on Linux
BSD 2-Clause "Simplified" License
10 stars 2 forks source link

Juniper SRX Dynamic VPN client setup script

James E. Flemer james.flemer@ndpgroup.com

June 10, 2012

Description

This script uses the Juniper Access Manager (JAM) web services to download VPN settings from a Juniper SRX firewall (or other JunOS device with Dynamic VPN support). It is capable of writing the settings out in the format used by network-manager-vpnc, and the format used by plain vpnc.

Usage

Run with --help for usage.

Example for network-manager-vpnc:

jam-config addr vpn.example.com user joe pass joespwd | sudo tee /etc/NetworkManager/system-connections/MyVPN

Example for plain vpnc:

jam-config addr vpn.example.com user joe pass joespwd format vpnc | sudo tee /etc/vpnc/MyVPN.conf

Known Limitations

Future Enhancements

See Also