External IP to internal IP

akadi81

Verified User
Joined
Feb 26, 2015
Messages
25
Hi,

I am forced to make extrablish internet connection using a router. So, the external ip will not be binded on the server anymore.

1. i added in directadmin.conf lan_ip=192.168.1.1
2. i changed in directadmin from ethernet_dev=ppp0 to ethernet_dev=eno2 according to wight config
3. changed ip in directadmin account fROM YYY.YYY.YYY.YYY to 82.XXX.XX.XXX because i have a new ip on that connection.
4. i made all port redirect settings and... i still got an error.

2020:02:03-14:23:37: The externally obtained ip of this machine (82.XXX.XX.XXX) does not match the ip in the license file.<br>
The ip of this machine (192.168.1.1) does not match the ip in the license file.<br>
Check the value of your ethernet_dev=eno2 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig


What should i need to do for this to work?
Thank You.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,907
Location
LT, EU
BTW, ./setup.sh auto beta should require no linking of following lan.html anymore :)
 
Top