Jump to content
XPEnology Community

3rd party apps into application portal


jokerigno

Recommended Posts

Bello everybody,

 

I a new xpenology user with a dell poweredge.

 

Until today I've just tried to make it works but now I want to personalize it to satisfy my personal needs.

 

So that's the question:

 

How can I app 3rd party apps into the Application Portal so I can create different alias (I.e. for transmission, couchpotato and so on).

 

In fact I have a proxy at work that blocks most ports so this method doesn't work.

 

Thank you all

 

J

Link to comment
Share on other sites

Hi.

If you can access you xpenology server from internet then its pretty simple. Ive done this in few simple steps.

1. Create file for each 3rd party in directory /usr/local/etc/

2. Add include line for each in /etc/httpd/conf/httpd.conf

3. Restart httpd-user

 

Here is few examples how to redirect ports 80 and 443 to custom port:

 

1. Access thru subdomain and port 80

 LoadModule proxy_module modules/mod_proxy.so
 LoadModule proxy_connect_module modules/mod_proxy_connect.so
 LoadModule proxy_http_module modules/mod_proxy_http.so


ProxyRequests Off
ProxyPreserveHost On

#For Subdomain dsm
NameVirtualHost *:80


 ServerName 3rdPartySubdomain.xpenologyNASdomain

   Order allow,deny
   Allow from all


 ProxyPass / http://localserveraddress:port/
 ProxyPassReverse / http://localserveraddress:port/


 

2. Access thru subdomain and port 443 its https connection

 LoadModule proxy_module modules/mod_proxy.so
 LoadModule proxy_connect_module modules/mod_proxy_connect.so
 LoadModule proxy_http_module modules/mod_proxy_http.so


ProxyRequests Off
ProxyPreserveHost On

#For Subdomain dsm

NameVirtualHost *:443


 ServerName 3rdPartySubdomain.xpenologyNASdomain
 SSLCipherSuite HIGH:MEDIUM
 SSLProtocol all -SSLv2
 SSLCertificateFile /usr/syno/etc/ssl/ssl.crt/server.crt
 SSLCertificateKeyFile /usr/syno/etc/ssl/ssl.key/server.key
 SSLEngine On
 SSLProxyEngine On
 ProxyRequests Off
 ProxyVia Off

   Order allow,deny
   Allow from all


 ProxyPass / http://localserveraddress:port/
 ProxyPassReverse / http://localserveraddress:port/


 

3. Access thru subdomain and ports 80 or 443

 LoadModule proxy_module modules/mod_proxy.so
 LoadModule proxy_connect_module modules/mod_proxy_connect.so
 LoadModule proxy_http_module modules/mod_proxy_http.so


ProxyRequests Off
ProxyPreserveHost On

#For Subdomain dsm
NameVirtualHost *:80


 ServerName 3rdPartySubdomain.xpenologyNASdomain

   Redirect / https://3rdPartySubdomain.xpenologyNASdomain/



NameVirtualHost *:443


 ServerName 3rdPartySubdomain.xpenologyNASdomain
 SSLCipherSuite HIGH:MEDIUM
 SSLProtocol all -SSLv2
 SSLCertificateFile /usr/syno/etc/ssl/ssl.crt/server.crt
 SSLCertificateKeyFile /usr/syno/etc/ssl/ssl.key/server.key
 SSLEngine On
 SSLProxyEngine On
 ProxyRequests Off
 ProxyVia Off

   Order allow,deny
   Allow from all


 ProxyPass / http://localserveraddress:port/
 ProxyPassReverse / http://localserveraddress:port/


Link to comment
Share on other sites

×
×
  • Create New...