Hi guys,
I have an Open VPN server on my router (running latest dd-wrt firmware)
I also have a home LAN that I need to connect to remotely. On this LAN I have 1 x Freenas machine and two Windows 8.1 machines.
All three machines contain Samba shares that are accessible within the LAN
My problem is when trying to access the windows shares via a remote OpenVPN client. The Freenas machine can be connected to no problem, however the SMB shares on both windows machines are not accessible unless the Firewall is switched off completely, at which point everything works perfectly.
I have made sure all the file and printer sharing ports are open in Windows firewall, however this doesn't seem to help.
Here's my client config;
client
dev tun
proto udp
remote craftyclown.ddns.net 1196
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert laptop.crt
key laptop.key
ns-cert-type server
cipher AES-128-CBC
comp-lzo
verb 4
float
and here's my server config;
keepalive 10 120
verb 3
mute 3
syslog
writepid /var/run/openvpnd.pid
management 127.0.0.1 14
management-log-cache 100
topology subnet
script-security 2
port 1196
proto udp
cipher aes-128-cbc
auth sha1
client-connect /tmp/openvpn/clcon.sh
client-disconnect /tmp/openvpn/cldiscon.sh
client-config-dir /tmp/openvpn/ccd
comp-lzo yes
tls-server
ifconfig-pool-persist /tmp/openvpn/ip-pool 86400
client-to-client
fast-io
tun-mtu 1500
mtu-disc yes
server 10.8.0.0 255.255.255.0
dev tun2
tun-ipv6
push "route 192.168.1.0 255.255.255.0"
push "dhcp-option DNS 8.8.8.8"
push "redirect-gateway def1"
server 10.8.0.0 255.255.255.0
dev tun2
proto udp
keepalive 10 120
dh /tmp/openvpn/dh.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem
management localhost 5001
verb 5
Is there something I need to be adding to my OpenVPN configs? Or is the problem here Windows firewall?
Cheers