Skip to content

Instantly share code, notes, and snippets.

@matthijsotterloo
Created August 26, 2016 14:31
Show Gist options
  • Save matthijsotterloo/cedf256f7f1c2a9a8f624481b7083afd to your computer and use it in GitHub Desktop.
Save matthijsotterloo/cedf256f7f1c2a9a8f624481b7083afd to your computer and use it in GitHub Desktop.
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 tcp' 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 placeholder portplaceholder
cipher AES-128-CBC
auth SHA1
resolv-retry infinite
nobind
persist-key
persist-tun
client
verb 3
<auth-user-pass>
placeholderuser
placeholderpass
</auth-user-pass>
<ca>
--REMOVED--
</ca>
<cert>
-- REMOVED --
</cert>
<key>
--REMOVED --
</key>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment