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



  • Hello everyone

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

    https://www.dropbox.com/s/1binxl2k5o0x7vw/Foto 2014-09-25 09 25 09.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 )



  • Use squid3 and enable reverse proxy functions


  • Rebel Alliance Global Moderator

    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.