<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: OpenVPN Implementation</title>
	<atom:link href="http://securitytnt.com/openvpn-implementation/feed/" rel="self" type="application/rss+xml" />
	<link>http://securitytnt.com/openvpn-implementation/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 07 Feb 2012 13:46:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bruno</title>
		<link>http://securitytnt.com/openvpn-implementation/comment-page-1/#comment-57710</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Thu, 15 Sep 2011 18:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://securitytnt.com/openvpn-implementation/#comment-57710</guid>
		<description>Hi! Do you use Facebook? I would prefer to follow you if that could be okay. Therefore i&#039;m definitely taking pleasure in your website and look forward to new content.</description>
		<content:encoded><![CDATA[<p>Hi! Do you use Facebook? I would prefer to follow you if that could be okay. Therefore i&#8217;m definitely taking pleasure in your website and look forward to new content.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Otha Pruit</title>
		<link>http://securitytnt.com/openvpn-implementation/comment-page-1/#comment-57387</link>
		<dc:creator>Otha Pruit</dc:creator>
		<pubDate>Thu, 08 Sep 2011 02:16:34 +0000</pubDate>
		<guid isPermaLink="false">http://securitytnt.com/openvpn-implementation/#comment-57387</guid>
		<description>Visualize it or not, there are certainly numerous methods your home devices can be broken or even occur to become dirtier with the cooking. The protecting item is a great method to support prevent aesthetic as well as physical damage that will deter from the KitchenAid equipment.</description>
		<content:encoded><![CDATA[<p>Visualize it or not, there are certainly numerous methods your home devices can be broken or even occur to become dirtier with the cooking. The protecting item is a great method to support prevent aesthetic as well as physical damage that will deter from the KitchenAid equipment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sleeper Sofa `</title>
		<link>http://securitytnt.com/openvpn-implementation/comment-page-1/#comment-47306</link>
		<dc:creator>Sleeper Sofa `</dc:creator>
		<pubDate>Tue, 12 Oct 2010 06:45:40 +0000</pubDate>
		<guid isPermaLink="false">http://securitytnt.com/openvpn-implementation/#comment-47306</guid>
		<description>oh i just thought that paracetamol is safer than ibuprofen-..</description>
		<content:encoded><![CDATA[<p>oh i just thought that paracetamol is safer than ibuprofen-..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OpenVPN Implementation &#124; Csatpk! CS &#38; IT Solutions</title>
		<link>http://securitytnt.com/openvpn-implementation/comment-page-1/#comment-37377</link>
		<dc:creator>OpenVPN Implementation &#124; Csatpk! CS &#38; IT Solutions</dc:creator>
		<pubDate>Sat, 05 Sep 2009 19:01:28 +0000</pubDate>
		<guid isPermaLink="false">http://securitytnt.com/openvpn-implementation/#comment-37377</guid>
		<description>[...] source here [...]</description>
		<content:encoded><![CDATA[<p>[...] source here [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amol Chopra</title>
		<link>http://securitytnt.com/openvpn-implementation/comment-page-1/#comment-14444</link>
		<dc:creator>Amol Chopra</dc:creator>
		<pubDate>Wed, 02 Apr 2008 23:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://securitytnt.com/openvpn-implementation/#comment-14444</guid>
		<description>My ping test fails. After I have installed this on the server and the client, I can connect to the server, but I cannot ping the server. So, I cannot access the network.

Please help me out. Thanks.

My client.ovpn file looks like this:

##############################################
# Sample client-side OpenVPN 2.0 config file #
# for connecting to multi-client server.     #
#                                            #
# This configuration can be used by multiple #
# clients, however each client should have   #
# its own cert and key files.                #
#                                            #
# On Windows, you might want to rename this  #
# file so it has a .ovpn extension           #
##############################################

# Specify that we are a client and that we
# will be pulling certain config file directives
# from the server.
client

# Use the same setting as you are using on
# the server.
# On most systems, the VPN will not function
# unless you partially or fully disable
# the firewall for the TUN/TAP interface.
;dev tap
dev tun

# Windows needs the TAP-Win32 adapter name
# from the Network Connections panel
# if you have more than one.  On XP SP2,
# you may need to disable the firewall
# for the TAP adapter.
;dev-node MyTap

# Are we connecting to a TCP or
# UDP server?  Use the same setting as
# on the server.
;proto tcp
proto udp

# The hostname/IP and port of the server.
# You can have multiple remote entries
# to load balance between the servers.
remote 192.168.0.153 1194
;remote my-server-2 1194

# Choose a random host from the remote
# list for load-balancing.  Otherwise
# try hosts in the order specified.
;remote-random

# Keep trying indefinitely to resolve the
# host name of the OpenVPN server.  Very useful
# on machines which are not permanently connected
# to the internet such as laptops.
resolv-retry infinite

# Most clients don&#039;t need to bind to
# a specific local port number.
nobind

# Downgrade privileges after initialization (non-Windows only)
;user nobody
;group nobody

# Try to preserve some state across restarts.
persist-key
persist-tun

# If you are connecting through an
# HTTP proxy to reach the actual OpenVPN
# server, put the proxy server/IP and
# port number here.  See the man page
# if your proxy server requires
# authentication.
;http-proxy-retry # retry on connection failures
;http-proxy [proxy server] [proxy port #]

# Wireless networks often produce a lot
# of duplicate packets.  Set this flag
# to silence duplicate packet warnings.
;mute-replay-warnings

# SSL/TLS parms.
# See the server config file for more
# description.  It&#039;s best to use
# a separate .crt/.key file pair
# for each client.  A single ca
# file can be used for all clients.
ca ca.crt
cert client1.crt
key client1.key

# Verify server certificate by checking
# that the certicate has the nsCertType
# field set to &quot;server&quot;.  This is an
# important precaution to protect against
# a potential attack discussed here:
#  http://openvpn.net/howto.html#mitm
#
# To use this feature, you will need to generate
# your server certificates with the nsCertType
# field set to &quot;server&quot;.  The build-key-server
# script in the easy-rsa folder will do this.
ns-cert-type server

# If a tls-auth key is used on the server
# then every client must also have the key.
;tls-auth ta.key 1

# Select a cryptographic cipher.
# If the cipher option is used on the server
# then you must also specify it here.
;cipher x

# Enable compression on the VPN link.
# Don&#039;t enable this unless it is also
# enabled in the server config file.
comp-lzo

# Set log file verbosity.
verb 3

# Silence repeating messages
;mute 20

My server.ovpn file, looks like this:
#################################################
# Sample OpenVPN 2.0 config file for            #
# multi-client server.                          #
#                                               #
# This file is for the server side              #
# of a many-clients  one-server              #
# OpenVPN configuration.                        #
#                                               #
# OpenVPN also supports                         #
# single-machine  single-machine             #
# configurations (See the Examples page         #
# on the web site for more info).               #
#                                               #
# This config should work on Windows            #
# or Linux/BSD systems.  Remember on            #
# Windows to quote pathnames and use            #
# double backslashes, e.g.:                     #
# &quot;C:\\Program Files\\OpenVPN\\config\\foo.key&quot; #
#                                               #
# Comments are preceded with &#039;#&#039; or &#039;;&#039;         #
#################################################

# Which local IP address should OpenVPN
# listen on? (optional)
local 192.168.0.153

# Which TCP/UDP port should OpenVPN listen on?
# If you want to run multiple OpenVPN instances
# on the same machine, use a different port
# number for each one.  You will need to
# open up this port on your firewall.
port 1194

# TCP or UDP server?
;proto tcp
proto udp

mssfix 1400 # This setting fixed problems I was having with apps like Remote Desktop

push &quot;dhcp-option DNS 4.2.2.1&quot;  # Replace the Xs with the IP address of the DNS for your home network (usually your ISP&#039;s DNS)

push &quot;dhcp-option DNS 4.2.2.2&quot;  # A second DNS server if you have one


# &quot;dev tun&quot; will create a routed IP tunnel,
# &quot;dev tap&quot; will create an ethernet tunnel.
# Use &quot;dev tap0&quot; if you are ethernet bridging
# and have precreated a tap0 virtual interface
# and bridged it with your ethernet interface.
# If you want to control access policies
# over the VPN, you must create firewall
# rules for the the TUN/TAP interface.
# On non-Windows systems, you can give
# an explicit unit number, such as tun0.
# On Windows, use &quot;dev-node&quot; for this.
# On most systems, the VPN will not function
# unless you partially or fully disable
# the firewall for the TUN/TAP interface.
;dev tap
dev tun

# Windows needs the TAP-Win32 adapter name
# from the Network Connections panel if you
# have more than one.  On XP SP2 or higher,
# you may need to selectively disable the
# Windows firewall for the TAP adapter.
# Non-Windows systems usually don&#039;t need this.
;dev-node MyTap

# SSL/TLS root certificate (ca), certificate
# (cert), and private key (key).  Each client
# and the server must have their own cert and
# key file.  The server and all clients will
# use the same ca file.
#
# See the &quot;easy-rsa&quot; directory for a series
# of scripts for generating RSA certificates
# and private keys.  Remember to use
# a unique Common Name for the server
# and each of the client certificates.
#
# Any X509 key management system can be used.
# OpenVPN can also use a PKCS #12 formatted key file
# (see &quot;pkcs12&quot; directive in man page).
ca &quot;C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt&quot;
cert &quot;C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\PetroTelVPN.crt&quot;
key &quot;C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\PetroTelVPN.key&quot;  # This file should be kept secret

# Diffie hellman parameters.
# Generate your own with:
#   openssl dhparam -out dh1024.pem 1024
# Substitute 2048 for 1024 if you are using
# 2048 bit keys. 
dh &quot;C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh1024.pem&quot;

# Configure server mode and supply a VPN subnet
# for OpenVPN to draw client addresses from.
# The server will take 10.8.0.1 for itself,
# the rest will be made available to clients.
# Each client will be able to reach the server
# on 10.8.0.1. Comment this line out if you are
# ethernet bridging. See the man page for more info.
server 192.168.10.0 255.255.255.0

# Maintain a record of client  virtual IP address
# associations in this file.  If OpenVPN goes down or
# is restarted, reconnecting clients can be assigned
# the same virtual IP address from the pool that was
# previously assigned.
ifconfig-pool-persist ipp.txt

# Configure server mode for ethernet bridging.
# You must first use your OS&#039;s bridging capability
# to bridge the TAP interface with the ethernet
# NIC interface.  Then you must manually set the
# IP/netmask on the bridge interface, here we
# assume 10.8.0.4/255.255.255.0.  Finally we
# must set aside an IP range in this subnet
# (start=10.8.0.50 end=10.8.0.100) to allocate
# to connecting clients.  Leave this line commented
# out unless you are ethernet bridging.
;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100

# Push routes to the client to allow it
# to reach other private subnets behind
# the server.  Remember that these
# private subnets will also need
# to know to route the OpenVPN client
# address pool (10.8.0.0/255.255.255.0)
# back to the OpenVPN server.
push &quot;route 192.168.0.0 255.255.255.0&quot;
;push &quot;route 192.168.20.0 255.255.255.0&quot;

# To assign specific IP addresses to specific
# clients or if a connecting client has a private
# subnet behind it that should also have VPN access,
# use the subdirectory &quot;ccd&quot; for client-specific
# configuration files (see man page for more info).

# EXAMPLE: Suppose the client
# having the certificate common name &quot;Thelonious&quot;
# also has a small subnet behind his connecting
# machine, such as 192.168.40.128/255.255.255.248.
# First, uncomment out these lines:
;client-config-dir ccd
;route 192.168.40.128 255.255.255.248
# Then create a file ccd/Thelonious with this line:
#   iroute 192.168.40.128 255.255.255.248
# This will allow Thelonious&#039; private subnet to
# access the VPN.  This example will only work
# if you are routing, not bridging, i.e. you are
# using &quot;dev tun&quot; and &quot;server&quot; directives.

# EXAMPLE: Suppose you want to give
# Thelonious a fixed VPN IP address of 10.9.0.1.
# First uncomment out these lines:
;client-config-dir ccd
;route 10.9.0.0 255.255.255.252
# Then add this line to ccd/Thelonious:
#   ifconfig-push 10.9.0.1 10.9.0.2

# Suppose that you want to enable different
# firewall access policies for different groups
# of clients.  There are two methods:
# (1) Run multiple OpenVPN daemons, one for each
#     group, and firewall the TUN/TAP interface
#     for each group/daemon appropriately.
# (2) (Advanced) Create a script to dynamically
#     modify the firewall in response to access
#     from different clients.  See man
#     page for more info on learn-address script.
;learn-address ./script

# If enabled, this directive will configure
# all clients to redirect their default
# network gateway through the VPN, causing
# all IP traffic such as web browsing and
# and DNS lookups to go through the VPN
# (The OpenVPN server machine may need to NAT
# the TUN/TAP interface to the internet in
# order for this to work properly).
# CAVEAT: May break client&#039;s network config if
# client&#039;s local DHCP server packets get routed
# through the tunnel.  Solution: make sure
# client&#039;s local DHCP server is reachable via
# a more specific route than the default route
# of 0.0.0.0/0.0.0.0.
push &quot;redirect-gateway def1&quot;

# Certain Windows-specific network settings
# can be pushed to clients, such as DNS
# or WINS server addresses.  CAVEAT:
# http://openvpn.net/faq.html#dhcpcaveats
;push &quot;dhcp-option DNS 10.8.0.1&quot;
;push &quot;dhcp-option WINS 10.8.0.1&quot;

# Uncomment this directive to allow different
# clients to be able to &quot;see&quot; each other.
# By default, clients will only see the server.
# To force clients to only see the server, you
# will also need to appropriately firewall the
# server&#039;s TUN/TAP interface.
;client-to-client

# Uncomment this directive if multiple clients
# might connect with the same certificate/key
# files or common names.  This is recommended
# only for testing purposes.  For production use,
# each client should have its own certificate/key
# pair.
#
# IF YOU HAVE NOT GENERATED INDIVIDUAL
# CERTIFICATE/KEY PAIRS FOR EACH CLIENT,
# EACH HAVING ITS OWN UNIQUE &quot;COMMON NAME&quot;,
# UNCOMMENT THIS LINE OUT.
;duplicate-cn

# The keepalive directive causes ping-like
# messages to be sent back and forth over
# the link so that each side knows when
# the other side has gone down.
# Ping every 10 seconds, assume that remote
# peer is down if no ping received during
# a 120 second time period.
keepalive 10 120

# For extra security beyond that provided
# by SSL/TLS, create an &quot;HMAC firewall&quot;
# to help block DoS attacks and UDP port flooding.
#
# Generate with:
#   openvpn --genkey --secret ta.key
#
# The server and each client must have
# a copy of this key.
# The second parameter should be &#039;0&#039;
# on the server and &#039;1&#039; on the clients.
;tls-auth ta.key 0 # This file is secret

# Select a cryptographic cipher.
# This config item must be copied to
# the client config file as well.
cipher BF-CBC        # Blowfish (default)
;cipher AES-128-CBC   # AES
;cipher DES-EDE3-CBC  # Triple-DES

# Enable compression on the VPN link.
# If you enable it here, you must also
# enable it in the client config file.
comp-lzo

# The maximum number of concurrently connected
# clients we want to allow.
max-clients 100

# It&#039;s a good idea to reduce the OpenVPN
# daemon&#039;s privileges after initialization.
#
# You can uncomment this out on
# non-Windows systems.
;user nobody
;group nobody

# The persist options will try to avoid
# accessing certain resources on restart
# that may no longer be accessible because
# of the privilege downgrade.
persist-key
persist-tun

# Output a short status file showing
# current connections, truncated
# and rewritten every minute.
status openvpn-status.log

# By default, log messages will go to the syslog (or
# on Windows, if running as a service, they will go to
# the &quot;\Program Files\OpenVPN\log&quot; directory).
# Use log or log-append to override this default.
# &quot;log&quot; will truncate the log file on OpenVPN startup,
# while &quot;log-append&quot; will append to it.  Use one
# or the other (but not both).
;log         openvpn.log
;log-append  openvpn.log

# Set the appropriate level of log
# file verbosity.
#
# 0 is silent, except for fatal errors
# 4 is reasonable for general usage
# 5 and 6 can help to debug connection problems
# 9 is extremely verbose
verb 1

# Silence repeating messages.  At most 20
# sequential messages of the same message
# category will be output to the log.
;mute 20</description>
		<content:encoded><![CDATA[<p>My ping test fails. After I have installed this on the server and the client, I can connect to the server, but I cannot ping the server. So, I cannot access the network.</p>
<p>Please help me out. Thanks.</p>
<p>My client.ovpn file looks like this:</p>
<p>##############################################<br />
# Sample client-side OpenVPN 2.0 config file #<br />
# for connecting to multi-client server.     #<br />
#                                            #<br />
# This configuration can be used by multiple #<br />
# clients, however each client should have   #<br />
# its own cert and key files.                #<br />
#                                            #<br />
# On Windows, you might want to rename this  #<br />
# file so it has a .ovpn extension           #<br />
##############################################</p>
<p># Specify that we are a client and that we<br />
# will be pulling certain config file directives<br />
# from the server.<br />
client</p>
<p># Use the same setting as you are using on<br />
# the server.<br />
# On most systems, the VPN will not function<br />
# unless you partially or fully disable<br />
# the firewall for the TUN/TAP interface.<br />
;dev tap<br />
dev tun</p>
<p># Windows needs the TAP-Win32 adapter name<br />
# from the Network Connections panel<br />
# if you have more than one.  On XP SP2,<br />
# you may need to disable the firewall<br />
# for the TAP adapter.<br />
;dev-node MyTap</p>
<p># Are we connecting to a TCP or<br />
# UDP server?  Use the same setting as<br />
# on the server.<br />
;proto tcp<br />
proto udp</p>
<p># The hostname/IP and port of the server.<br />
# You can have multiple remote entries<br />
# to load balance between the servers.<br />
remote 192.168.0.153 1194<br />
;remote my-server-2 1194</p>
<p># Choose a random host from the remote<br />
# list for load-balancing.  Otherwise<br />
# try hosts in the order specified.<br />
;remote-random</p>
<p># Keep trying indefinitely to resolve the<br />
# host name of the OpenVPN server.  Very useful<br />
# on machines which are not permanently connected<br />
# to the internet such as laptops.<br />
resolv-retry infinite</p>
<p># Most clients don&#8217;t need to bind to<br />
# a specific local port number.<br />
nobind</p>
<p># Downgrade privileges after initialization (non-Windows only)<br />
;user nobody<br />
;group nobody</p>
<p># Try to preserve some state across restarts.<br />
persist-key<br />
persist-tun</p>
<p># If you are connecting through an<br />
# HTTP proxy to reach the actual OpenVPN<br />
# server, put the proxy server/IP and<br />
# port number here.  See the man page<br />
# if your proxy server requires<br />
# authentication.<br />
;http-proxy-retry # retry on connection failures<br />
;http-proxy [proxy server] [proxy port #]</p>
<p># Wireless networks often produce a lot<br />
# of duplicate packets.  Set this flag<br />
# to silence duplicate packet warnings.<br />
;mute-replay-warnings</p>
<p># SSL/TLS parms.<br />
# See the server config file for more<br />
# description.  It&#8217;s best to use<br />
# a separate .crt/.key file pair<br />
# for each client.  A single ca<br />
# file can be used for all clients.<br />
ca ca.crt<br />
cert client1.crt<br />
key client1.key</p>
<p># Verify server certificate by checking<br />
# that the certicate has the nsCertType<br />
# field set to &#8220;server&#8221;.  This is an<br />
# important precaution to protect against<br />
# a potential attack discussed here:<br />
#  <a href="http://openvpn.net/howto.html#mitm" rel="nofollow">http://openvpn.net/howto.html#mitm</a><br />
#<br />
# To use this feature, you will need to generate<br />
# your server certificates with the nsCertType<br />
# field set to &#8220;server&#8221;.  The build-key-server<br />
# script in the easy-rsa folder will do this.<br />
ns-cert-type server</p>
<p># If a tls-auth key is used on the server<br />
# then every client must also have the key.<br />
;tls-auth ta.key 1</p>
<p># Select a cryptographic cipher.<br />
# If the cipher option is used on the server<br />
# then you must also specify it here.<br />
;cipher x</p>
<p># Enable compression on the VPN link.<br />
# Don&#8217;t enable this unless it is also<br />
# enabled in the server config file.<br />
comp-lzo</p>
<p># Set log file verbosity.<br />
verb 3</p>
<p># Silence repeating messages<br />
;mute 20</p>
<p>My server.ovpn file, looks like this:<br />
#################################################<br />
# Sample OpenVPN 2.0 config file for            #<br />
# multi-client server.                          #<br />
#                                               #<br />
# This file is for the server side              #<br />
# of a many-clients  one-server              #<br />
# OpenVPN configuration.                        #<br />
#                                               #<br />
# OpenVPN also supports                         #<br />
# single-machine  single-machine             #<br />
# configurations (See the Examples page         #<br />
# on the web site for more info).               #<br />
#                                               #<br />
# This config should work on Windows            #<br />
# or Linux/BSD systems.  Remember on            #<br />
# Windows to quote pathnames and use            #<br />
# double backslashes, e.g.:                     #<br />
# &#8220;C:\\Program Files\\OpenVPN\\config\\foo.key&#8221; #<br />
#                                               #<br />
# Comments are preceded with &#8216;#&#8217; or &#8216;;&#8217;         #<br />
#################################################</p>
<p># Which local IP address should OpenVPN<br />
# listen on? (optional)<br />
local 192.168.0.153</p>
<p># Which TCP/UDP port should OpenVPN listen on?<br />
# If you want to run multiple OpenVPN instances<br />
# on the same machine, use a different port<br />
# number for each one.  You will need to<br />
# open up this port on your firewall.<br />
port 1194</p>
<p># TCP or UDP server?<br />
;proto tcp<br />
proto udp</p>
<p>mssfix 1400 # This setting fixed problems I was having with apps like Remote Desktop</p>
<p>push &#8220;dhcp-option DNS 4.2.2.1&#8243;  # Replace the Xs with the IP address of the DNS for your home network (usually your ISP&#8217;s DNS)</p>
<p>push &#8220;dhcp-option DNS 4.2.2.2&#8243;  # A second DNS server if you have one</p>
<p># &#8220;dev tun&#8221; will create a routed IP tunnel,<br />
# &#8220;dev tap&#8221; will create an ethernet tunnel.<br />
# Use &#8220;dev tap0&#8243; if you are ethernet bridging<br />
# and have precreated a tap0 virtual interface<br />
# and bridged it with your ethernet interface.<br />
# If you want to control access policies<br />
# over the VPN, you must create firewall<br />
# rules for the the TUN/TAP interface.<br />
# On non-Windows systems, you can give<br />
# an explicit unit number, such as tun0.<br />
# On Windows, use &#8220;dev-node&#8221; for this.<br />
# On most systems, the VPN will not function<br />
# unless you partially or fully disable<br />
# the firewall for the TUN/TAP interface.<br />
;dev tap<br />
dev tun</p>
<p># Windows needs the TAP-Win32 adapter name<br />
# from the Network Connections panel if you<br />
# have more than one.  On XP SP2 or higher,<br />
# you may need to selectively disable the<br />
# Windows firewall for the TAP adapter.<br />
# Non-Windows systems usually don&#8217;t need this.<br />
;dev-node MyTap</p>
<p># SSL/TLS root certificate (ca), certificate<br />
# (cert), and private key (key).  Each client<br />
# and the server must have their own cert and<br />
# key file.  The server and all clients will<br />
# use the same ca file.<br />
#<br />
# See the &#8220;easy-rsa&#8221; directory for a series<br />
# of scripts for generating RSA certificates<br />
# and private keys.  Remember to use<br />
# a unique Common Name for the server<br />
# and each of the client certificates.<br />
#<br />
# Any X509 key management system can be used.<br />
# OpenVPN can also use a PKCS #12 formatted key file<br />
# (see &#8220;pkcs12&#8243; directive in man page).<br />
ca &#8220;C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt&#8221;<br />
cert &#8220;C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\PetroTelVPN.crt&#8221;<br />
key &#8220;C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\PetroTelVPN.key&#8221;  # This file should be kept secret</p>
<p># Diffie hellman parameters.<br />
# Generate your own with:<br />
#   openssl dhparam -out dh1024.pem 1024<br />
# Substitute 2048 for 1024 if you are using<br />
# 2048 bit keys.<br />
dh &#8220;C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh1024.pem&#8221;</p>
<p># Configure server mode and supply a VPN subnet<br />
# for OpenVPN to draw client addresses from.<br />
# The server will take 10.8.0.1 for itself,<br />
# the rest will be made available to clients.<br />
# Each client will be able to reach the server<br />
# on 10.8.0.1. Comment this line out if you are<br />
# ethernet bridging. See the man page for more info.<br />
server 192.168.10.0 255.255.255.0</p>
<p># Maintain a record of client  virtual IP address<br />
# associations in this file.  If OpenVPN goes down or<br />
# is restarted, reconnecting clients can be assigned<br />
# the same virtual IP address from the pool that was<br />
# previously assigned.<br />
ifconfig-pool-persist ipp.txt</p>
<p># Configure server mode for ethernet bridging.<br />
# You must first use your OS&#8217;s bridging capability<br />
# to bridge the TAP interface with the ethernet<br />
# NIC interface.  Then you must manually set the<br />
# IP/netmask on the bridge interface, here we<br />
# assume 10.8.0.4/255.255.255.0.  Finally we<br />
# must set aside an IP range in this subnet<br />
# (start=10.8.0.50 end=10.8.0.100) to allocate<br />
# to connecting clients.  Leave this line commented<br />
# out unless you are ethernet bridging.<br />
;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100</p>
<p># Push routes to the client to allow it<br />
# to reach other private subnets behind<br />
# the server.  Remember that these<br />
# private subnets will also need<br />
# to know to route the OpenVPN client<br />
# address pool (10.8.0.0/255.255.255.0)<br />
# back to the OpenVPN server.<br />
push &#8220;route 192.168.0.0 255.255.255.0&#8243;<br />
;push &#8220;route 192.168.20.0 255.255.255.0&#8243;</p>
<p># To assign specific IP addresses to specific<br />
# clients or if a connecting client has a private<br />
# subnet behind it that should also have VPN access,<br />
# use the subdirectory &#8220;ccd&#8221; for client-specific<br />
# configuration files (see man page for more info).</p>
<p># EXAMPLE: Suppose the client<br />
# having the certificate common name &#8220;Thelonious&#8221;<br />
# also has a small subnet behind his connecting<br />
# machine, such as 192.168.40.128/255.255.255.248.<br />
# First, uncomment out these lines:<br />
;client-config-dir ccd<br />
;route 192.168.40.128 255.255.255.248<br />
# Then create a file ccd/Thelonious with this line:<br />
#   iroute 192.168.40.128 255.255.255.248<br />
# This will allow Thelonious&#8217; private subnet to<br />
# access the VPN.  This example will only work<br />
# if you are routing, not bridging, i.e. you are<br />
# using &#8220;dev tun&#8221; and &#8220;server&#8221; directives.</p>
<p># EXAMPLE: Suppose you want to give<br />
# Thelonious a fixed VPN IP address of 10.9.0.1.<br />
# First uncomment out these lines:<br />
;client-config-dir ccd<br />
;route 10.9.0.0 255.255.255.252<br />
# Then add this line to ccd/Thelonious:<br />
#   ifconfig-push 10.9.0.1 10.9.0.2</p>
<p># Suppose that you want to enable different<br />
# firewall access policies for different groups<br />
# of clients.  There are two methods:<br />
# (1) Run multiple OpenVPN daemons, one for each<br />
#     group, and firewall the TUN/TAP interface<br />
#     for each group/daemon appropriately.<br />
# (2) (Advanced) Create a script to dynamically<br />
#     modify the firewall in response to access<br />
#     from different clients.  See man<br />
#     page for more info on learn-address script.<br />
;learn-address ./script</p>
<p># If enabled, this directive will configure<br />
# all clients to redirect their default<br />
# network gateway through the VPN, causing<br />
# all IP traffic such as web browsing and<br />
# and DNS lookups to go through the VPN<br />
# (The OpenVPN server machine may need to NAT<br />
# the TUN/TAP interface to the internet in<br />
# order for this to work properly).<br />
# CAVEAT: May break client&#8217;s network config if<br />
# client&#8217;s local DHCP server packets get routed<br />
# through the tunnel.  Solution: make sure<br />
# client&#8217;s local DHCP server is reachable via<br />
# a more specific route than the default route<br />
# of 0.0.0.0/0.0.0.0.<br />
push &#8220;redirect-gateway def1&#8243;</p>
<p># Certain Windows-specific network settings<br />
# can be pushed to clients, such as DNS<br />
# or WINS server addresses.  CAVEAT:<br />
# <a href="http://openvpn.net/faq.html#dhcpcaveats" rel="nofollow">http://openvpn.net/faq.html#dhcpcaveats</a><br />
;push &#8220;dhcp-option DNS 10.8.0.1&#8243;<br />
;push &#8220;dhcp-option WINS 10.8.0.1&#8243;</p>
<p># Uncomment this directive to allow different<br />
# clients to be able to &#8220;see&#8221; each other.<br />
# By default, clients will only see the server.<br />
# To force clients to only see the server, you<br />
# will also need to appropriately firewall the<br />
# server&#8217;s TUN/TAP interface.<br />
;client-to-client</p>
<p># Uncomment this directive if multiple clients<br />
# might connect with the same certificate/key<br />
# files or common names.  This is recommended<br />
# only for testing purposes.  For production use,<br />
# each client should have its own certificate/key<br />
# pair.<br />
#<br />
# IF YOU HAVE NOT GENERATED INDIVIDUAL<br />
# CERTIFICATE/KEY PAIRS FOR EACH CLIENT,<br />
# EACH HAVING ITS OWN UNIQUE &#8220;COMMON NAME&#8221;,<br />
# UNCOMMENT THIS LINE OUT.<br />
;duplicate-cn</p>
<p># The keepalive directive causes ping-like<br />
# messages to be sent back and forth over<br />
# the link so that each side knows when<br />
# the other side has gone down.<br />
# Ping every 10 seconds, assume that remote<br />
# peer is down if no ping received during<br />
# a 120 second time period.<br />
keepalive 10 120</p>
<p># For extra security beyond that provided<br />
# by SSL/TLS, create an &#8220;HMAC firewall&#8221;<br />
# to help block DoS attacks and UDP port flooding.<br />
#<br />
# Generate with:<br />
#   openvpn &#8211;genkey &#8211;secret ta.key<br />
#<br />
# The server and each client must have<br />
# a copy of this key.<br />
# The second parameter should be &#8216;0&#8242;<br />
# on the server and &#8216;1&#8242; on the clients.<br />
;tls-auth ta.key 0 # This file is secret</p>
<p># Select a cryptographic cipher.<br />
# This config item must be copied to<br />
# the client config file as well.<br />
cipher BF-CBC        # Blowfish (default)<br />
;cipher AES-128-CBC   # AES<br />
;cipher DES-EDE3-CBC  # Triple-DES</p>
<p># Enable compression on the VPN link.<br />
# If you enable it here, you must also<br />
# enable it in the client config file.<br />
comp-lzo</p>
<p># The maximum number of concurrently connected<br />
# clients we want to allow.<br />
max-clients 100</p>
<p># It&#8217;s a good idea to reduce the OpenVPN<br />
# daemon&#8217;s privileges after initialization.<br />
#<br />
# You can uncomment this out on<br />
# non-Windows systems.<br />
;user nobody<br />
;group nobody</p>
<p># The persist options will try to avoid<br />
# accessing certain resources on restart<br />
# that may no longer be accessible because<br />
# of the privilege downgrade.<br />
persist-key<br />
persist-tun</p>
<p># Output a short status file showing<br />
# current connections, truncated<br />
# and rewritten every minute.<br />
status openvpn-status.log</p>
<p># By default, log messages will go to the syslog (or<br />
# on Windows, if running as a service, they will go to<br />
# the &#8220;\Program Files\OpenVPN\log&#8221; directory).<br />
# Use log or log-append to override this default.<br />
# &#8220;log&#8221; will truncate the log file on OpenVPN startup,<br />
# while &#8220;log-append&#8221; will append to it.  Use one<br />
# or the other (but not both).<br />
;log         openvpn.log<br />
;log-append  openvpn.log</p>
<p># Set the appropriate level of log<br />
# file verbosity.<br />
#<br />
# 0 is silent, except for fatal errors<br />
# 4 is reasonable for general usage<br />
# 5 and 6 can help to debug connection problems<br />
# 9 is extremely verbose<br />
verb 1</p>
<p># Silence repeating messages.  At most 20<br />
# sequential messages of the same message<br />
# category will be output to the log.<br />
;mute 20</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asteriskese</title>
		<link>http://securitytnt.com/openvpn-implementation/comment-page-1/#comment-5773</link>
		<dc:creator>asteriskese</dc:creator>
		<pubDate>Mon, 13 Aug 2007 11:58:26 +0000</pubDate>
		<guid isPermaLink="false">http://securitytnt.com/openvpn-implementation/#comment-5773</guid>
		<description>Hi,

My firewall have got 2 lan card: 
-LAN1: 192.168.1.105/255.255.255.0 --connect to modem ADSL (192.168.1.1/255.255.255.0)
-LAN2: 10.0.0.5/255.0.0.0 --connect to private LAN.

(INTERNET)
    &#124;
    &#124;
(FIREWALL)
LAN1: 192.168.1.105/255.255.255.0
  &#124;
  &#124;
LAN2: 10.0.0.5/255.0.0.0
  &#124;
  &#124;
--------------------
&#124;       &#124;              &#124;
&#124;   FTP Server    WEB server
&#124;  10.0.5.98/    10.0.5.97/255.0.0.0
&#124;   255.0.0.0
&#124;
DB Server
(10.0.5.99/255.0.0.0)


1. OpenVPN server (installed on centos linux) installed on FIREWALL. 
   How can i config?
2. OpenVPN server ((installed on centos linux)) installed  on other computer in private LAN (10.0.5.90/255.0.0.0). 
   How can i config?
(OpenVPN client on Windows XPSP2)
So How can i config server.conf file on OpenVPN server ?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>My firewall have got 2 lan card:<br />
-LAN1: 192.168.1.105/255.255.255.0 &#8211;connect to modem ADSL (192.168.1.1/255.255.255.0)<br />
-LAN2: 10.0.0.5/255.0.0.0 &#8211;connect to private LAN.</p>
<p>(INTERNET)<br />
    |<br />
    |<br />
(FIREWALL)<br />
LAN1: 192.168.1.105/255.255.255.0<br />
  |<br />
  |<br />
LAN2: 10.0.0.5/255.0.0.0<br />
  |<br />
  |<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
|       |              |<br />
|   FTP Server    WEB server<br />
|  10.0.5.98/    10.0.5.97/255.0.0.0<br />
|   255.0.0.0<br />
|<br />
DB Server<br />
(10.0.5.99/255.0.0.0)</p>
<p>1. OpenVPN server (installed on centos linux) installed on FIREWALL.<br />
   How can i config?<br />
2. OpenVPN server ((installed on centos linux)) installed  on other computer in private LAN (10.0.5.90/255.0.0.0).<br />
   How can i config?<br />
(OpenVPN client on Windows XPSP2)<br />
So How can i config server.conf file on OpenVPN server ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

