I believe the problem is port forwarding, the exact error is: No connection could be made because the target machine actively refused it.
The problem is not certificate because it connects through LAN, i disabled firewall on both client and server and still can’t, i read on the internet that it happens because the machine exists but that it has no services listening on the specified port. But i connects through LAN so there is a service listening on that port, my conclusion is that there is a problem with my port forwarding, here is a print of what i did in the router. I can ping the public IP. I’m new to networking and would appreciate some help.
https://imgur.com/a/m94MS0O
The question is: what should i know to configure sstp vpn on windows server ? I did everything i could think of and the server just refuses.
On the external remote machine open powershell and run test network connection on the port.
tnc your.public.ip.here -port 443
Some ISP’s block 80/443 there is also probably a firewall built into your modem. Also, If your public IP starts with 100.64 to 100.127 it’s not a public IP.
Thank you for taking the time to help me out, i added this rule to the modem firewall (https://imgur.com/a/rWfKczG) and disabled windows firewall on both server and client, but when i do
tnc my.public.ip.here -port 443, it returns: TCP connect to (my.public.ip.here : 443) failed
Dumb question: chatGPT told me to get my public ip with (Invoke-WebRequest -Uri “http://api.ipify.org”).Content, is this the ip i should be using for testing with tnc and the one i should put as server address when connecting the VPN in windows configuration ? The Remote Access page on Server Manager has a bunch of IPv4 Addresses starting with 169