Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - yds

#1
Ok.  I think I have figured it out.  Took a bit of experimenting and reading.   Key I think was unchecking the "Block private networks" button on the OPT1 interface config.

Then the rule I set up on the OPT1 interface looked like this:

Action: Pass
Interface: OPT1
Direction: in
Protocol: TCP/UDP
Source: OPT1 net
Destination: Single Host - 192.168.1.5
Port: From 8080 To 8080

That seemed to work.   If any experts out there see any issues with my setup, please let me know.
#2
Hi.  Trying to set up a rule that will let a reverse proxy I have set up on my Apache web server running on a host on my OPT1 network, access a host on my LAN network.  I have my reverse proxy accept an url of myhost.mydomain.com and redirect it to host:port number on my LAN (eg: 192.168.1.5:8080).   I've successfully set up a NAT port forward to direct all HTTP traffic to my webserver on OPT1.   But for those url's that are supposed to redirect to a host on my LAN, it doesn't get through, and I'm not clear if I need to set a rule on OPT1 to let the redirect out, or on my LAN to let the redirect in. 

I had it all set up on an older version of OPNsense, which I accidentally borked during an upgrade.  :( Unfortunately, I didn't create a backup, and I set it up so long ago I've forgotten how I did it.

Any help appreciated!!
#3
Quote from: fabian on November 01, 2017, 07:31:42 AM
Is https://docs.opnsense.org/manual/how-tos/haproxy.html out of date? As far as I know 2.0 has not been released yet.

I did read through that documentation. I believe it is designed for Load balancing, rather than reverse proxy.  Would all of the steps be the same though for setting up a reverse proxy?  Main difference being that instead of adding multiple servers to backend, I would only add one for each server I set up?   It wasn't entirely clear to me from that.
#4
Would like to use HAProxy plugin to act as reverse proxy to serve up the different webserver hosts I have running behind my single WAN IP.   Currently using apache virtual hosts proxy pass to do this.   Is there a recent tutorial anywhere to guide me through the steps of setting this up in the current plugin GUI?  Have scoured the web, but haven't found one.  Closest I found was a pfsense tutorial using a older version of HAproxy to do this.  And it appears some things have changed.
#5
I have a bunch of machines on my network that I have setup with static IP's on each machine.  I would like to be able to access them by typing their hostnames in my browser.  eg: I have sabnzbd running on 192.168.2.5.   Would like to type "sabnzbd/" in the browser to go directly to it.  I know if sabnzbd was assigned IP by DHCP, it would work.  But how do I set pfSense to know the names of my static machines?  Do I enter them manually in the "DHCP Static Mappings for this interface." part of the DHCP server settings?