mirror of
https://github.com/haugene/docker-transmission-openvpn.git
synced 2025-08-17 03:37:08 +02:00
186 lines
7.4 KiB
Plaintext
186 lines
7.4 KiB
Plaintext
###############################################################################
|
|
# OpenVPN 2.0 Sample Configuration File
|
|
#
|
|
# !!! AUTO-GENERATED !!!
|
|
#
|
|
# !!! YOU HAVE TO REVIEW IT BEFORE USE AND MODIFY IT AS NECESSARY !!!
|
|
#
|
|
# This configuration file is auto-generated. You might use this config file
|
|
# However, before you try it, you should review the descriptions of the file
|
|
# to determine the necessity to modify to suitable for your real environment.
|
|
# If necessary, you have to modify a little adequately on the file.
|
|
# For example, the IP address or the hostname as a destination VPN Server
|
|
# should be confirmed.
|
|
#
|
|
# Note that to use OpenVPN 2.0, you have to put the certification file of
|
|
# the destination VPN Server on the OpenVPN Client computer when you use this
|
|
# config file. Please refer the below descriptions carefully.
|
|
|
|
|
|
###############################################################################
|
|
# Specify the type of the layer of the VPN connection.
|
|
#
|
|
# To connect to the VPN Server as a "Remote-Access VPN Client PC",
|
|
# specify 'dev tun'. (Layer-3 IP Routing Mode)
|
|
#
|
|
# To connect to the VPN Server as a bridging equipment of "Site-to-Site VPN",
|
|
# specify 'dev tap'. (Layer-2 Ethernet Bridgine Mode)
|
|
|
|
dev tun
|
|
|
|
|
|
###############################################################################
|
|
# Specify the underlying protocol beyond the Internet.
|
|
# Note that this setting must be correspond with the listening setting on
|
|
# the VPN Server.
|
|
#
|
|
# Specify either 'proto udp' or 'proto udp'.
|
|
|
|
proto udp
|
|
|
|
|
|
###############################################################################
|
|
# The destination hostname / IP address, and port number of
|
|
# the target VPN Server.
|
|
#
|
|
# You have to specify as 'remote <HOSTNAME> <PORT>'. You can also
|
|
# specify the IP address instead of the hostname.
|
|
#
|
|
# Note that the auto-generated below hostname are a "auto-detected
|
|
# IP address" of the VPN Server. You have to confirm the correctness
|
|
# beforehand.
|
|
#
|
|
# When you want to connect to the VPN Server by using TCP protocol,
|
|
# the port number of the destination TCP port should be same as one of
|
|
# the available TCP listeners on the VPN Server.
|
|
#
|
|
# When you use UDP protocol, the port number must same as the configuration
|
|
# setting of "OpenVPN Server Compatible Function" on the VPN Server.
|
|
|
|
# Note: The below hostname is came from the Dynamic DNS Client function
|
|
# which is running on the VPN Server. If you don't want to use
|
|
# the Dynamic DNS hostname, replace it to either IP address or
|
|
# other domain's hostname.
|
|
|
|
remote at.trust.zone 443
|
|
|
|
|
|
###############################################################################
|
|
# The HTTP/HTTPS proxy setting.
|
|
#
|
|
# Only if you have to use the Internet via a proxy, uncomment the below
|
|
# two lines and specify the proxy address and the port number.
|
|
# In the case of using proxy-authentication, refer the OpenVPN manual.
|
|
|
|
;http-proxy-retry
|
|
;http-proxy [proxy server] [proxy port]
|
|
|
|
|
|
###############################################################################
|
|
# The encryption and authentication algorithm.
|
|
#
|
|
# Default setting is good. Modify it as you prefer.
|
|
# When you specify an unsupported algorithm, the error will occur.
|
|
#
|
|
# The supported algorithms are as follows:
|
|
# cipher: AES-128-CBC AES-192-CBC AES-256-CBC BF-CBC
|
|
# CAST-CBC CAST5-CBC DES-CBC DES-EDE-CBC DES-EDE3-CBC DESX-CBC
|
|
# RC2-40-CBC RC2-64-CBC RC2-CBC
|
|
# auth: SHA SHA1 MD5 MD4 RMD160 SHA256 SHA384 SHA512
|
|
|
|
cipher AES-256-CBC
|
|
auth SHA512
|
|
#auth-nocache
|
|
|
|
|
|
###############################################################################
|
|
# Other parameters necessary to connect to the VPN Server.
|
|
#
|
|
# It is not recommended to modify it unless you have a particular need.
|
|
|
|
resolv-retry infinite
|
|
nobind
|
|
persist-key
|
|
client
|
|
verb 3
|
|
auth-user-pass /config/openvpn-credentials.txt
|
|
|
|
verify-x509-name *.trust.zone name
|
|
|
|
ping 3
|
|
ping-restart 10
|
|
|
|
#remote-cert-tls server
|
|
#remote-cert-ku f6
|
|
|
|
dhcp-option DNS 109.236.87.2
|
|
dhcp-option DNS 144.217.75.55
|
|
|
|
#uncomment next line if you want your OpenVPN client to ignore DNS settings pushed from VPN server
|
|
#pull-filter ignore "dhcp-option DNS "
|
|
|
|
setenv CLIENT_CERT 0
|
|
|
|
###############################################################################
|
|
# The certificate file of the destination VPN Server.
|
|
#
|
|
# The CA certificate file is embedded in the inline format.
|
|
# You can replace this CA contents if necessary.
|
|
# Please note that if the server certificate is not a self-signed, you have to
|
|
# specify the signer's root certificate (CA) here.
|
|
|
|
<ca>
|
|
-----BEGIN CERTIFICATE-----
|
|
MIIElDCCA3ygAwIBAgIQAf2j627KdciIQ4tyS8+8kTANBgkqhkiG9w0BAQsFADBh
|
|
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
|
|
d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBD
|
|
QTAeFw0xMzAzMDgxMjAwMDBaFw0yMzAzMDgxMjAwMDBaME0xCzAJBgNVBAYTAlVT
|
|
MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxJzAlBgNVBAMTHkRpZ2lDZXJ0IFNIQTIg
|
|
U2VjdXJlIFNlcnZlciBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB
|
|
ANyuWJBNwcQwFZA1W248ghX1LFy949v/cUP6ZCWA1O4Yok3wZtAKc24RmDYXZK83
|
|
nf36QYSvx6+M/hpzTc8zl5CilodTgyu5pnVILR1WN3vaMTIa16yrBvSqXUu3R0bd
|
|
KpPDkC55gIDvEwRqFDu1m5K+wgdlTvza/P96rtxcflUxDOg5B6TXvi/TC2rSsd9f
|
|
/ld0Uzs1gN2ujkSYs58O09rg1/RrKatEp0tYhG2SS4HD2nOLEpdIkARFdRrdNzGX
|
|
kujNVA075ME/OV4uuPNcfhCOhkEAjUVmR7ChZc6gqikJTvOX6+guqw9ypzAO+sf0
|
|
/RR3w6RbKFfCs/mC/bdFWJsCAwEAAaOCAVowggFWMBIGA1UdEwEB/wQIMAYBAf8C
|
|
AQAwDgYDVR0P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