I can’t seem to figure this out. Can someone check over the code and let me know if there’s any mistakes. I can establish an authenticated connection but thats about it. My client computer is not receiving an ip from the DHCP server on the pptp-server router.
The network topology is this:
LAN > pptp-server router > WAN modem > Internet cloud > WAN modem > pptp-client router > LAN
The LAN is 192.168.40.0/24
Scratch that. I found another issue and need some help. It seems that some traffic is being blocked from the the Internet or being redirected but not all. For example netflix is working but web browsing doesn’t or a game on a phone doesn’t work when connected to that lan but works when connected outside that network. Thanks for your thoughts!
Possible, problem is in max MTU and MSS. When tunnel is established, all packets betwwen networks are incapsulated into tunnel IP packets. When one tunnel created inside other (Eoip inside PPtP) - encapsulation occurs twice.
Try to decelerate MTU and set TCP-MSS to MTU-40 on a border routers firewall.
The problems were were on the side connecting to the internet which is also the dhcp server and pptp server. On the client side there were no problems. I will try your solution but wanted to run this by you first.