D
D
depressionofoleg2021-05-20 21:11:44
Nginx
depressionofoleg, 2021-05-20 21:11:44

How to correctly display nginx behind NAT so as not to break other services?

Wildly I apologize, because I can be stupid furiously and mercilessly, but I can not solve this problem. Set up nginx web server behind NAT in my organization. As I understand it, in order to register dns for a domain, I need to make port forwarding from the external ip to the internal ip of the server on ports 80 and 443 (for http and https, respectively) (I apologize in advance if I speak incorrectly). When you try to do this very port forwarding through a router (or a network filter ala usergate), other services of the organization are lying around (I can’t say for sure, but a couple of services stop working at the accounting department, as I understand they have asmx on port 80 pass). So the question is, forwarding through the router of the 80th and 443rd port is the only way to enter the site at the external ip address? And if so, is there another solution (buying a proxy, for example). Thanks and sorry for my stupidity.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2021-05-20
@depressionofoleg

If you have one external address, and 80 with port 443 is already occupied by something, you can’t really do anything if you only taxi those old services through nginx too (potentially problematic).
If the organization has several external addresses, you can forward ports 80 and 443 from another, not yet occupied, IP address.
But in general it's strange - what does the accounting department have for services that occupy HTTP / S?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question