OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of yds »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

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.

  • Messages
  • Topics
  • Attachments

Messages - yds

Pages: [1]
1
22.1 Legacy Series / Re: Rule to let apache reverse proxy on OPT1 access hosts on LAN
« on: March 17, 2022, 12:20:14 am »
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
22.1 Legacy Series / Rule to let apache reverse proxy on OPT1 access hosts on LAN
« on: March 16, 2022, 02:13:07 am »
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
17.7 Legacy Series / Re: Tutorial for setting up HAProxy Reverse proxy server??
« on: November 02, 2017, 02:57:30 am »
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
17.7 Legacy Series / Tutorial for setting up HAProxy Reverse proxy server??
« on: November 01, 2017, 01:51:22 am »
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
17.7 Legacy Series / Noob question: resolve to static hosts using hostnames
« on: October 24, 2017, 03:07:53 am »
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?

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2