Answer the question
In order to leave comments, you need to log in
How to pass traffic of 3 servers through one white IP?
There is a Platonus and Moodle server, and they also allocated a place for the college telegram bot. And right now we are preparing a server in order to redirect all the traffic of other servers through the IP (we have only one white IP) of the domain of our site. Installed Centos on a server. Now I'm thinking how to implement this task. Maybe I phrased the question incorrectly. Are there any guides on this topic?
Answer the question
In order to leave comments, you need to log in
Read what SNAT and MASQUERADE are,
Well, if web applications, then you also need a reverse proxy - nginx or apache
Web traffic through a reverse proxy, the choice is made based on the URL received in the request from the client.
Everything else (except the web) is distributed to different ports and NAT rules (just DNAT, not SNAT at all) traffic coming to different ports is distributed to different servers.
https://www.opennet.ru/docs/RUS/iptables/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question