-
Notifications
You must be signed in to change notification settings - Fork 2
/
ovpn_commands
269 lines (269 loc) · 5.43 KB
/
ovpn_commands
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
--help
--config file
--mode m
--local host
--remote host [port] [proto]
--remote-random-hostname
--proto-force p
--remote-random
--proto p
--connect-retry n [max]
--connect-retry-max n
--show-proxy-settings
--http-proxy server port [authfile_or_auto_or_auto_nct] [auth-method]
--http-proxy-option type [parm]
--socks-proxy server [port] [authfile]
--resolv-retry n
--float
--ipchange cmd
--port port
--lport port
--rport port
--bind [ipv6only]
--nobind
--dev devarg
--dev-type device-type
--topology mode
--dev-node node
--lladdr address
--iproute cmd
--ifconfig l rn
--ifconfig-noexec
--ifconfig-nowarn
--route network_or_ip [netmask] [gateway] [metric]
--route-gateway gw_or_dhcp
--route-metric m
--route-delay [n] [w]
--route-up cmd
--route-pre-down cmd
--route-noexec
--route-nopull
--allow-pull-fqdn
--client-nat snat_or_dnat network netmask alias
--redirect-gateway flags...
--redirect-private [flags...]
--link-mtu n
--edirect-private flags...
--tun-mtu n
--tun-mtu-extra n
--mtu-disc type
--mtu-test
--fragment max
--mssfix max
--sndbuf size
--rcvbuf size
--mark value
--socket-flags flags...
--txqueuelen n
--shaper n
--inactive n [bytes]
--ping n
--ping-exit n
--ping-restart n
--keepalive interval timeout
--ping-timer-rem
--persist-tun
--persist-key
--persist-local-ip
--persist-remote-ip
--mlock
--up cmd
--up-delay
--down cmd
--down-pre
--up-restart
--setenv name value
--setenv-safe name value
--ignore-unknown-option opts...
--script-security level
--disable-occ
--user user
--group group
--cd dir
--chroot dir
--setcon context
--daemon [progname]
--syslog [progname]
--errors-to-stderr
--passtos
--inetd [wait_or_nowait] [progname]
--log file
--log-append file
--suppress-timestamps
--machine-readable-output
--writepid file
--nice n
--fast-io
--multihome
--echo [parms...]
--remap-usr1 signal
--verb n
--status file [n]
--status-version [n]
--mute n
--compress [algorithm]
--comp-lzo [mode]
--comp-noadapt
--management IP port [pw-file]
--management-client
--management-query-passwords
--management-query-proxy
--management-query-remote
--management-external-key
--management-external-cert certificate-hint
--management-forget-disconnect
--management-hold
--management-signal
--management-log-cache n
--management-up-down
--management-client-auth
--management-client-pf
--management-client-user u
--management-client-group g
--plugin module-pathname [init-string]
--keying-material-exporter label len
--server network netmask [nopool]
--server-bridge gateway netmask pool-start-IP pool-end-IP
--server-bridge [nogw]
--push option
--push-reset
--push-remove opt
--push-peer-info
--disable
--ifconfig-pool start-IP end-IP [netmask]
--ifconfig-pool-persist file [seconds]
--ifconfig-pool-linear
--ifconfig-push local remote-netmask [alias]
--iroute network [netmask]
--client-to-client
--duplicate-cn
--client-connect cmd
--client-disconnect cmd
--client-config-dir dir
--ccd-exclusive
--tmp-dir dir
--hash-size r v
--bcast-buffers n
--tcp-queue-limit n
--tcp-nodelay
--max-clients n
--max-routes-per-client n
--stale-routes-check n [t]
--connect-freq n sec
--learn-address cmd
--auth-user-pass-verify cmd method
--auth-gen-token [lifetime]
--opt-verify
--auth-user-pass-optional
--client-cert-not-required
--verify-client-cert none_optional_require
--username-as-common-name
--compat-names [no-remapping]
--no-name-remapping
--port-share host port [dir]
--client
--pull
--pull-filter accept_or_ignore_or_reject text
--auth-user-pass [up]
--auth-retry type
--static-challenge t e
--server-poll-timeout n
--connect-timeout n
--explicit-exit-notify [n]
--allow-recursive-routing
--secret file [direction]
--key-direction direction
--auth alg
--cipher alg
--ncp-ciphers cipher_list
--ncp-disable
--keysize n
--prng alg [nsl]
--engine [engine-name]
--no-replay
--replay-window n [t]
--mute-replay-warnings
--replay-persist file
--no-iv
--use-prediction-resistance
--test-crypto
--tls-server
--tls-client
--ca file
--capath dir
--dh file
--ecdh-curve name
--cert file
--extra-certs file
--key file
--tls-version-min version [or-highest]
--tls-version-max version
--pkcs12 file
--verify-hash hash
--pkcs11-cert-private providers...
--pkcs11-id name
--pkcs11-id-management
--pkcs11-pin-cache seconds
--pkcs11-protected-authentication providers...
--pkcs11-providers providers...
--pkcs11-private-mode modes...
--cryptoapicert select-string
--key-method m
--tls-cipher l
--tls-timeout n
--reneg-bytes n
--reneg-pkts n
--reneg-sec n
--hand-window n
--tran-window n
--single-session
--tls-exit
--tls-auth file [direction]
--tls-crypt keyfile
--askpass [file]
--auth-nocache
--auth-token token
--tls-verify cmd
--tls-export-cert directory
--x509-username-field fieldname
--verify-x509-name name type
--x509-track attribute
--ns-cert-type client_or_server
--remote-cert-ku values...
--remote-cert-eku oid
--remote-cert-tls client_or_server
--crl-verify crl [dir]
--show-ciphers
--show-digests
--show-tls
--show-engines
--show-curves
--genkey
--mktun
--rmtun
--user user
--group group
--win-sys path
--ip-win32 method
--route-method m
--dhcp-option type [parm]
--tap-sleep n
--show-net-up
--block-outside-dns
--dhcp-renew
--dhcp-release
--register-dns
--pause-exit
--service exit-event [initial-state-of-event]
--show-adapters
--allow-nonadmin [TAP-adapter]
--show-valid-subnets
--show-net
--show-pkcs11-ids [provider] [cert_private]
--show-gateway [v6target]
--ifconfig-ipv6 ipv6addr ipv6remote
--route-ipv6 ipv6addr [gateway] [metric]
--server-ipv6 ipv6addr
--ifconfig-ipv6-pool ipv6addr
--ifconfig-ipv6-push ipv6addr ipv6remote
--iroute-ipv6 ipv6addr