Using Apache2 as proxy to redirect traffic within LAN not working as intended
38 views
Skip to first unread message
Vincent “Giantvince1” Meadows
unread,
May 10, 2023, 12:34:05 PM5/10/23
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello, I've been having an issue with Apache2 refusing to proxy requests to the proper server based on domain name. Say, for example you've got mail.whatever.domain on one machine, then you've got otherservice.whatever.domain on another machine, and you want to have a proxy server receive requests for both domains to redirect the traffic where it belongs.
In my case, when I have this set up in such a manner, it seems to only proxy to one machine in particular, regardless of the fact that the IP addresses in the proxy rules are pointing to the correct machines in each "Server" block in the configs. Can someone please help me figure this out? It's driving me nuts!
Marco Moock
unread,
May 10, 2023, 2:44:38 PM5/10/23
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Am 10.05.2023 um 09:34:04 Uhr schrieb Vincent “Giantvince1” Meadows:
> In my case, when I have this set up in such a manner, it seems to
> only proxy to one machine in particular, regardless of the fact that
> the IP addresses in the proxy rules are pointing to the correct
> machines in each "Server" block in the configs. Can someone please
> help me figure this out? It's driving me nuts!
Please post your configuration.
Message has been deleted
Vincent “Giantvince1” Meadows
unread,
May 10, 2023, 4:28:31 PM5/10/23
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
My entire config is below this line; I obfuscated my IPv6 for privacy reasons, my IPv4 addresses are actually private due to only having one public IPv4 and requiring NAT.
Also, as of right now, I have instigated my router to force IPv6 NAT so that I can avoid the problem for now, since it seems that forcing the router to ALWAYS pick 10.0.0.4 (and the associated IPv6 address) to pass traffic to makes things just *work*.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I think I got it figured out; for some reason it was only affecting one service within my LAN, a ticketing system known as FreeScout. I have a Vaultwarden instance running on the same server that was on as well, but that has been accessible this whole time, and not getting overrun by my mail server on the next-door-neighbor VM. I'm not sure what would have caused the problems I was seeing, but since FreeScout was not in use in the first place, I just went and got rid of it entirely.