TinCanTech wroteCraftyClown wroteI just want to understand why this Firewall issue is only present when accessing the shares via OpenVPN
This is due to the source IP of packets from the VPN
not being in the same subnet as the Windows machine.
Probably like this:
- Windows 10 IP subnet : 192.168.0.0/24
- VPN subnet : 10.8.0.0/24
So, Windows firewall blocks these packets .. unless you add a rule to the firewall to allow them.
CraftyClown wroteand whether there is an adjustment I can maybe make server side to prevent it?
You can also use
iptables NAT on the server .. documented here:
HOWTO: Routing all client traffic (including web-traffic) through the VPN
Thanks TinCanTech,
That certainly makes sense.
I looked at the link you provided and added this line to the OpenVPN config: push "redirect-gateway def1"
Not sure if I understood that right though, as it has made no difference
Alternatively, what would I need to do to the Windows Firewall, to allow the packets that way?
Apologies if these are stupid questions
Thanks again
Rich