/interface sstp-server server set certificate=server
/interface sstp-server server set enabled=yes
/interface sstp-server server set authentication=mschap2
we open tcp and udp 443 port in nat and also we make command
/ip firewall filter
add action=accept chain=input dst-port=443 protocol=tcp comment=“Permit SSTP”
how do we solve the poblem?
how do we allow access in input chain?
You only need yo allow traffic to port 443 (or the port you set on /interface sstp-server server) in the input chain. Do not add a nat rule for the port.
Second, make sure you have disabled the www-ssl service on “/ip service” (or change the port at /ip service) so the port does not conflict with the one you set for SSTP.
Third, you can post the output of the following commands for us to check if the firewall rules are in the right order:
/ip firewall export hide-sensitive
/ip service export hide-sensitive
/interface sstp-server server export hide-sensitive
we made all changes
we recieved the following error when try connecting from internet to router
The certificate chain has been processed, but processing has been interrupted on the root certificate, which does not have a pre-trust relationship with the trust provider
Well, that’s because you are using a certificate created by yourself, not by a trusted entity. That’s not a router issue.
Maybe you can deal with the new issue by adding the CA certificate to your windows host.
Also the common-name or the alt-name should match the hostname you are using to connect to the WAN side. As I’ve seen in your other topic, you created the certificate only for your LAN address.
client certificate with ip of host in internet is added in trusted root of windows 10 for ip and all values is according your intruction
windows 10 from local ip 192.168.1.253 connect to router using vpn sstp
but from windows 10 from internet ip 91.13.2.14 we recieved error
The certificate chain has been processed, but processing has been interrupted on the root certificate, which does not have a pre-trust relationship with the trust provider
and do not connect
do i need to add to trusted root only server certificate myCa in every computer connected to router from internet
and do not add certificate with ip of each client computer to trusted root ?