Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Port 80 on 3 VM

    Scheduled Pinned Locked Moved DHCP and DNS
    6 Posts 3 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N Offline
      njanja
      last edited by

      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 server

      ALL 3 will use port 80th. I need to use port 80 at work because every port at work is closed

      1 Reply Last reply Reply Quote 0
      • KOMK Offline
        KOM
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • johnpozJ Online
          johnpoz LAYER 8 Global Moderator
          last edited by

          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:80

          If you want to do based on /something at end of url you would have to use a reverse proxy as KOM correctly stated.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 25.07.1 | Lab VMs 2.8.1, 25.07.1

          1 Reply Last reply Reply Quote 0
          • N Offline
            njanja
            last edited by

            Helle

            Where i can find this meny?
            And can you show me some Prt Scr. How to config this

            1 Reply Last reply Reply Quote 0
            • KOMK Offline
              KOM
              last edited by

              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…

              1 Reply Last reply Reply Quote 0
              • johnpozJ Online
                johnpoz LAYER 8 Global Moderator
                last edited by

                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

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 25.07.1 | Lab VMs 2.8.1, 25.07.1

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.