Advertisement
Guest User

vpnc

a guest
Jul 25th, 2011
1,104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.99 KB | None | 0 0
  1. vpnc: unknown option --nat-keepalive
  2.  
  3. Usage: vpnc [--version] [--print-config] [--help] [--long-help] [options] [config files]
  4.  
  5. Options:
  6. --gateway <ip/hostname>
  7. IP/name of your IPSec gateway
  8. conf-variable: IPSec gateway <ip/hostname>
  9.  
  10. --id <ASCII string>
  11. your group name
  12. conf-variable: IPSec ID <ASCII string>
  13.  
  14. (configfile only option)
  15. your group password (cleartext)
  16. conf-variable: IPSec secret <ASCII string>
  17.  
  18. (configfile only option)
  19. your group password (obfuscated)
  20. conf-variable: IPSec obfuscated secret <hex string>
  21.  
  22. --username <ASCII string>
  23. your username
  24. conf-variable: Xauth username <ASCII string>
  25.  
  26. (configfile only option)
  27. your password (cleartext)
  28. conf-variable: Xauth password <ASCII string>
  29.  
  30. (configfile only option)
  31. your password (obfuscated)
  32. conf-variable: Xauth obfuscated password <hex string>
  33.  
  34. --domain <ASCII string>
  35. (NT-) Domain name for authentication
  36. conf-variable: Domain <ASCII string>
  37.  
  38. --xauth-inter
  39. enable interactive extended authentication (for challenge response auth)
  40. conf-variable: Xauth interactive
  41.  
  42. --vendor <cisco/netscreen>
  43. vendor of your IPSec gateway
  44. Default: cisco
  45. conf-variable: Vendor <cisco/netscreen>
  46.  
  47. --natt-mode <natt/none/force-natt/cisco-udp>
  48. Which NAT-Traversal Method to use:
  49. * natt -- NAT-T as defined in RFC3947
  50. * none -- disable use of any NAT-T method
  51. * force-natt -- always use NAT-T encapsulation even
  52. without presence of a NAT device
  53. (useful if the OS captures all ESP traffic)
  54. * cisco-udp -- Cisco proprietary UDP encapsulation, commonly over Port 10000
  55. Note: cisco-tcp encapsulation is not yet supported
  56. Default: natt
  57. conf-variable: NAT Traversal Mode <natt/none/force-natt/cisco-udp>
  58.  
  59. --script <command>
  60. command is executed using system() to configure the interface,
  61. routing and so on. Device name, IP, etc. are passed using enviroment
  62. variables, see README. This script is executed right after ISAKMP is
  63. done, but before tunneling is enabled. It is called when vpnc
  64. terminates, too
  65. Default: /etc/vpnc/vpnc-script
  66. conf-variable: Script <command>
  67.  
  68. --dh <dh1/dh2/dh5>
  69. name of the IKE DH Group
  70. Default: dh2
  71. conf-variable: IKE DH Group <dh1/dh2/dh5>
  72.  
  73. --pfs <nopfs/dh1/dh2/dh5/server>
  74. Diffie-Hellman group to use for PFS
  75. Default: server
  76. conf-variable: Perfect Forward Secrecy <nopfs/dh1/dh2/dh5/server>
  77.  
  78. --enable-1des
  79. enables weak single DES encryption
  80. conf-variable: Enable Single DES
  81.  
  82. --enable-no-encryption
  83. enables using no encryption for data traffic (key exchanged must be encrypted)
  84. conf-variable: Enable no encryption
  85.  
  86. --application-version <ASCII string>
  87. Application Version to report. Note: Default string is generated at runtime.
  88. Default: Cisco Systems VPN Client 0.5.3:Linux
  89. conf-variable: Application version <ASCII string>
  90.  
  91. --ifname <ASCII string>
  92. visible name of the TUN/TAP interface
  93. conf-variable: Interface name <ASCII string>
  94.  
  95. --ifmode <tun/tap>
  96. mode of TUN/TAP interface:
  97. * tun: virtual point to point interface (default)
  98. * tap: virtual ethernet interface
  99. Default: tun
  100. conf-variable: Interface mode <tun/tap>
  101.  
  102. --debug <0/1/2/3/99>
  103. Show verbose debug messages
  104. * 0: Do not print debug information.
  105. * 1: Print minimal debug information.
  106. * 2: Show statemachine and packet/payload type information.
  107. * 3: Dump everything exluding authentication data.
  108. * 99: Dump everything INCLUDING AUTHENTICATION data (e.g. PASSWORDS).
  109. conf-variable: Debug <0/1/2/3/99>
  110.  
  111. --no-detach
  112. Don't detach from the console after login
  113. conf-variable: No Detach
  114.  
  115. --pid-file <filename>
  116. store the pid of background process in <filename>
  117. Default: /var/run/vpnc/pid
  118. conf-variable: Pidfile <filename>
  119.  
  120. --local-addr <ip/hostname>
  121. local IP to use for ISAKMP / ESP / ... (0.0.0.0 == automatically assign)
  122. Default: 0.0.0.0
  123. conf-variable: Local Addr <ip/hostname>
  124.  
  125. --local-port <0-65535>
  126. local ISAKMP port number to use (0 == use random port)
  127. Default: 500
  128. conf-variable: Local Port <0-65535>
  129.  
  130. --udp-port <0-65535>
  131. Local UDP port number to use (0 == use random port).
  132. This is only relevant if cisco-udp nat-traversal is used.
  133. This is the _local_ port, the remote udp port is discovered automatically.
  134. It is especially not the cisco-tcp port.
  135. Default: 10000
  136. conf-variable: Cisco UDP Encapsulation Port <0-65535>
  137.  
  138. --dpd-idle <0,10-86400>
  139. Send DPD packet after not receiving anything for <idle> seconds.
  140. Use 0 to disable DPD completely (both ways).
  141. Default: 300
  142. conf-variable: DPD idle timeout (our side) <0,10-86400>
  143.  
  144. --non-inter
  145. Don't ask anything, exit on missing options
  146. conf-variable: Noninteractive
  147.  
  148. --auth-mode <psk/cert/hybrid>
  149. Authentication mode:
  150. * psk: pre-shared key (default)
  151. * cert: server + client certificate (not implemented yet)
  152. * hybrid: server certificate + xauth (if built with openssl support)
  153. Default: psk
  154. conf-variable: IKE Authmode <psk/cert/hybrid>
  155.  
  156. --ca-file <filename>
  157. filename and path to the CA-PEM-File
  158. conf-variable: CA-File <filename>
  159.  
  160. --ca-dir <directory>
  161. path of the trusted CA-Directory
  162. Default: /etc/ssl/certs
  163. conf-variable: CA-Dir <directory>
  164.  
  165. --target-network <target network/netmask>
  166. Target network in dotted decimal or CIDR notation
  167. Default: 0.0.0.0/0.0.0.0
  168. conf-variable: IPSEC target network <target network/netmask>
  169.  
  170. --dns-update
  171. DEPRECATED extension, see README.Debian for details
  172. Default: Yes
  173. conf-variable: DNSUpdate
  174.  
  175. --target-networks
  176. DEPRECATED extension, see README.Debian for details
  177. Default:
  178. conf-variable: Target Networks
  179.  
  180. Report bugs to vpnc@unix-ag.uni-kl.de
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement