[英]How to remove NAT for my VM Instance?
I just created a VM instance with a static IP address to install cpanel. 我刚刚创建了一个具有静态IP地址的VM实例来安装cpanel。
It turns out that cPanel has some problems with NAT. 事实证明,cPanel在NAT方面存在一些问题。 Also cPanel does not provide technical support for systems with NAT.
另外,cPanel不为具有NAT的系统提供技术支持。
Now I want to disable/remove NAT in my VM instance. 现在,我想在我的VM实例中禁用/删除NAT。 Otherwise I will never be able to use cPanel on it.
否则我将永远无法在其上使用cPanel。
Is it possible? 可能吗?
Well, if by saying NAT you mean Network Address Translation, you can't remove it from your VM instance due to NAT is allocated in your router. 好吧,如果说NAT的意思是网络地址转换,则由于路由器中分配了NAT,因此无法将其从VM实例中删除。 You need instead to forward a port in your router to your VM's local port.
相反,您需要将路由器中的端口转发到VM的本地端口。 If you're using cPanel, the standard port should be 2082. The reason to forward a port is to enable all incoming packages to be redirected from you router's external (global static or dynamic)IP to your VM's local IP, from router's port to local port.
如果您使用的是cPanel,则标准端口应为2082。转发端口的原因是允许将所有传入软件包从路由器的外部(全局静态或动态)IP重定向到VM的本地IP,从路由器的端口重定向至VM。本地端口。 Try to check out your router settings and find port forwarding option there.
尝试检查您的路由器设置,并在那里找到端口转发选项。 Also try to google for web-server behind NAT.
也可以尝试在NAT后面搜索Google的网络服务器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.