what is the server parameter

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
pinguim007
OpenVPN User
Posts: 48
Joined: Sun Oct 03, 2010 4:55 pm

what is the server parameter

Post by pinguim007 » Sat Nov 27, 2010 1:02 am

hello,
I am trying to set a easy-rsa vpn

my configuration is
port 1194
proto udp
dev tun
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/debian1.crt
key /etc/openvpn/easy-rsa/2.0/keys/debian1.key # This file should be kept secret
dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
server 192.168.200.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.10.0 255.255.255.0"
push "redirect-gateway"
push "dhcp-option DNS 192.168.200.1"
keepalive 10 120
comp-lzo
max-clients 100
user nobody
persist-key
persist-tun
status /var/log/openvpn-status.log
log /var/log/openvpn.log
log-append /var/log/openvpn.log
verb 6
crl-verify crl.pem
this configuration I took from web

the problem is do not know what th server parameter means...
and what is the push route "192.168.10.0 255.255.255.0"

the 192.168.10.0 is my network or the network it is going to use on a virtual network?
and the server parameter?

can somebody help?

george
Forum Team
Posts: 117
Joined: Tue Jun 09, 2009 4:25 pm
Location: St. Louis, MO USA

Re: what is the server parameter

Post by george » Mon Nov 29, 2010 6:54 pm

The server parameter sets the VPN subnet

The push route statements provide VPN clients knowledge of your LANs that are behind the VPN server.

Post Reply