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

    How to set the router to access my virtual sever from the external network

    Scheduled Pinned Locked Moved Virtualization
    3 Posts 3 Posters 1.1k 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
      njanja
      last edited by

      Hello everyone

      I have a PC with a few virtual servers. See picture for more info.

      https://www.dropbox.com/s/1binxl2k5o0x7vw/Foto%202014-09-25%2009%2025%2009.jpg?dl=0

      Server is connected to another PC where I have installed pfsence
      I want from another external network, access my virtual servers.

      So here's my thoughts. I write the following:
      [njanja[/url]" target="_blank"> http://xxxxxxx.myftp.org:5600 [/ url] when I access the web server with an internal IP is 192.168.10.159](http://xxxxxxx.myftp.org:5600 [/ url] when I access the web server with an internal IP is 192.168.10.159 <br />[url] http://xxxxxxx.myftp.org:5700 [/ url] where do I access the ftp server with the internal IP is 192.168.10.158, etc. <br />My question is? <br />Where (or in the menu) in pfsense I need to stile a rule so that it can access my web server. Web server IP address 192.168.10.159. <br /><br />Note !! If you have a picture that shows ) [njanja" target="_blank"> http://xxxxxxx.myftp.org:5700 [/ url] where do I access the ftp server with the internal IP is 192.168.10.158, etc.
      My question is?
      Where (or in the menu) in pfsense I need to stile a rule so that it can access my web server. Web server IP address 192.168.10.159.

      Note !! If you have a picture that shows "how to do or prt.scr, then I would be very grateful.

      njanja](http://xxxxxxx.myftp.org:5700 [/ url] where do I access the ftp server with the internal IP is 192.168.10.158, etc. <br />My question is? <br />Where (or in the menu) in pfsense I need to stile a rule so that it can access my web server. Web server IP address 192.168.10.159. <br /><br />Note !! If you have a picture that shows )

      1 Reply Last reply Reply Quote 0
      • tzerpaT
        tzerpa
        last edited by

        Use squid3 and enable reverse proxy functions

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

          You can do port forwarding if you are ok with using ports like your example :5700 and :5600

          https://doc.pfsense.org/index.php/How_can_I_forward_ports_with_pfSense

          You would use a reverse proxy if you want to allow access via dns name that all points to your one public IP.  so for example www.yourdomain.tld points to 192.168.1.158, while ftp.yourdomain.tld points to .159  If your ok with just using ports on the url like you gave in your example than a simple port forward works.

          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 24.11 | Lab VMs 2.8, 24.11

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