<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://it-arts.net/index.php?action=history&amp;feed=atom&amp;title=OPENVPN_-_Server_Config_Template</id>
	<title>OPENVPN - Server Config Template - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://it-arts.net/index.php?action=history&amp;feed=atom&amp;title=OPENVPN_-_Server_Config_Template"/>
	<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=OPENVPN_-_Server_Config_Template&amp;action=history"/>
	<updated>2026-05-02T18:46:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://it-arts.net/index.php?title=OPENVPN_-_Server_Config_Template&amp;diff=878&amp;oldid=prev</id>
		<title>Admin: Text replacement - &quot;Category:Wiki&quot; to &quot;Category:Wiki

&#039;&#039;&#039;&#039;&#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&#039;&#039;&#039;&#039;&#039;
&quot;</title>
		<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=OPENVPN_-_Server_Config_Template&amp;diff=878&amp;oldid=prev"/>
		<updated>2026-01-17T07:05:44Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;&lt;a href=&quot;/index.php/Category:Wiki&quot; title=&quot;Category:Wiki&quot;&gt;Category:Wiki&lt;/a&gt;&amp;quot; to &amp;quot;&lt;a href=&quot;/index.php/Category:Wiki&quot; title=&quot;Category:Wiki&quot;&gt;Category:Wiki&lt;/a&gt;  &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; &amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:05, 17 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Wiki]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Wiki]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&#039;&#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&#039;&#039;&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://it-arts.net/index.php?title=OPENVPN_-_Server_Config_Template&amp;diff=317&amp;oldid=prev</id>
		<title>Admin: Text replacement - &quot;Category:Post-It&quot; to &quot;Category:Wiki&quot;</title>
		<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=OPENVPN_-_Server_Config_Template&amp;diff=317&amp;oldid=prev"/>
		<updated>2025-12-08T17:25:13Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;&lt;a href=&quot;/index.php?title=Category:Post-It&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Post-It (page does not exist)&quot;&gt;Category:Post-It&lt;/a&gt;&amp;quot; to &amp;quot;&lt;a href=&quot;/index.php/Category:Wiki&quot; title=&quot;Category:Wiki&quot;&gt;Category:Wiki&lt;/a&gt;&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:25, 8 December 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Post-It&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wiki&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://it-arts.net/index.php?title=OPENVPN_-_Server_Config_Template&amp;diff=21&amp;oldid=prev</id>
		<title>imported&gt;Z: Created page with &quot;Category:Post-It    = Configuration File =   &lt;nowiki&gt; ################################################# # Sample OpenVPN 2.0 config file for            # # multi-client se...&quot;</title>
		<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=OPENVPN_-_Server_Config_Template&amp;diff=21&amp;oldid=prev"/>
		<updated>2020-03-28T10:01:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Category:Post-It&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Post-It (page does not exist)&quot;&gt;Category:Post-It&lt;/a&gt;    = Configuration File =   &amp;lt;nowiki&amp;gt; ################################################# # Sample OpenVPN 2.0 config file for            # # multi-client se...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Post-It]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Configuration File =&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
