Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


vpn_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vpn_notes [2015/03/17 13:41] juckinsvpn_notes [2015/03/17 13:44] (current) juckins
Line 80: Line 80:
   * Copy the two attached files to some place in your path.  I put them in ~/bin.  Make sure you they both have execute permission.   * Copy the two attached files to some place in your path.  I put them in ~/bin.  Make sure you they both have execute permission.
   * Use the scripts to start/stop VPN sessions.  I use this from inside a VirtualBox Linux guest.  Occasionally, your vpn sessions will terminate without any notification.  If you aren't getting a response from an established session, you can just do "start_vpnc" again and you shouldn't even get kicked out of any remote terminal sessions you have running.   * Use the scripts to start/stop VPN sessions.  I use this from inside a VirtualBox Linux guest.  Occasionally, your vpn sessions will terminate without any notification.  If you aren't getting a response from an established session, you can just do "start_vpnc" again and you shouldn't even get kicked out of any remote terminal sessions you have running.
 +
 +<code>
 +#!/bin/bash
 +# start_vpnc.bash
 +sudo /usr/sbin/vpnc --natt-mode cisco-udp myvpn
 +
 +
 +#!/bin/bash
 +# stop_vpnc.bash
 +sudo /usr/sbin/vpnc-disconnect
 +</code>
  
 ---- ----
vpn_notes.1426614104.txt.gz · Last modified: 2015/03/17 13:41 by juckins