how to set sstp local port?

hi , i have chr in client and server side
in server enable port 443 and client connected to 443 port , but client side in torch show 53255 in source port to 443 destination ,
how to fix this ?

That’s how TCP normally works - server side has a fixed (“well-known”) port, and client side chooses a port randomly from a pool. Why do you need to affect that?

blocked by isp in iran , when set local port in client side working

If so, use action=src-nat (or action=masquerade) rules at the client with to-ports parameter, matching on dst-address=ip.of.sstp.server dst-port=port-of-sstp.server before the general src-nat/masquerade rule.

client side is not mikrotik
android and Windows



I don’t know any way to change the client port on either Android or Windows, except writing your own application. And with your own application, you could even use your own VPN protocol.

so ,how u expect someone to help u?