daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Dec 13th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2. case "$PLUTO_VERB" in
  3.         up-client-v6)
  4.                 ifconfig "ipsec_$PLUTO_CONNECTION" inet6 tunnel "$PLUTO_ME" "$PLUTO_PEER" reqid "$PLUTO_REQID"
  5.                 ;;
  6.         up-host-v6)
  7.                 ifconfig "ipsec_$PLUTO_CONNECTION" inet6 tunnel "$PLUTO_ME" "$PLUTO_PEER" reqid "$PLUTO_REQID"
  8.                 ;;
  9.         down-client-v6)
  10.                 ifconfig "ipsec_$PLUTO_CONNECTION" -tunnel
  11.                 ;;
  12.         down-host-v6)
  13.                 ifconfig "ipsec_$PLUTO_CONNECTION" -tunnel
  14.                 ;;
  15.         up-client)
  16.                 case "$PLUTO_ME" in
  17.                         *:*)
  18.                                 ifconfig "ipsec_$PLUTO_CONNECTION" inet6 tunnel "$PLUTO_ME" "$PLUTO_PEER" reqid "$PLUTO_REQID"
  19.                                 ;;
  20.                         *)
  21.                                 ifconfig "ipsec_$PLUTO_CONNECTION" tunnel "$PLUTO_ME" "$PLUTO_PEER" reqid "$PLUTO_REQID"
  22.                                 ;;
  23.                 esac
  24.                 ;;
  25.  
  26.         down-client)
  27.                 ifconfig "ipsec_$PLUTO_CONNECTION" -tunnel
  28.                 ;;
  29. esac
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top