I have an ubuntu openvpn server and a few windows clients. Clients access internet through NAT. Clients always get the same ip address so only one client can use the server. Here are configs:
server 10.7.7.0 255.255.255.0
port 443
push "redirect-gateway"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
dev tun0
proto tcp
keepalive 10 120
comp-lzo
dh /etc/openvpn/dh1024.pem
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
max-clients 10
status /var/log/openvpn-status.log
log-append /var/log/openvpn.log
verb 3
client
dev tun
proto tcp
remote viking-studio.com 443
resolv-retry infinite
nobind
persist-key
persist-tun
ca viking_ca.crt
cert viking.crt
key viking.key
comp-lzo
verb 3