By oceaneleven
Hello, can someone help me with one configuration. I want to setup 2 vps. On will run my site and one will act like a proxy (not load balansing). That proxy need to hide entirely the IP of the backend. Also I want that backend to communicate ONLY with that proxy on specific port. And also need to make that no one can’t access that backend, even he/she know the IP of it. So the setup need to look like this: User -> Internet -> Proxy <–> Backend. And it is possible to make some kind of tunneling between proxy and backend or something like this?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This should help you out with proxying with NGINX A more detailed look can be found here
As for only allowing the proxy server to access the backend, your standard operating system firewall (iptables, ufw) should be able to do that for you.
Yea I am aware with this method, but I was wondering if it is possible that someone to know with what server my proxy commucinate and prevent this… I thinking that tunneling Proxy and Backend (to communicate more secure)…Sorry if my explanation is poor… Simply want I need is ot make proxy hit backend on ssl or some kind secure tunnel not directly on HTTP, need the most secure way as possible
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.