Hi guys, so Ive setup an OpenVPN server and all clients can connect okay, no errors 🙂
In a clients file browser, you cannot access windows shares or ping IP addresses of any machine but the router (192.168.0.1) and the VPN server (192.168.0.10). Clients cannot access the servers shared files either. I had this working on a windows 7 server but now have upgraded to windows 8 (hopefully following the same steps)
Router firewall is disabled completely for the server.
Firewall for the windows machine has been setup on port 443
Routes in the router setup are working or the clients would not be able to connect.
Any help would be greatly appreciated.
### SERVER CONFIG FILE ###
local 192.168.0.10
port 443
proto udp
mssfix 1400
push "dhcp-option DNS 192.168.0.1"
push "dhcp-option WINS 192.168.0.1"
dev tun
#push "dhcp-option DNS 196.220.59.188" #### CHANGE. This is the DNS supplied by your ISP, can be found in the router setup
#push "dhcp-option DNS 196.220.59.189" #### CHANGE (OPTIONAL). A second DNS server supplied by your ISP
ca "C://Program Files//OpenVPN//easy-rsa//keys//ca.crt"
cert "C://Program Files//OpenVPN//easy-rsa//keys//server.crt"
key "C://Program Files//OpenVPN//easy-rsa//keys//server.key"
dh "C://Program Files//OpenVPN//easy-rsa//keys//dh2048.pem"
crl-verify "C://Program Files//OpenVPN//easy-rsa//keys//crl.pem"
tls-auth ta.key 0
server 192.168.10.0 255.255.255.128
keepalive 10 120
cipher AES-128-CBC
comp-lzo
max-clients 20
persist-key
persist-tun
status statuslogs.log
verb 1
### CLIENT CONFIG FILE ###
client
dev tun
proto udp
remote (IP ADDRESS) 443
route 192.168.0.0 255.255.255.0 vpn_gateway 3
resolv-retry infinite
nobind
persist-key
persist-tun
ca "ca.crt"
cert "client.crt"
key "client.key"
tls-auth ta.key 1
ns-cert-type server
cipher AES-128-CBC
comp-lzo
verb 1