Set Windows 10 TAP adaptor to private network
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVPN User
- Posts: 29
- Joined: Sun Mar 02, 2014 1:25 pm
Set Windows 10 TAP adaptor to private network
Hi,
I've just deployed OpenVPN on a Win10 box to my aged mother who previously had an XP box. In Win10 the box does not want to respond to pings through the VPN or even on the LAN. I can fix the LAN by allowing the relevant firewall rule for private networks. Unfortunately the Windows TAP adaptor is defined as an Unknown network and I can't find out how to set it to a Private network. For the moment I've set a firewall rule to allow everything from the OpenVPN subnet, but I'd rather disable the rule and just classify the OpenVPN subnet as private.
Is this possible, and, if so, how?
TIA,
Nick
I've just deployed OpenVPN on a Win10 box to my aged mother who previously had an XP box. In Win10 the box does not want to respond to pings through the VPN or even on the LAN. I can fix the LAN by allowing the relevant firewall rule for private networks. Unfortunately the Windows TAP adaptor is defined as an Unknown network and I can't find out how to set it to a Private network. For the moment I've set a firewall rule to allow everything from the OpenVPN subnet, but I'd rather disable the rule and just classify the OpenVPN subnet as private.
Is this possible, and, if so, how?
TIA,
Nick
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Set Windows 10 TAP adaptor to private network
This is exactly what I do ..nickh wrote:For the moment I've set a firewall rule to allow everything from the OpenVPN subnet
The problem is Windows .. It only allows you to classify a network as private if it has an associated default gateway (i think .. not 100% sure what windows is upto) and you cannot have two default gateways .. well you can but then things go very peculiar.nickh wrote:but I'd rather disable the rule and just classify the OpenVPN subnet as private
-
- OpenVPN User
- Posts: 29
- Joined: Sun Mar 02, 2014 1:25 pm
Re: Set Windows 10 TAP adaptor to private network
Pity. It would make configuration a lot more foolproof, and safer in the case that the roadwarrior happens to connect to a subnet which is the same as your server's LAN subnet. Then no traffic will go down the tunnel and the machine will be totally open to anyone on that subnet.
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Set Windows 10 TAP adaptor to private network
Considering the range of RFC1918 available subnets, a properly configured system is extremely unlikely to have such a conflict.
-
- OpenVPN User
- Posts: 29
- Joined: Sun Mar 02, 2014 1:25 pm
Re: Set Windows 10 TAP adaptor to private network
Agreed. That is why I've picked on something in the 172.16/12 range It is just that if Micro$oft allowed it, it could be made even safer.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Mon Jan 18, 2016 3:20 pm
Re: Set Windows 10 TAP adaptor to private network
Hi,
Having the same issue I was able to make the TAP adapter private by pushing a default gateway to it.
Now being able to ping from client to server and vice verse.
push "route-metric 512"
push "route 0.0.0.0 0.0.0.0"
Having the same issue I was able to make the TAP adapter private by pushing a default gateway to it.
Now being able to ping from client to server and vice verse.
push "route-metric 512"
push "route 0.0.0.0 0.0.0.0"
-
- OpenVpn Newbie
- Posts: 1
- Joined: Thu Dec 21, 2017 11:12 pm
Re: Set Windows 10 TAP adaptor to private network
into server config file or client config file?
-
- OpenVpn Newbie
- Posts: 6
- Joined: Tue Apr 17, 2018 2:52 pm
Re: Set Windows 10 TAP adaptor to private network
Hi,
I can made ping from server to client and vice versa but I can't see the shared Files ..
I disable the firewall for the TAP adapter in the client and the server.
Thanks ...
I can made ping from server to client and vice versa but I can't see the shared Files ..
I disable the firewall for the TAP adapter in the client and the server.
Thanks ...
-
- OpenVPN User
- Posts: 29
- Joined: Sun Mar 02, 2014 1:25 pm
Re: Set Windows 10 TAP adaptor to private network
Please make your own thread and give more information about your set up like operating systems and so on. Also how you are trying to "see" the files?
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Set Windows 10 TAP adaptor to private network
@nickh .. thanks for your help
This thread should be closed.
DavidJacobs wrote: ↑Mon Jan 18, 2016 3:35 pmHaving the same issue I was able to make the TAP adapter private by pushing a default gateway to it.
Now being able to ping from client to server and vice verse.
push "route-metric 512"
push "route 0.0.0.0 0.0.0.0"
You push from the server ..
This thread should be closed.