Jump to content

Recommended Posts

Posted

Hi everyone.

 

I have been configuring Always On VPN and have run into a problem that I cannot solve. The device tunnel connects successfully, the client picks up an IP from the DHCP server.

NSLookup > FQDN times out with Server: UnKnown and then the correct IP address of the DNS server. I can't ping anything

 

Much googling led me to think it is a routing problem. I know nothing about routes whatsoever.

 

In my DeviceProfile.xml file I have the following:

 

10.42.*.*
<<<

32

 

Once connected, the client's route table shows nothing like what I have set above.

 

Any help would be appreciated.

Posted

In my XML I have the IP address set as 10.42.x.0 (where the x is the subnet of that server) with 32 as the prefix. I then have another route for another range I use.

 

Bear in mind that you need to clear the profile once it has been set on the client - it doesn't update or overwrite a previous configuration.

 

Remove-VpnConnection -AllUserConnection -Name "AoVPN_profile" (where that's the configured name of your profile).

Posted

I do remove and then recreate the connection each time I make a change.

I have just tried changing the address to 10.42.*.0 but that has not fixed it. thanks for the suggestion.

 

The VPN server is domain joined so should already have its own route back to the DC. Perhaps I'm looking in the wrong direction.

Posted
Did you put it as e.g. 10.42.6.0 (not a wildcard)? My routes don't have any wildcards in them. Not sure this is the cause of your issues - but can only relate what I have and it works here.
Posted
Not a wildcard, in the profile I use the actual IP address, I was just masking my internal IP's on the interwebs in case I wake up to find my network encrypted by naughty people :)
Posted

This might be something to do with it.

 

RRAS nics.png

 

I'm using a single NIC, our Sophos XG is passing traffic from the external IP to the internal IP of the VPN server. Note that the lowest interface called Internal has the correct IP address whereas the highlighted interface is also called Internal and has a DHCP assigned IP address. I would have thought only one of these should be showing?

Posted
I have the same, loopback and a static internal as well as a DHCP internal. I have an external too as that was the guide I followed. The actual server, in Control Panel, only shows one internal and one external NIC.
  • Thanks 1
Posted

I think I'm having the same problem as this guy.

 

single nic.png

 

On my client I have a route to the external IP of the VPN server, the gateway of this route is a 192.168.*.* address that my hotspot is providing. There is also an entry that shows the IP address received from DHCP with an On-Link gateway.

On the VPN server I have a route to my entire internal IP range.

 

I'm very confused.

Posted

Try adding the following persistent routes

 

route -p ADD 10.0.0.0 MASK 255.0.0.0 (10.42.92.2 or whichever is your internal NIC gateway)

 

route -p ADD 192.168 .0.0 MASK 255.0.0.0 (10.42.92.2 or whichever is your internal NIC gateway)

 

 

route -p ADD 172.16.0.0 MASK 255.0.0.0 (10.42.92.2 or whichever is your internal NIC gateway)

Posted

can you post your XMl config.

 

Do you have two adapters one for external and one for internal?

 

your are using DT only?

 

Is the DT connecting fine?

 

what can you ping?

Posted

I'm using a single NIC. Our Sophos XG is passing everything from the external IP to the internal VPN server IP

Both DT and UT connect successfully. I'm testing it with DT at the moment as I'm most interested in getting DT working for remote admin access

I can ping the internet but nothing internal, I'm getting an IP from DHCP but no DNS (both are on the same DC)

 

xml_LI.jpg

 

In the xml file I have masked trustednetworkdetection (FQDN), domainName (also FQDN) and Servers (which is the external IP of the XG)

Posted
you have one route specified and that too its incorrect. 10.42.92.0/32 (10.42.92.0 is not a valid IP . With a /32 subnet you need to provide an actual ip for example. 10.42.92.20
Posted

I changed that incorrect route to the internal IP of the DC and recreated the connection. Still no change.

Trying to find information about a single NIC config is nigh on impossible. As the vpn is single NIC I have set a static IP and included a gateway and DNS. Could that be causing the issue?

Posted

single nic is supported with rras. try with route 10.0.0.0/8 to include your entire range and redeploy the profile.

 

you can check with powershell on the client to show route if the route is added.

 

You do not need to deploy a User tunnel unless you plan on using NRPT.

Posted
ah, I added that last route, recreated the profile, reconnected the DT but the route isn't showing in the table. The client wouldn't need a reboot would it?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...