tlovrec

Member
Apr 11, 2008
14
0
51
How is your server setup? Is that behind a firewall?
If it is, let's say that eth0 is your interface to the external world, on the firewall.
192.168.1.100 is the local IP of the cPanel machine and xxx.xxx.xxx.xxx is your licensed external IP.
Add this iptables rule on the firewall:
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.1.100 -j SNAT --to-source xxx.xxx.xxx.xxx
and you should be fine.

If it's not, get ready to change some routing tables ;)
 

sileepkumar

Member
Feb 14, 2008
6
0
51
I am using a vps.

venet0:0 entry shows my unlicenced IP and venet0:1 shows my licensed IP.

I hav tried cpkeyclt after disabling d firewal, bt it doesnt help.

help!!:(
 

sileepkumar

Member
Feb 14, 2008
6
0
51
I have checked my external IP with curl cpanel.net/myip/, but it shows my unlicenced IP. How can i change this to my licensed IP???:confused:
 

tlovrec

Member
Apr 11, 2008
14
0
51
Do what I've told you on the machine runing this VirtualMachine which is running the cPanel.