#!/bin/sh PATH=/bin:/usr/bin:/sbin:/usr/sbin . /usr/lib/libmodcgi.sh auto_chk=''; man_chk='' ike1_chk=''; ike2_chk=''; ike5_chk='' pfs_nopfs=''; pfs_dh1=''; pfs_dh2=''; pfs_dh5=''; pfs_server='' udpenc_on_chk=''; udpenc_off_chk='' en_single_des_on_chk=''; en_single_des_off_chk='' dis_nat_trav_on_chk=''; dis_nat_trav_off_chk='' if [ "$VPNC_ENABLED" = "yes" ]; then auto_chk=' checked'; else man_chk=' checked'; fi if [ "$VPNC_IKEDHGROUP" = "dh1" ]; then ike1_chk=' checked'; fi if [ "$VPNC_IKEDHGROUP" = "dh2" ]; then ike2_chk=' checked'; fi if [ "$VPNC_IKEDHGROUP" = "dh5" ]; then ike5_chk=' checked'; fi if [ "$VPNC_PERFECTFORWARDSECRECY" = "nopfs" ]; then pfs_nopfs=' checked'; fi if [ "$VPNC_PERFECTFORWARDSECRECY" = "dh1" ]; then pfs_dh1=' checked'; fi if [ "$VPNC_PERFECTFORWARDSECRECY" = "dh2" ]; then pfs_dh2=' checked'; fi if [ "$VPNC_PERFECTFORWARDSECRECY" = "dh5" ]; then pdf_dh5=' checked'; fi if [ "$VPNC_PERFECTFORWARDSECRECY" = "server" ]; then pfs_server=' checked'; fi if [ "$VPNC_UDPENCAPSULATE" = "yes" ]; then udpenc_on_chk=' checked'; else udpenc_off_chk=' checked'; fi if [ "$VPNC_ENABLESINGLEDES" = "yes" ]; then en_single_des_on_chk=' checked'; else en_single_des_off_chk=' checked'; fi if [ "$VPNC_DISABLENATTRAVERSAL" = "yes" ]; then dis_nat_trav_on_chk=' checked'; else dis_nat_trav_off_chk=' checked'; fi sec_begin 'Starttyp' cat << EOF
EOF sec_end sec_begin 'VPNC - VPN Client' cat << EOF
IPSec Gruppenname:
IPSec Gruppenpasswort:
Benutzername:
Benutzerpasswort:
IP/Name des IPSec Gateway
IPSec gateway: <IP/Name>
Name der IKE DH Group
IKE DH Group:
Diffie-Hellman Gruppe für PFS
Perfect Forward Secrecy:
Lokale ISAKMP Portnummer (0 == zufällig)
Local Port: <0-65535>
IPSEC mit Cisco-UDP Encapsulation nutzen
UDP Encapsulate:
Aktiviere schwache single DES Verschlüsselung
Enable Single DES:
Deaktiviere Nutzung von NAT-T
Disable NAT Traversal:
(NT-) Domainname für Authentisierung (optional)
Domain: