Kood: |
# Which device
dev tun
# fast-io
proto udp
persist-tun
persist-key
server 10.8.0.0 255.255.255.0
management 127.0.0.1 7505
management-query-passwords *****
float
username-as-common-name
client-config-dir ccd
client-to-client
client-cert-not-required
#push "redirect-gateway def1"
#push "redirect-gateway 10.8.0.1"
#push "dhcp-option NTP 10.8.0.1"
#push "dhcp-option DOMAIN lan"
push "dhcp-option DNS 10.8.0.1"
ping-timer-rem
keepalive 10 100
# Use compression
comp-lzo
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key
dh /etc/openvpn/keys/dh1024.pem
plugin /etc/openvpn/radiusplugin.so /etc/openvpn/radiusplugin.cnf
status penvpn-status.log
log openvpn.log
log-append openvpn.log
verb 3
mute 10
## SOME TESTING STUFF
mssfix 1200
fragment 1400
|