Need Help Creating Forward/ Reverse Proxy in CentOS 7
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Need Help Creating Forward/ Reverse Proxy in CentOS 7
Hi All
What I'm Trying to AccomplishProxy Reqests for code.mydomain.com from VM1(public Facing) to VM2(Internal) and Back again.
VM1 - CentOS 7 = My Website, Blog, ETC
VM2 - Ubuntu Server 14.04 LTS = ONLY GITLAB
VM1 is my main server and will act as the proxy server (?) however it does not seem sufficiently documented on how to create this kind of proxy. I have been googlying and searching for about 2 hours now and do not know where else to turn. can any of you fine people PLEASE help a modest Linux Enthusiast and user out!? This is Driving me insane!!!
Last edited by heypaleblue; 12-10-2015 at 10:55 PM.
Install Haproxy, read the documentation. Craft your basic haproxy.conf. Read something like http://tecadmin.net/install-and-conf...oxy-on-centos/. Adjust. Test. Then show your commented haproxy.conf here with test results for comments would be the most efficient approach.
Install Haproxy, read the documentation. Craft your basic haproxy.conf. Read something like http://tecadmin.net/install-and-conf...oxy-on-centos/. Adjust. Test. Then show your commented haproxy.conf here with test results for comments would be the most efficient approach.
Install Haproxy, read the documentation. Craft your basic haproxy.conf. Read something like http://tecadmin.net/install-and-conf...oxy-on-centos/. Adjust. Test. Then show your commented haproxy.conf here with test results for comments would be the most efficient approach.
The problem here is I'm not looking to server up the same thing on 3 different machines, I'm trying to host 2 different Services on 2 different Machines with only 1 External IP. Reading through the Documentation for version 1.5 which is in my CentOS 7 Repo It does not look like HAProxy Does this. Have I misunderstood? If so can you please point me in the right direction?
Have I misunderstood? If so can you please point me in the right direction?
Another data centre, another host, loop back devices, it doesn't really matter where your backends are as long as haproxy has a valid route for requests. haproxy takes over the public IP and the backends (services you want to expose) then are either ports on the same public IP (bad if not ACL'ed properly because then you can access them w/o needing haproxy in the first place) or ports in say a private LAN range.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.