The Linux Community Forum

Non-Tech Zone => General Discussion => Topic started by: alix1333 on December 20, 2020, 10:19:55 pm

Title: How to tune reverse proxy
Post by: alix1333 on December 20, 2020, 10:19:55 pm
Hi, I want to configure firewalld (sorry no need additional proxy as apache, nginx or squid, I need configure redirect by firewalld or my existing reversy proxy). I have running reverse proxy polarproxy in machine 192.168.0.106 (192.168.0.1/24).

I want to redirect all inbound request to domain xxxxxx.com from proxy-machine to machine 192.168.0.102 (where working local clone xxxxxx.com, this site use not only port 80). Any other request to other domain need to going free to gateway of this network 192.168.0.1 and to inet.

My common idea is debugging project worked with strong cryptography. I don't see what exactly request send my frontend to backend. TSL 1.2 is mandatory for this project (domain name and certificates processing manually in frontend and this is huge part of code and this code impossible to comment). Therefore I have selected polarproxy to decrypt request from fronend to backend. I have this backend locally and machine with polarproxy in the middle between backend and frontend. But I can not tune redirect all request from this domain to my local server.

What command I need? Or maybe polarpoxy config?
Title: Re: How to tune reverse proxy
Post by: Rich J on December 22, 2020, 04:41:54 pm
Hi, I want to configure firewalld (sorry no need additional proxy as apache, nginx or squid, I need configure redirect by firewalld or my existing reversy proxy). I have running reverse proxy polarproxy in machine 192.168.0.106 (192.168.0.1/24).

I want to redirect all inbound request to domain xxxxxx.com from proxy-machine to machine 192.168.0.102 (where working local clone xxxxxx.com, this site use not only port 80). Any other request to other domain need to going free to gateway of this network 192.168.0.1 and to inet.

My common idea is debugging project worked with strong cryptography. I don't see what exactly request send my frontend to backend. TSL 1.2 is mandatory for this project (domain name and certificates processing manually in frontend and this is huge part of code and this code impossible to comment). Therefore I have selected polarproxy to decrypt request from fronend to backend. I have this backend locally and machine with polarproxy in the middle between backend and frontend. But I can not tune redirect all request from this domain to my local server.

What command I need? Or maybe polarpoxy config?


I have no knowledge of firewalld.  However, it is used by RedHat and CentOs, amongst other OS's.  Perhaps your query would be better answered elsewhere?

See here - https://firewalld.org/ (https://firewalld.org/)  here - https://access.redhat.com (https://access.redhat.com) or here - www.centos.org (http://www.centos.org)

Hope this helps,

Rich
SimplePortal 2.3.3 © 2008-2010, SimplePortal