DSM on port 80/443

Questions pertaining to Power settings, Auto Block, Permissions, User Quotas and Email alerts may be posted here.
Forum rules
We've moved! Head over to Synology Community (community.synology.com) to meet up with our team and other Synology enthusiasts!
nicko_mv
Student
Student
Posts: 69
Joined: Wed Mar 07, 2012 10:27 am

DSM on port 80/443

Unread post by nicko_mv » Sun Apr 29, 2012 1:04 pm

Hi,

Is it possible to get the DSM/audio station/File Station etc working on port 80/443? Im not using web services at all, and even after deactivating DSM wont let me change the ports to port 80/443 ('Reserved for system use')

I would prefer to not have to do the internal/external router port mapping trick - and rather have it as port 80/443 internal and external.

Thanks

User avatar
myCloud
Skilled
Skilled
Posts: 648
Joined: Fri Mar 23, 2012 11:28 am

Re: DSM on port 80/443

Unread post by myCloud » Sun Apr 29, 2012 2:15 pm

nicko_mv wrote:I would prefer to not have to do the internal/external router port mapping trick - and rather have it as port 80/443 internal and external.
You'd still have to map ports 80 and 443 on the router external interface to their respective ports on the DiskStation.
DS 1512+ w/3GB, 5 x 3TB Seagate ST3000DM001 8.2TB RAID 6, half files/half Time Machine.
Icy Dock MB559U3S-1SB enclosure w/4TB Hitachi UltraStar via USB 3 for files backup
UVERSE to AirPort Extreme + 2 AirPort Express w/speakers. TRENDnet TV-IP312WN camera
CyberPower CP1500PFCLCD Sine Wave UPS
DSM 4.1-2661 w/SSH + SFTP, VPN Server, Syslog Server, Media Server, Mail Server, Mail Station,
Audio Station, Surveillance Station, Photo Station, Web Station - DS Apps on iPad & iPod Touch.

nicko_mv
Student
Student
Posts: 69
Joined: Wed Mar 07, 2012 10:27 am

Re: DSM on port 80/443

Unread post by nicko_mv » Sun Apr 29, 2012 2:17 pm

Sorry- I meant I don't want the solution involving mapping ext port 80/443 to int port 5000/5001 - just direct mappings- if that make sense?

User avatar
myCloud
Skilled
Skilled
Posts: 648
Joined: Fri Mar 23, 2012 11:28 am

Re: DSM on port 80/443

Unread post by myCloud » Sun Apr 29, 2012 3:19 pm

If you want your DiskStation to work trouble-free, just port forward:
5000 (http) and 5001 (https) for DSM and Audio Station,
5005 (http) and 5006 (https) for CalDAV and WebDAV (needed for DSfile)
7000 (http) and 7001 (https) for File Station
80 (http) and 443 (https) for Web Station and PhotoStation
Go to Control Panel -> DSM Settings -> HTTP Service and check:
- Enable HTTPS connection
- Automatically redirect...
Go to Control-Panel -> Application Portal and ensure "audio" is set up
DS 1512+ w/3GB, 5 x 3TB Seagate ST3000DM001 8.2TB RAID 6, half files/half Time Machine.
Icy Dock MB559U3S-1SB enclosure w/4TB Hitachi UltraStar via USB 3 for files backup
UVERSE to AirPort Extreme + 2 AirPort Express w/speakers. TRENDnet TV-IP312WN camera
CyberPower CP1500PFCLCD Sine Wave UPS
DSM 4.1-2661 w/SSH + SFTP, VPN Server, Syslog Server, Media Server, Mail Server, Mail Station,
Audio Station, Surveillance Station, Photo Station, Web Station - DS Apps on iPad & iPod Touch.

nicko_mv
Student
Student
Posts: 69
Joined: Wed Mar 07, 2012 10:27 am

Re: DSM on port 80/443

Unread post by nicko_mv » Sun Apr 29, 2012 3:22 pm

Thanks for your reply.
Thats what I currently do, however I would rather just have DSM and Audio Station all running over port 80/443. I dont use web station at all.

Reason is that some locations I can't access these ports (Uni, airports, etc), and dont want to do any VPN/Router port mapping trickery - just prefer the DSM to run on 80/443. ANyone got any ideas on how to achieve this?

phillips321
Novice
Novice
Posts: 42
Joined: Wed May 04, 2011 10:41 am

Re: DSM on port 80/443

Unread post by phillips321 » Tue Sep 25, 2012 6:41 pm

I'd like to do this as well, did you ever figure it out other than to port forward 5000-->80 and 5001-->443?

I'd like to hit 80/443 both internal and external aswell.

nicko_mv
Student
Student
Posts: 69
Joined: Wed Mar 07, 2012 10:27 am

Re: DSM on port 80/443

Unread post by nicko_mv » Tue Sep 25, 2012 7:02 pm