#################################################&lt;br /&gt;
# Sample OpenVPN 2.0 config file for            #&lt;br /&gt;
# multi-client server.                          #&lt;br /&gt;
#                                               #&lt;br /&gt;
# This file is for the server side              #&lt;br /&gt;
# of a many-clients &amp;lt;-&amp;gt; one-server              #&lt;br /&gt;
# OpenVPN configuration.                        #&lt;br /&gt;
#                                               #&lt;br /&gt;
# OpenVPN also supports                         #&lt;br /&gt;
# single-machine &amp;lt;-&amp;gt; single-machine             #&lt;br /&gt;
# configurations (See the Examples page         #&lt;br /&gt;
# on the web site for more info).               #&lt;br /&gt;
#                                               #&lt;br /&gt;
# This config should work on Windows            #&lt;br /&gt;
# or Linux/BSD systems.  Remember on            #&lt;br /&gt;
# Windows to quote pathnames and use            #&lt;br /&gt;
# double backslashes, e.g.:                     #&lt;br /&gt;
# &amp;quot;C:\\Program Files\\OpenVPN\\config\\foo.key&amp;quot; #&lt;br /&gt;
#                                               #&lt;br /&gt;
# Comments are preceded with &amp;#039;#&amp;#039; or &amp;#039;;&amp;#039;         #&lt;br /&gt;
#################################################&lt;br /&gt;
&lt;br /&gt;
# Which local IP address should OpenVPN&lt;br /&gt;
# listen on? (optional)&lt;br /&gt;
#local a.b.c.d&lt;br /&gt;
;local W.X.Y.Z&lt;br /&gt;
&lt;br /&gt;
# Which TCP/UDP port should OpenVPN listen on?&lt;br /&gt;
# If you want to run multiple OpenVPN instances&lt;br /&gt;
# on the same machine, use a different port&lt;br /&gt;
# number for each one.  You will need to&lt;br /&gt;
# open up this port on your firewall.&lt;br /&gt;
port 443&lt;br /&gt;
&lt;br /&gt;
# TCP or UDP server?&lt;br /&gt;
proto tcp&lt;br /&gt;
;proto udp&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;dev tun&amp;quot; will create a routed IP tunnel,&lt;br /&gt;
# &amp;quot;dev tap&amp;quot; will create an ethernet tunnel.&lt;br /&gt;
# Use &amp;quot;dev tap0&amp;quot; if you are ethernet bridging&lt;br /&gt;
# and have precreated a tap0 virtual interface&lt;br /&gt;
# and bridged it with your ethernet interface.&lt;br /&gt;
# If you want to control access policies&lt;br /&gt;
# over the VPN, you must create firewall&lt;br /&gt;
# rules for the the TUN/TAP interface.&lt;br /&gt;
# On non-Windows systems, you can give&lt;br /&gt;
# an explicit unit number, such as tun0.&lt;br /&gt;
# On Windows, use &amp;quot;dev-node&amp;quot; for this.&lt;br /&gt;
# On most systems, the VPN will not function&lt;br /&gt;
# unless you partially or fully disable&lt;br /&gt;
# the firewall for the TUN/TAP interface.&lt;br /&gt;
;dev tap&lt;br /&gt;
dev tun1&lt;br /&gt;
&lt;br /&gt;
# Windows needs the TAP-Win32 adapter name&lt;br /&gt;
# from the Network Connections panel if you&lt;br /&gt;
# have more than one.  On XP SP2 or higher,&lt;br /&gt;
# you may need to selectively disable the&lt;br /&gt;
# Windows firewall for the TAP adapter.&lt;br /&gt;
# Non-Windows systems usually don&amp;#039;t need this.&lt;br /&gt;
;dev-node MyTap&lt;br /&gt;
&lt;br /&gt;
# SSL/TLS root certificate (ca), certificate&lt;br /&gt;
# (cert), and private key (key).  Each client&lt;br /&gt;
# and the server must have their own cert and&lt;br /&gt;
# key file.  The server and all clients will&lt;br /&gt;
# use the same ca file.&lt;br /&gt;
#&lt;br /&gt;
# See the &amp;quot;easy-rsa&amp;quot; directory for a series&lt;br /&gt;
# of scripts for generating RSA certificates&lt;br /&gt;
# and private keys.  Remember to use&lt;br /&gt;
# a unique Common Name for the server&lt;br /&gt;
# and each of the client certificates.&lt;br /&gt;
#&lt;br /&gt;
# Any X509 key management system can be used.&lt;br /&gt;
# OpenVPN can also use a PKCS #12 formatted key file&lt;br /&gt;
# (see &amp;quot;pkcs12&amp;quot; directive in man page).&lt;br /&gt;
ca easy-rsa1/2.0/keys/ca.crt&lt;br /&gt;
cert easy-rsa1/2.0/keys/certificate.crt&lt;br /&gt;
key easy-rsa1/2.0/keys/certificate.key  # This file should be kept secret&lt;br /&gt;
&lt;br /&gt;
# Diffie hellman parameters.&lt;br /&gt;
# Generate your own with:&lt;br /&gt;
#   openssl dhparam -out dh1024.pem 1024&lt;br /&gt;
# Substitute 2048 for 1024 if you are using&lt;br /&gt;
# 2048 bit keys. &lt;br /&gt;
dh easy-rsa1/2.0/keys/dh2048.pem&lt;br /&gt;
&lt;br /&gt;
# Configure server mode and supply a VPN subnet&lt;br /&gt;
# for OpenVPN to draw client addresses from.&lt;br /&gt;
# The server will take 10.8.0.1 for itself,&lt;br /&gt;
# the rest will be made available to clients.&lt;br /&gt;
# Each client will be able to reach the server&lt;br /&gt;
# on 10.8.0.1. Comment this line out if you are&lt;br /&gt;
# ethernet bridging. See the man page for more info.&lt;br /&gt;
server 10.42.87.0 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
# Maintain a record of client &amp;lt;-&amp;gt; virtual IP address&lt;br /&gt;
# associations in this file.  If OpenVPN goes down or&lt;br /&gt;
# is restarted, reconnecting clients can be assigned&lt;br /&gt;
# the same virtual IP address from the pool that was&lt;br /&gt;
# previously assigned.&lt;br /&gt;
ifconfig-pool-persist ipp.txt&lt;br /&gt;
&lt;br /&gt;
# Configure server mode for ethernet bridging.&lt;br /&gt;
# You must first use your OS&amp;#039;s bridging capability&lt;br /&gt;
# to bridge the TAP interface with the ethernet&lt;br /&gt;
# NIC interface.  Then you must manually set the&lt;br /&gt;
# IP/netmask on the bridge interface, here we&lt;br /&gt;
# assume 10.8.0.4/255.255.255.0.  Finally we&lt;br /&gt;
# must set aside an IP range in this subnet&lt;br /&gt;
# (start=10.8.0.50 end=10.8.0.100) to allocate&lt;br /&gt;
# to connecting clients.  Leave this line commented&lt;br /&gt;
# out unless you are ethernet bridging.&lt;br /&gt;
;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100&lt;br /&gt;
&lt;br /&gt;
# Configure server mode for ethernet bridging&lt;br /&gt;
# using a DHCP-proxy, where clients talk&lt;br /&gt;
# to the OpenVPN server-side DHCP server&lt;br /&gt;
# to receive their IP address allocation&lt;br /&gt;
# and DNS server addresses.  You must first use&lt;br /&gt;
# your OS&amp;#039;s bridging capability to bridge the TAP&lt;br /&gt;
# interface with the ethernet NIC interface.&lt;br /&gt;
# Note: this mode only works on clients (such as&lt;br /&gt;
# Windows), where the client-side TAP adapter is&lt;br /&gt;
# bound to a DHCP client.&lt;br /&gt;
;server-bridge&lt;br /&gt;
&lt;br /&gt;
# Push routes to the client to allow it&lt;br /&gt;
# to reach other private subnets behind&lt;br /&gt;
# the server.  Remember that these&lt;br /&gt;
# private subnets will also need&lt;br /&gt;
# to know to route the OpenVPN client&lt;br /&gt;
# address pool (10.8.0.0/255.255.255.0)&lt;br /&gt;
# back to the OpenVPN server.&lt;br /&gt;
#&lt;br /&gt;
# Internet&lt;br /&gt;
push &amp;quot;route W.X.Y.Z 255.255.255.255&amp;quot;&lt;br /&gt;
# Route to tun0&lt;br /&gt;
# push &amp;quot;route 10.42.76.0 255.255.255.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# To assign specific IP addresses to specific&lt;br /&gt;
# clients or if a connecting client has a private&lt;br /&gt;
# subnet behind it that should also have VPN access,&lt;br /&gt;
# use the subdirectory &amp;quot;ccd&amp;quot; for client-specific&lt;br /&gt;
# configuration files (see man page for more info).&lt;br /&gt;
&lt;br /&gt;
# EXAMPLE: Suppose the client&lt;br /&gt;
# having the certificate common name &amp;quot;Thelonious&amp;quot;&lt;br /&gt;
# also has a small subnet behind his connecting&lt;br /&gt;
# machine, such as 192.168.40.128/255.255.255.248.&lt;br /&gt;
# First, uncomment out these lines:&lt;br /&gt;
;client-config-dir ccd&lt;br /&gt;
;route 192.168.40.128 255.255.255.248&lt;br /&gt;
# Then create a file ccd/Thelonious with this line:&lt;br /&gt;
#   iroute 192.168.40.128 255.255.255.248&lt;br /&gt;
# This will allow Thelonious&amp;#039; private subnet to&lt;br /&gt;
# access the VPN.  This example will only work&lt;br /&gt;
# if you are routing, not bridging, i.e. you are&lt;br /&gt;
# using &amp;quot;dev tun&amp;quot; and &amp;quot;server&amp;quot; directives.&lt;br /&gt;
&lt;br /&gt;
# EXAMPLE: Suppose you want to give&lt;br /&gt;
# Thelonious a fixed VPN IP address of 10.9.0.1.&lt;br /&gt;
# First uncomment out these lines:&lt;br /&gt;
client-config-dir ccdirectory_tun1&lt;br /&gt;
&lt;br /&gt;
;route 10.9.0.0 255.255.255.252&lt;br /&gt;
# Then add this line to ccd/Thelonious:&lt;br /&gt;
#   ifconfig-push 10.9.0.1 10.9.0.2&lt;br /&gt;
&lt;br /&gt;
# Suppose that you want to enable different&lt;br /&gt;
# firewall access policies for different groups&lt;br /&gt;
# of clients.  There are two methods:&lt;br /&gt;
# (1) Run multiple OpenVPN daemons, one for each&lt;br /&gt;
#     group, and firewall the TUN/TAP interface&lt;br /&gt;
#     for each group/daemon appropriately.&lt;br /&gt;
# (2) (Advanced) Create a script to dynamically&lt;br /&gt;
#     modify the firewall in response to access&lt;br /&gt;
#     from different clients.  See man&lt;br /&gt;
#     page for more info on learn-address script.&lt;br /&gt;
;learn-address ./script&lt;br /&gt;
&lt;br /&gt;
# If enabled, this directive will configure&lt;br /&gt;
# all clients to redirect their default&lt;br /&gt;
# network gateway through the VPN, causing&lt;br /&gt;
# all IP traffic such as web browsing and&lt;br /&gt;
# and DNS lookups to go through the VPN&lt;br /&gt;
# (The OpenVPN server machine may need to NAT&lt;br /&gt;
# or bridge the TUN/TAP interface to the internet&lt;br /&gt;
# in order for this to work properly).&lt;br /&gt;
push &amp;quot;redirect-gateway def1 bypass-dhcp&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Certain Windows-specific network settings&lt;br /&gt;
# can be pushed to clients, such as DNS&lt;br /&gt;
# or WINS server addresses.  CAVEAT:&lt;br /&gt;
# http://openvpn.net/faq.html#dhcpcaveats&lt;br /&gt;
# The addresses below refer to the public&lt;br /&gt;
# DNS servers provided by opendns.com.&lt;br /&gt;
push &amp;quot;dhcp-option DNS W.X.Y.Z&amp;quot;&lt;br /&gt;
push &amp;quot;dhcp-option WINS W.X.Y.Z&amp;quot;&lt;br /&gt;
#push &amp;quot;dhcp-option DOMAIN domain.example.com&amp;quot;&lt;br /&gt;
#push &amp;quot;dhcp-option SEARCH example.com&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Uncomment this directive to allow different&lt;br /&gt;
# clients to be able to &amp;quot;see&amp;quot; each other.&lt;br /&gt;
# By default, clients will only see the server.&lt;br /&gt;
# To force clients to only see the server, you&lt;br /&gt;
# will also need to appropriately firewall the&lt;br /&gt;
# server&amp;#039;s TUN/TAP interface.&lt;br /&gt;
client-to-client&lt;br /&gt;
&lt;br /&gt;
# Uncomment this directive if multiple clients&lt;br /&gt;
# might connect with the same certificate/key&lt;br /&gt;
# files or common names.  This is recommended&lt;br /&gt;
# only for testing purposes.  For production use,&lt;br /&gt;
# each client should have its own certificate/key&lt;br /&gt;
# pair.&lt;br /&gt;
#&lt;br /&gt;
# IF YOU HAVE NOT GENERATED INDIVIDUAL&lt;br /&gt;
# CERTIFICATE/KEY PAIRS FOR EACH CLIENT,&lt;br /&gt;
# EACH HAVING ITS OWN UNIQUE &amp;quot;COMMON NAME&amp;quot;,&lt;br /&gt;
# UNCOMMENT THIS LINE OUT.&lt;br /&gt;
;duplicate-cn&lt;br /&gt;
&lt;br /&gt;
# The keepalive directive causes ping-like&lt;br /&gt;
# messages to be sent back and forth over&lt;br /&gt;
# the link so that each side knows when&lt;br /&gt;
# the other side has gone down.&lt;br /&gt;
# Ping every 10 seconds, assume that remote&lt;br /&gt;
# peer is down if no ping received during&lt;br /&gt;
# a 120 second time period.&lt;br /&gt;
keepalive 10 120&lt;br /&gt;
&lt;br /&gt;
# For extra security beyond that provided&lt;br /&gt;
# by SSL/TLS, create an &amp;quot;HMAC firewall&amp;quot;&lt;br /&gt;
# to help block DoS attacks and UDP port flooding.&lt;br /&gt;
#&lt;br /&gt;
# Generate with:&lt;br /&gt;
#   openvpn --genkey --secret ta.key&lt;br /&gt;
#&lt;br /&gt;
# The server and each client must have&lt;br /&gt;
# a copy of this key.&lt;br /&gt;
# The second parameter should be &amp;#039;0&amp;#039;&lt;br /&gt;
# on the server and &amp;#039;1&amp;#039; on the clients.&lt;br /&gt;
;tls-auth ta.key 0 # This file is secret&lt;br /&gt;
tls-auth easy-rsa1/2.0/keys/ta_1.key 0&lt;br /&gt;
&lt;br /&gt;
# Select a cryptographic cipher.&lt;br /&gt;
# This config item must be copied to&lt;br /&gt;
# the client config file as well.&lt;br /&gt;
;cipher BF-CBC        # Blowfish (default)&lt;br /&gt;
;cipher AES-128-CBC   # AES&lt;br /&gt;
;cipher DES-EDE3-CBC  # Triple-DES&lt;br /&gt;
cipher AES-256-CBC&lt;br /&gt;
&lt;br /&gt;
# Enable compression on the VPN link.&lt;br /&gt;
# If you enable it here, you must also&lt;br /&gt;
# enable it in the client config file.&lt;br /&gt;
comp-lzo&lt;br /&gt;
&lt;br /&gt;
# The maximum number of concurrently connected&lt;br /&gt;
# clients we want to allow.&lt;br /&gt;
max-clients 50&lt;br /&gt;
&lt;br /&gt;
# It&amp;#039;s a good idea to reduce the OpenVPN&lt;br /&gt;
# daemon&amp;#039;s privileges after initialization.&lt;br /&gt;
#&lt;br /&gt;
# You can uncomment this out on&lt;br /&gt;
# non-Windows systems.&lt;br /&gt;
user nobody&lt;br /&gt;
group nogroup&lt;br /&gt;
&lt;br /&gt;
# The persist options will try to avoid&lt;br /&gt;
# accessing certain resources on restart&lt;br /&gt;
# that may no longer be accessible because&lt;br /&gt;
# of the privilege downgrade.&lt;br /&gt;
persist-key&lt;br /&gt;
persist-tun&lt;br /&gt;
&lt;br /&gt;
# Output a short status file showing&lt;br /&gt;
# current connections, truncated&lt;br /&gt;
# and rewritten every minute.&lt;br /&gt;
status /var/log/openvpn/openvpn-status-tun1.log&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# By default, log messages will go to the syslog (or&lt;br /&gt;
# on Windows, if running as a service, they will go to&lt;br /&gt;
# the &amp;quot;\Program Files\OpenVPN\log&amp;quot; directory).&lt;br /&gt;
# Use log or log-append to override this default.&lt;br /&gt;
# &amp;quot;log&amp;quot; will truncate the log file on OpenVPN startup,&lt;br /&gt;
# while &amp;quot;log-append&amp;quot; will append to it.  Use one&lt;br /&gt;
# or the other (but not both).&lt;br /&gt;
;log			logs/openvpn.log&lt;br /&gt;
;log-append		logs/openvpn.log&lt;br /&gt;
log				/var/log/openvpn/openvpn_tun1.log&lt;br /&gt;
;log-append  	/var/log/openvpn/openvpn_tun1.log&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Set the appropriate level of log&lt;br /&gt;
# file verbosity.&lt;br /&gt;
#&lt;br /&gt;
# 0 is silent, except for fatal errors&lt;br /&gt;
# 4 is reasonable for general usage&lt;br /&gt;
# 5 and 6 can help to debug connection problems&lt;br /&gt;
# 9 is extremely verbose&lt;br /&gt;
verb 6&lt;br /&gt;
&lt;br /&gt;
# Silence repeating messages.  At most 20&lt;br /&gt;
# sequential messages of the same message&lt;br /&gt;
# category will be output to the log.&lt;br /&gt;
mute 20&lt;br /&gt;
&lt;br /&gt;
# Chroot the server daemon&lt;br /&gt;
chroot /etc/openvpn/&lt;br /&gt;
&lt;br /&gt;
# Set TCP queuing (default = 64)&lt;br /&gt;
tcp-queue-limit 256&lt;br /&gt;
&lt;br /&gt;
# Script Security rights level&lt;br /&gt;
script-security 3&lt;br /&gt;
&lt;br /&gt;
#ns-cert-type server&lt;br /&gt;
&lt;br /&gt;
# MGMT&lt;br /&gt;
#management localhost 59002 pw-file.txt&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Z</name></author>
	</entry>
</feed>