Satış ve Destek +90 (216) 521 78 00

Sepetim Giriş Yap | Kayıt Ol
Tenik Data
How to enable NAT behind the cpanel ? - TeknikDATA Hosting Hizmetleri

Bilgi Merkezi

Ana sayfa > Bilgi Merkezi > English > cPanel > General > How to enable NAT behind the cpanel ?

How to enable NAT behind the cpanel ?

Most of webhosting providers currently used NAT service for their users. When you install cPanel & WHM, the installer will detect whether your server is on a NAT-configured network. If the installer detects a NAT-configured network, your server will configure itself for NAT mode and attempt to automatically map local IP addresses to public IP addresses.

Enable NAT in cPanel server.

The /var/cpanel/cpnat file acts as NAT mode. If the installer mistakenly detects a NAT-configured network, you can delete the /var/cpanel/cpnat file to disable NAT mode. You can rebuild cpnat if you need to enable it /scripts/build_cpnat script.

cPanel will attempt to map all non-loopback IP addresses bound to any network interface on the server to a public IP address.

 

cPanel server will send an outgoing connection from each local IP address to the http://myip.cpanel.net/v1.0/ server.

The build_cpnat script uses http://myip.cpanel.net/v1.0/ to map local IP addresses to public IP addresses.

You can manage the following options for local and remote IP addresses in WHM:

Add a New IP Address
Show or Delete Current IP Address

If multiple local IP addresses match the same public IP address which is NOT recommended, only the first local IP address listed in /var/cpanel/cpnat will be mapped.

If you wish to use a different IP address lookup service, open the /etc/cpsources.conf file with your preferred editor and add the following line:

MYIP=http://whatismyip.tv/ip_only

Refer with cpanel documentation http://docs.cpanel.net/twiki/bin/view/AllDocumentation/NATSupport#Manage IP Addresses and  Check CPNAT man page for further information.

/scripts/build_cpnat –man

Bulut Hosting Bireysel Hosting Kurumsal Hosting Bayi Hosting Uygulama Hosting Wordpress Hosting Joomla Hosting Drupal Hosting E-Ticaret Hosting Haber Hosting Veritabanı Hosting MySQL Hosting MongoDB Hosting PostgreSQL Hosting
Bulut Sunucu Bulut Sunucu Sunucu Barındırma Sunucu Kiralama Sunucu Yük Dengeleyici Bulut Sunucu Standart Bulut Sunucu Enterprise Bulut Sunucu SSD Premium Bulut Sunucu Sunucu Yük Dengeleyici Kiralama Güvenlik Duvarı Kiralama
Kurumsal Email Sunucu Standart Email Sunucu Professional Email Sunucu Enterprise Email Sunucu Bulut Email Bulut E-Posta Hosting Hosted Zimbra Spam/Virüs Gateway Mail Back Up Smart Host ETRN Hizmeti E-Posta Servisleri
Domain Alan Adı Tescil Alan Adı Transfer Alan Adı Yenileme TÜrkçe Alan Adı Kayıt Marka Tescil Marka Tescil Başvuru
CDN Çözümleri Statik Cache Hizmeti İçerik Hızlandırma Coğrafi İçerik Dağıtımı CDN Depolama SSL Sertifika Comodo SSL QuickSSL True BusinessID SSL

LiveZilla Live Help