DirectAdmin on LAN - can any one help me.

sohaib

Verified User
Joined
Apr 27, 2005
Messages
191
Location
Shared & Dedicated Hosting
We are using a Hardware Firewall therefore our DA server IP is 157.****** but eth0 is set to our LAN i.e. 192.168.1.9. LAN IP resolve to our public IP fine by doing lynx ipchicken.com and our websites are works fine too but we are not able to access DirectAdmin its not starting - so I need help where I can fix this issue.

to summarize this .

MY LAN IS is 192** and my LAN IP is resolving to my Public IP but DA is not working.
 
I change the IP after the install as we are getting attack badly so we decided to install the hardware firewall now everything is protected now Directadmin doesnt work . and now we are not able to connect to directadmin as DA service is not starting.
 
2012:03:22-23:08:12: The ip of this machine (192.168.1.9) does not match the ip
in the license file.<br>
Check the value of your ethernet_dev=eth0 setting in your /usr/local/directadmin
/conf/directadmin.conf file and the output of /sbin/ifconfig<br>
 
Heres what I did to make it worked.

first I ran /sbin/ifconfig to see the available eth device and than I follow the following steps

in my case I choose eth0:2


And in directadmin.conf I have change ethernet_dev=eth0 to
ethernet_dev=eth0:2


I reboot my server to make it work. and everything is working just fine, as I dont trust software firewalls - but hey If any one interested in hardware firewall I will highly recommend Fortigate 60-C I can get you guy a huge discount as I am one of their distributors.
 
Hi,
i have a problem with my DA 1.45.0 installed last week.
i am on a location with 2 public IPs from the same class.
IP1 is for LAN behind a dlink router
IP2 is for DA also behind a dlink router

DA is working and serving mail,ftp,www etc for "all the ips in the world" except from mine :D so nobody from the office is able to get mails, not even www.IP2:2222

i've checked iptables rules, i even stop the service. i've checked hosts.deny... empty

on the dlink logs all the requests from IP1 remains in state SS (SS: SYN Sent -- One of the systems is attempting to start a connection.). from any other ip's they go into EST state(EST: Established -- the connection is passing data.)

i've changed the router... same behavior.

i have no other idea in mind, please help me, it's very frustrating

Bibi
 
pff, finally solved. there was something wrong with eth0 config file.
this is config for both eth0 and eth0:0 mayby it help someone:
Note:everything in bold should be changed to adapt your needs

Code:
DEVICE=eth0
TYPE=Ethernet
UUID=[B]"you nic's uuid'[/B]
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
HWADDR=[B]"you nic's uuid'[/B]
IPADDR=[B]192.168.1.100[/B]
NETMASK=[B]255.255.255.0[/B]
BROADCAST=[B]192.168.1.254[/B]
GATEWAY=[B]192.168.1.1[/B]
HOSTNAME=[B]hosting.yourdomain.ro[/B]
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"

Code:
DEVICE=eth0:0
BOOTPROTO=none
ONPARENT=yes
IPADDR=[B]your license static external ip[/B]
NETMASK=255.255.255.255
 
Last edited:
local ip install

hi there DirectAdmin license, but I do not know how to setup man made. Waiting for your help.
 
Back
Top