All pastes #332341 Raw Edit

Stuff

public text v1 · immutable
#332341 ·published 2007-01-29 22:35 UTC
rendered paste body
#local 10.6.6.1
port 1194
proto udp
dev tap0
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key  # This file should be kept secret
dh /etc/openvpn/easy-rsa/keys/dh1024.pem

#this will assign connecting clients address between the range of 100 and 150
server-bridge 10.6.6.1 255.255.255.0 10.6.6.100 10.6.6.150

#this will allow for people to get the same IP address after a reconnect
ifconfig-pool-persist /etc/openvpn/ipp.txt

push "route 10.6.6.0 255.255.255.0"

#change this to your companies DNS server or omit it entirely
#push "dhcp-option DNS 192.168.20.240"
keepalive 10 120
comp-lzo
max-clients 7
user nobody
group nobody
persist-key
persist-tun
status /tmp/openvpn-status.log
log-append  /var/log/openvpn.log
verb 4