Server.conf
port 1194
proto udp
tmp-dir /tmp
dev tun
ca keys/ca.crt
cert keys/server.crt
key keys/server.key # This file should be kept secret
dh keys/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
log-append openvpn.log
verb 9
plugin /usr/lib/openvpn/radiusplugin.so /etc/openvpn/radiusplugin.cnf
client-cert-not-required
ifconfig
eth0 Link encap:Ethernet HWaddr 00:0c:29:cb:bf:29
inet addr:9.9.9.0 Bcast:9.9.9.255 Mask:255.255.255.0
inet6 addr: xxxxxxxxxxxxxxxxxxxxxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6288635 errors:0 dropped:10 overruns:0 frame:0
TX packets:6291301 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:838773319 (838.7 MB) TX bytes:960291577 (960.2 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:14365 errors:0 dropped:0 overruns:0 frame:0
TX packets:14365 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:714342 (714.3 KB) TX bytes:714342 (714.3 KB)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.0.1 P-t-P:10.8.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:263244 errors:0 dropped:0 overruns:0 frame:0
TX packets:326738 errors:0 dropped:3840 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:36670906 (36.6 MB) TX bytes:373460178 (373.4 MB)