Port 80 on 3 VM
-
Hi guys
I have a problem. I have a server with 3 Linux VM 's . On the one I run ownCloud , the second Web server , and the third Plex.
When I use port 80 on onw VM, everthing is OK, work both inside and outside my network .Problem is whent i try to use the secend VM with some port (port 80) then things goas bad, nothing work.
I wonder where in pfSense ,can I setup so i can use both VM. on same port.
I am looking for this:
When I 'm at work and writes http://blabla.no-ip.com then I want to end up on the Web Server
then if I write like this http://blabla.no-ip.com/plex then I end up at the Plex server
and the third is how http://blabla.no-ip.com/owncloud then I want to end up on the ownCloud serverALL 3 will use port 80th. I need to use port 80 at work because every port at work is closed
-
Considering how both Plex and OwnCloud sit on top of a web server, I don't know why you don't just put all of your services on the one box and be done with it. pfSense can't do NAT based on an URL, so it won't redirect blabla.no-ip.com/a to one IP address and /b to another IP address without help like a reverse proxy.
-
yeah you can not do that.. You would need 3 different public IPs and then you could setup say blabla.noip.com and plex.blabla.noip.com and owncloud.blabla.noip.com on 3 different public IPs that you forward to your 3 different private IPs.
If you want to run and forward to 3 different serves on 80 behind you could do this
blabla.noip.com:80 forward to 192.168.1.100:80
blabla.noip.com:81 forward to 192.168.1.101:80
blabla.noip.com:82 forward to 192.168.1.102:80If you want to do based on /something at end of url you would have to use a reverse proxy as KOM correctly stated.
-
Helle
Where i can find this meny?
And can you show me some Prt Scr. How to config this -
How to config this
No iea, as I've never had to do it. There are several packages in the list that can function as a reverse proxy. Perhaps try Google for pfsense reverse proxy and see how it goes…
-
config which method? Use of different ports or the reverse proxy method?
Here is a walkthru on technet using squid3 as reverse proxy for lync
http://blogs.technet.com/b/nexthop/archive/2014/04/07/configuring-pfsense-as-a-reverse-proxy-for-lync-web-services.aspx