Hey,
I think this topic should be an auto-generated weekly topic, cause I foresee that I will have many WTF moments.
As an I.T generalist, I know a bit of everything, and VPN is the area where i wish I would know more, so without any further delay, here is the scenario.
I wish to create simple VPN connection/server using Windows technology for Windows laptops outside of the work office, and mostly everybody runs Windows 7.
Also note in that office, its Class C subnet with 30 users, so were working on the standard
192.168.1.x
Private IPs
The DHCP is provided by the main ISP router/modem (And I prefer to keep it that way)
My server is vm running 2008R2, and I added routing and remote access role only, and configured NPS policy for VPN profile connections.
And for the life of me I am unable to connect to the VPN successfully unless I specific manually to specific the IP address.
Which is stupid way of solving it, cause I have to configure the DHCP on the main router and limit it to stop giving addresses from 192.168.1.2 till 192.168.1.199 which is easy step, but its stupid cause even if that way it works 100% cause lets say for example my home is configured with
192.168.0.x subnet, that means I can connect to the work NAS at office which have the IP of 192.168.1.200
works GREAT, but what if a site that has subnet of 192.168.1.x already utilized it works and I can successful connect to the VPN but IP issues arise, for example if 192.168.1.200 is already utilized in my home I wont be able to connect the office NAS.
The only way to get it working currently it so change the subnet of the work office for something weird like 192.168.55.x this way I can grantee that VPN users will get an IP of 192.168.55.201 and it will work cause its very uncommon that any household ISP vendor private IP gives the users anything other than:
192.168.1.x or 192.168.0.x or 192.168.8.x where I live
And is the above VERY uneducated POOR MAN VPN have name ? and did you ever see people use it in VPN which is allocate subnets manually and change the subnet of the work reasonable solution ?
Hence the question why DHCP is not working , I KNOW I AM DOING SOMETHING TERRIBLY WRONG BUT WHAT IS IT, can you guess and win the price of slapping me with it ?!?
I tried ticking DHCP IPV4 Assignment but afterwards the VPN does not work and cant connect with an error 720
I tried adding another virtual adapter and plaything with that and then bridging it - didnt work
I tried playing with DHCP relay agent setting - added IP of router - Added new interface of LAN didnt work
I tried adding DHCP role in the server - didnt know what I was doing thus didnt work
More screenshots to help you out:
Thanks for reading this and helping me in advance.