Community discussions

MikroTik App
 
spotts78
newbie
Topic Author
Posts: 31
Joined: Thu Dec 03, 2009 5:59 pm
Location: Greensboro, NC - USA

SSTP and HTTPS

Wed Feb 01, 2012 4:02 pm

I've got SSTP VPN server running on ros5.11, been working fine for months now. Question is can I run a webserver behind the router which also uses TCP port 443? They want to fight each other.

Here are my firewall/NAT rules:
20 ;;; Allow SSL to webserver
chain=forward action=accept protocol=tcp in-interface=ether1-WAN1 dst-port=443
27 ;;; Allow SSTP VPN
chain=input action=accept protocol=tcp in-interface=ether1-WAN1 dst-port=443


;;; SSL to webserver
chain=dstnat action=dst-nat to-addresses=192.168.1.2 to-ports=443 protocol=tcp in-interface=ether1-WAN1 dst-port=443
 
Begetan
Frequent Visitor
Frequent Visitor
Posts: 97
Joined: Mon Jul 11, 2011 11:49 am

Re: SSTP and HTTPS

Thu Feb 02, 2012 9:54 pm

Move SSTP server to other port, for example 444
 
spotts78
newbie
Topic Author
Posts: 31
Joined: Thu Dec 03, 2009 5:59 pm
Location: Greensboro, NC - USA

Re: SSTP and HTTPS

Thu Feb 02, 2012 11:03 pm

Can't do that the SSTP client software is "hard-coded" to run through port 443.
 
User avatar
stmx38
Long time Member
Long time Member
Posts: 617
Joined: Thu Feb 14, 2008 4:03 pm
Location: Moldova, Chisinau

Re: SSTP and HTTPS

Thu Feb 02, 2012 11:53 pm

spotts78
Get the second IP from ISP.
 
spotts78
newbie
Topic Author
Posts: 31
Joined: Thu Dec 03, 2009 5:59 pm
Location: Greensboro, NC - USA

Re: SSTP and HTTPS

Fri Feb 03, 2012 2:05 pm

Getting another IP from my ISP isn't really an option. Guess I'm just stuck...
 
Stril
Member Candidate
Member Candidate
Posts: 200
Joined: Fri Nov 12, 2010 7:18 pm

Re: SSTP and HTTPS

Sat Feb 04, 2012 8:04 pm

Hi!

That`s a problem by design. You can't assign a port to two applications on on IP.

Stril
 
spotts78
newbie
Topic Author
Posts: 31
Joined: Thu Dec 03, 2009 5:59 pm
Location: Greensboro, NC - USA

Re: SSTP and HTTPS

Sat Feb 04, 2012 9:34 pm

I'm stupid!

Changed to SSTP listening port in mikrotik to 4430 then in the VPN setup on Windows 7 you can specify a port number in the server address ex: vpnserver.domain.com:4430

Works fine now. Thanks for all the responses and making me think! :D
 
User avatar
lnredivo
just joined
Posts: 19
Joined: Wed Sep 23, 2015 6:28 pm
Location: Brazil
Contact:

Re: SSTP and HTTPS

Wed Oct 12, 2016 1:46 am

Move SSTP server to other port, for example 444
If I change the port in the SSTP server, the contents will continue encrypted?
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: SSTP and HTTPS

Thu Oct 20, 2016 3:22 pm

Encryption does not rely on the port number.

Who is online

Users browsing this forum: fadelliz78, ianjay06, infabo, kokoboko, mongobongo, mquan1984 and 92 guests