Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: Cyril on December 16, 2022, 05:48:07 AM

Title: Cannot access CWP via public IP / domain in LAN
Post by: Cyril on December 16, 2022, 05:48:07 AM
Hi, we searched all the topics here & on Google but none fits our situation

We installed CWP on CentOS on a Proxmox VM (103) and followed this guide to open the necessary ports as follows
http://wiki.centos-webpanel.com/centos-mostly-used-ports

(https://i.ibb.co/B4cv12G/1671167955456.jpg)


With the following settings on the physical NAT

(https://i.ibb.co/vcB4t22/1671168157843.jpg)






With the above, our LAN users  cannot access public URLs :



https://PublicIP:2031 (CWP main panel)

https://domainname:2083 (CWP user panel)

https://myweb.site (User-created website)


It shows ERR_CONNECTION_TIMED_OUT



While internal URLs work fine

https://192.168.100.95:2083 (CWP panel)





However, users outside of the network are able to access public URLs


https://PublicIP:2031 (CWP main panel)

https://domainname:2083 (CWP user panel)

https://myweb.site (User-created website)






Now we can't figure out what else we are missing to check to allow LAN users to access our CWP via public IP or domain names

Title: Re: Cannot access CWP via public IP / domain in LAN
Post by: PakPos on December 17, 2022, 04:41:16 AM
Cannot access CWP via public IP / domain in LAN
=====================
Cannot access CWP via public IP <--- check your firewall, routing and using public IP.IP.IP.IP
try it from device are outside your network....

domain in LAN <--- check your hosts....resolve conf (you can add manual )
Title: Re: Cannot access CWP via public IP / domain in LAN
Post by: overseer on January 08, 2023, 06:47:13 AM
Does your router support loopback / NAT hairpin?