Hello !
First of all : This is my first post in this forum, sorry for my poor english ... i'm french and try to do the best : thanks !
I have installed FreeNAS 9.2 easily, it works well from my home and my work.
I installed the plugin owncloud and it work well from home but I have a problem to use it from work : my sysadmin blocked all ports but not 80 and 8080.
I use the 80 for my internet box's admin (a free box) and 8080 for the freeNAS's admin.
My problem : How can I access owncloud from work ?
I imagine this solution :
The FreeNAS IP : 192.168.1.40
The owncloud jail IP : 192.168.1.41
I wanted to create a new jail and with IP 192.168.1.42 and redirect (with my internet box) the 8080 port to this jail.
In this jail I install Apache and use the ProxyPass directive for acces differents services.
For example :
- my_public_IP:8080/adminNas will be redirect to 192.168.1.40 for the FreeNAS admin
- my_public_IP:8080/owncloud will be redirect to 192.168.1.41 for owncloud
But I don't know how to install Apache in the new Jail ...
Can you help me please ?
Many thanks !!
Jeef
(I saw I could use nginx instead of Apache, but I know Apache quiet well...)
First of all : This is my first post in this forum, sorry for my poor english ... i'm french and try to do the best : thanks !
I have installed FreeNAS 9.2 easily, it works well from my home and my work.
I installed the plugin owncloud and it work well from home but I have a problem to use it from work : my sysadmin blocked all ports but not 80 and 8080.
I use the 80 for my internet box's admin (a free box) and 8080 for the freeNAS's admin.
My problem : How can I access owncloud from work ?
I imagine this solution :
The FreeNAS IP : 192.168.1.40
The owncloud jail IP : 192.168.1.41
I wanted to create a new jail and with IP 192.168.1.42 and redirect (with my internet box) the 8080 port to this jail.
In this jail I install Apache and use the ProxyPass directive for acces differents services.
For example :
- my_public_IP:8080/adminNas will be redirect to 192.168.1.40 for the FreeNAS admin
- my_public_IP:8080/owncloud will be redirect to 192.168.1.41 for owncloud
But I don't know how to install Apache in the new Jail ...
Can you help me please ?
Many thanks !!
Jeef
(I saw I could use nginx instead of Apache, but I know Apache quiet well...)