Nope - never figured it out :(

jiiim
Trainee
Trainee
Posts: 14
Joined: Mon Mar 26, 2012 10:23 am

Re: DSM on port 80/443

Unread post by jiiim » Mon Oct 22, 2012 1:10 pm

+1

stian89
Trainee
Trainee
Posts: 17
Joined: Wed Feb 15, 2012 5:21 pm

Re: DSM on port 80/443

Unread post by stian89 » Tue Oct 23, 2012 2:59 pm

Would be awesome to be able to do this!

User avatar
mhk
Trainee
Trainee
Posts: 16
Joined: Sun Nov 18, 2012 10:05 am

Re: DSM on port 80/443

Unread post by mhk » Sun Jan 13, 2013 10:20 am

Hello,

I tried in telnet (Unix shell) to find all the 5000's:
find / -name "*.conf" -exec grep 5000 {} \; -print
and got:
admin_port="5000"
/etc.defaults/synoinfo.conf
log_fifo_size(50000)
log_fifo_size(50000)
/usr/syno/etc/synosyslogserver/syslog.d/syno.conf
admin_port="5000"
/etc/synoinfo.conf


So I altered the 5000 to 80 in /etc/synoinfo.conf... to see if that does the trick.
Just to make sure I it didn't interfere with the web-service, I changed all the 80's in 88's in
/usr/syno/apache/conf/* (httpd.conf, httpd.conf-user and httpd.conf-sys)

Now it does exactly what you want...

CU,
MHK

johnh
I'm New!
I'm New!
Posts: 4
Joined: Sun Oct 02, 2011 6:10 pm

DSM over port 80/443

Unread post by johnh » Tue Jan 22, 2013 2:03 am

I'm trying to get DSM to work over port 80 or port 443 (so I can access from work where port 5000 is blocked).

I first tried re routing port 80 to port 500 in my router but this just seems to forward the url to port 5000 and indeed changes the URL to show this. I was expecting a stealth change so the port still showed as 80 externally but was sent over port 5000 internally. I've concluded this will not work, at least with my belkin router.

Next I tried this solution http://forum.synology.com/enu/viewtopic ... 19&t=50796 and it has worked for all internal connections but external connections via ddns are forwarded to port 5000.

Any suggestions?

Thanks

johnh
I'm New!
I'm New!
Posts: 4
Joined: Sun Oct 02, 2011 6:10 pm

Re: DSM on port 80/443

Unread post by johnh » Tue Jan 22, 2013 2:04 pm

After a reboot this solution worked as expected.

Thanks

carloreg
I'm New!
I'm New!
Posts: 1
Joined: Sun Oct 26, 2014 2:09 pm

Re: DSM on port 80/443

Unread post by carloreg » Sat Mar 14, 2015 3:24 pm

mhk wrote:Hello,

I tried in telnet (Unix shell) to find all the 5000's:
find / -name "*.conf" -exec grep 5000 {} \; -print
and got:
admin_port="5000"
/etc.defaults/synoinfo.conf
log_fifo_size(50000)
log_fifo_size(50000)
/usr/syno/etc/synosyslogserver/syslog.d/syno.conf
admin_port="5000"
/etc/synoinfo.conf


So I altered the 5000 to 80 in /etc/synoinfo.conf... to see if that does the trick.
Just to make sure I it didn't interfere with the web-service, I changed all the 80's in 88's in
/usr/syno/apache/conf/* (httpd.conf, httpd.conf-user and httpd.conf-sys)

Now it does exactly what you want...

CU,
MHK
Dear Mike
I have to to this 'cause i'm behind double NAT and can't forward the port... I can reach the NAS only with an ipv6 tunnel redirection but the only port i can access is 80
so for me is most important to access to dsm then the photo or audio....
but I don't understand how to do it... can you explain me (noobie) more in detail?
thanks a lot!!! :D :D :D

carlo

marczyn
Trainee
Trainee
Posts: 12
Joined: Tue Sep 15, 2009 5:10 pm

Re: DSM on port 80/443

Unread post by marczyn » Thu Sep 01, 2016 12:04 pm

Hi All,

Everything works fine for me except Photo Station.

So, I can reach DSM, audio, file, video over port 443:
DSM: https://synology_IP
FIle: https://synology_IP/file
Audio: https://synology_IP/audio
Video: https://synology_IP/video

However, I cannot reach https://synology_IP/photo

Any advice appreciated..

tehmilcho
I'm New!
I'm New!
Posts: 7
Joined: Wed Nov 23, 2016 10:56 am

Re: DSM on port 80/443

Unread post by tehmilcho » Wed Nov 23, 2016 11:12 am

Hi there,

i had the same Problem but with DMS 6.0 its pritty Easy to get it. Without "hacks" or "Port changes"


Guide:

1. Got a DyDNS Adress (Noip or what ever)

2. On the NAS go to Network Settings -> DMS - Settings
- type your DYDNS Domain under "Domain"
- you DONT need to change the Port

3 Go to App-Center (in German "Anwendungsportal")
- Setup a Aliasname for every App
- DONT Change the Port

4. Go to "QuickConnect"
-> "Advanced"- TAB -> Disable everything without "Mobile"

5. Go to "Security" -> "certificate"
- Add a Letz Encrypt certificate (just follow the Setup

5. Go to "external Access" Add your DYNDNS Adress

6. Set up your Portmapping in your Router for Port 80 and 443

Thats it.. if you want you can set the option to redirect everthing to SSL (443)

If you have a other Device like a Raspberry with a Webapp on it .. go to "App-Center" -> Reverse Proxy ->
if you enalbed only SSL set as "source" -> "https" -> "port" = 443 "hostname" = a Subdomain from your DynDNS or a new one (with a new one you need a 2nd certificate) and
set destination to the lokal Hostname and Port. Thats it ;-)

Locked

Return to “System Management”