No LAN or Internet access after server update to Windows 10 build 1803

This forum is for admins who are looking to build or expand their OpenVPN setup.

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.
Post Reply
Bob1976
OpenVpn Newbie
Posts: 3
Joined: Thu May 24, 2018 7:56 am

No LAN or Internet access after server update to Windows 10 build 1803

Post by Bob1976 » Thu May 24, 2018 9:06 am

Hello,

I'n new here so I'm trying my best to follow the rules ;)

I have a problem with accesing my LAN and Internet. I recently updated my server pc to Windows 10 build 1803 (before I used build 1511 and it all worked fine).

The problem is as follows:
I can access the server (localhost) from the clients. I can ping the localhost (10.8.0.1) and I can also ping the LAN ipadress of my server (192.168.42.18). But I can't acces or ping the LAN behind the server or access the internet.

This is how my server and client settings look:
SERVER

port 1195
proto tcp4
dev tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key"
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 10.8.0.1 255.255.255.255"
push "route 10.8.0.0 255.255.255.0"
push "route 192.168.42.0 255.255.255.0"
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 192.168.42.1"
push "dhcp-option DNS 8.8.8.8"
client-to-client
keepalive 10 120
cipher AES-256-CBC # AES
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3


CLIENT

client
dev tun
proto tcp
remote xxxxxxxxxxxxx 1195
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
remote-cert-tls server
cipher AES-256-CBC
comp-lzo
verb 3


Here's what I've tried to resolve the problem"
- Set the "check" on the LAN networkadapter "Internet sharing"
- Set the registerkey "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\IpEnableRouter" to "1".
- Set the service "Routing and Remote acces" to "Automatic"
- Checked all the firewall settings (can't find anything wrong)
- Checked to ping the localhost and LAN ipadress of the server (both can be pinged)

I don't know what else to do, so please help me :roll: ;)

Greeting Bob.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: No LAN or Internet access after server update to Windows 10 build 1803

Post by TinCanTech » Thu May 24, 2018 10:57 am

Bob1976 wrote:
Thu May 24, 2018 9:06 am
Checked all the firewall settings (can't find anything wrong)
Try disabling the firewall and try again.

Here we have some examples (see bebops posts):
viewforum.php?f=7

Bob1976
OpenVpn Newbie
Posts: 3
Joined: Thu May 24, 2018 7:56 am

Re: No LAN or Internet access after server update to Windows 10 build 1803

Post by Bob1976 » Thu May 24, 2018 5:27 pm

Hello TinCanTech,

I've completely disabled all the firewalls and also the virusscanner.... with no result...

I've also set all the settings Bebop sugested (and more) everything that is mentioned here:
https://gist.github.com/ViRb3/98c7cbb0b ... 725eeef279

The only thing I can't do is setting a static route in my router... could that be the problem?

The strange thing is that it all worked fine with Windows 10 build 1511...

Do you have any other sugestions? ;)

greetings Bob

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: No LAN or Internet access after server update to Windows 10 build 1803

Post by TinCanTech » Thu May 24, 2018 5:53 pm

Bob1976 wrote:
Thu May 24, 2018 5:27 pm
The only thing I can't do is setting a static route in my router... could that be the problem?
The guide you linked to requires the static route.

There is another step you can try:
https://community.openvpn.net/openvpn/wiki/NatHack
https://community.openvpn.net/openvpn/w ... indows2008

Those guides are a bit old but you may be able to twist them to use with W10
Bob1976 wrote:
Thu May 24, 2018 5:27 pm
The strange thing is that it all worked fine with Windows 10 build 1511
Yeah .. ask Microsoft because I have no idea about that.

The last update I did to W10 was over 1GB .. I don't see how they can even call it Windows any more ..

bbuckm
OpenVPN User
Posts: 39
Joined: Thu Apr 26, 2018 2:45 pm

Re: No LAN or Internet access after server update to Windows 10 build 1803

Post by bbuckm » Sat May 26, 2018 8:35 am

Bob1976 wrote:
Thu May 24, 2018 9:06 am
I recently updated my server pc to Windows 10 build 1803 (before I used build 1511 and it all worked fine).
What about the client? Does it make any difference what kind of device you use as a client?

Bob1976
OpenVpn Newbie
Posts: 3
Joined: Thu May 24, 2018 7:56 am

Re: No LAN or Internet access after server update to Windows 10 build 1803

Post by Bob1976 » Sat May 26, 2018 11:41 am

Hi bbuckm,

No that doesn't make a difference...

@TinCanTech:
I've spent the whole evening trying to get it to work, but no succes... Therefor i have decided to move the server to my Raspberry Pi! Installed it this morning with ease, it's running without a problem now!

So, thanks for all the help, but i just couldn't get it to work under windows 10...

Greetings, Bob.

Post Reply