Author Topic: Cannot Add Nat IP  (Read 1239 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Cannot Add Nat IP
« on: January 13, 2023, 12:08:58 PM »
Hi,
I just install new server and i cannot find add nat ip in server config nat menu. How can I fix that problem or how can i find the file for nat ip update in terminal?

https://pasteboard.co/gA9r0dPAtAuV.png

screen is here..

another problem is cwp settings and edit settings, Nat Local IP section is empty select box and have message under select box this;

Disabled: activate nat-ed network configuration

so, if i cannot add ip in ip nat menu (no have button and picture there) here will not be enable again..

this is clean install and not changed anything yet.. how can i enable?
« Last Edit: January 13, 2023, 12:38:08 PM by AcemiPenguen »

Offline
*
Re: Cannot Add Nat IP
« Reply #1 on: September 11, 2024, 02:26:42 PM »
this issue still same.. i have to install again behind the nat but i cannot select nat ip.. i tried 2 times install but cannot select nat ip..

have any method for installation steps for fix that problem? bcos i have to install it for test server but i cannut use this server. i tried install 2 times again but still same.. no have selection in NAT Local IP: its empty..

is that ethernet config problem? or something else?

Offline
*
Re: Cannot Add Nat IP
« Reply #2 on: September 11, 2024, 05:49:53 PM »
I tried to open the URL:
https://pasteboard.co/gA9r0dPAtAuV.png
a few times and within but got error 502 always.

Could you upload the screenshot to another image hosting service  (imgur https://imgur.com/upload) ?

Offline
*
Re: Cannot Add Nat IP
« Reply #3 on: September 12, 2024, 12:10:07 AM »
I tried to open the URL:
https://pasteboard.co/gA9r0dPAtAuV.png
a few times and within but got error 502 always.

Could you upload the screenshot to another image hosting service  (imgur https://imgur.com/upload) ?

https://paste.pics/13be425c2a4cc640f22cf2a582109050

uploaded new..

i installed this server behind the nat. i installed that kind before but cannot remember how to solve this problem.

i have 2 internet connection and 1 firewall same network. i want to use second internet for this server. when i install the server, i cannot select this area (NAT local IP). i have to choose this ip for my server ethernet local ip.

this is virtual server and i tried adding second ethernet and second local network ip but still same.. cannot select any ip for reach of this server.

when i try to check port 80, 443, 2087, 2032 etc. on canyouseeme.org, cannor reach any.. only 80 port working but if i assing any address cwp.example.com, test.example.com to my real ip, cannot open the page. because cannot find server correctly.. i forwarded all needed ports to local ip from firewall but not working well..

i have to install like this or else, i mistake about install..

i mean, i need to find some document how to install correct way..

my network scheme;

internet -------->  firewall -------------> web server

i have vlan and have many ip address local side, i can give many ip if i need to server for load balancing or different needs..

just need to know how to install scenerio. thanks

Offline
*
Re: Cannot Add Nat IP
« Reply #4 on: September 12, 2024, 04:28:42 AM »
I used CWP in NATed mode once and was able to set/update shared/nat IPs without any problems. Currently the latest version of CWP free doesn't allow to set the NAT IP. Not sure if some extra option must be enable or there is a bug.

Therefore try to update the IPs in the file:
Code: [Select]
/usr/local/cwp/.conf/settings.confmanually, restart CWP, CWPSRV services, rebuild vHosts and check if it solves the problem.

Offline
*
Re: Cannot Add Nat IP
« Reply #5 on: September 12, 2024, 06:10:05 AM »
i checked this path

/var/local/cwp/.conf/settings.conf

but no have cwp directory, /var/local is empty. maybe you're right, i installed latest version.. i will try old version install and i will write the result here.. thanks for information..

Offline
*
Re: Cannot Add Nat IP
« Reply #6 on: September 12, 2024, 08:52:21 AM »
I installed Almalinux 8 and cwp again. I saw that issue on the cwp;

i'm using 16.10.x.x ip address in my local network and NAT-ed mode only working on 192.168.x.x

so, i want to use this server public and local network same time. So, if i try to reach my any address, then dns will be find or look firstly local ip address.. i dont want to change host or local dns server. bcos cpanel can manage this scenerio. i used that before and it wasnt 192.168.x.x ip block..

so, what can i do now? should i have to change the panel? have any recommend for easy management panel and especially free?

Offline
*****
Re: Cannot Add Nat IP
« Reply #7 on: September 13, 2024, 02:19:31 AM »
? You should be using one of the following IP ranges for your private LAN:
  • 10.0.0.0 - 10.255.255.255
  • 172.16.0.0 - 172.31.255.255
  • 192.168.0.0 - 192.168.255.255
https://www.iana.org/help/private-addresses

16.10.x.x is a publicly routable address...