MRatWork Forum by Mustafa Ramadhan
General Discussions => GNU/Linux Helps => Topic started by: ItzJustinN on 2015-03-31, 04:35:49
-
hello again!
i have installed kloxo 7 on centos vps w/ dynamic ip.
first problem i have is that apache doesnt seem to listen on local ip when using bind for dns.
when i modify binddns records to the public ip, the websites are resolving,
but since my ip is dynamic, i would prefer apache to listen on local ip.
the next problem i have is with lxguard. in 6.5 i didnt have to do anything to it,
i just modify the attempts to 3, and it does it's thing.
on the new installation however, after making the same configuration,
lxguard does not appear to do anything at all.
i cannot even see my ssh logins in the raw connections log.
i look forward to your responces, and thanks for making such a great free panel!
-
1. You mean dynamic IP from DHCP?.
2. I will investigate about lxguard.
-
yes, i receive ip from ISP through DHCP. (24.x.x.x)
I have local lan ip assigned static. (192.168.1.5)
when dns records pointed to 192.168.1.5, connection timed out
but when pointed to public ip, everything worked fine.
-
Kloxo-MR 7.0 is no issue for dhcp ip and will detected. So, you don't need local IP trick.
-
im not sure what i did wrong then.
when bind dns give the record to local ip,
connection is timed out.
-
Did you see in 'IP Address' appear public IP (from DHCP)?. If yes, just setup your dns using this public IP.
-
the only ip that kloxo show is the local static ip.
if i try to add the ip to kloxo = "another host is using this ip address"
-
Something wrong your DHCP IP. Ask to your provider.
Or, inform here your 'ip addr show'.
-
nothing wrong with the internet provider
server is hosted on a dynamic home connection
i have one public ip for all my devices
show ip:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 08:00:27:8d:69:7c brd ff:ff:ff:ff:ff:ff
inet 192.168.1.5/24 brd 192.168.1.255 scope global eth0
-
maybe its not issue with apache listening ip,
but when dns updated to 192.168.1.5,
webserver cannot be found.
no issue with configuration on standalone apache2.2 with 192.168.1.5
-
i found i can change dns template ip to public ip, and this give new websites the public ip which resolves, however if my ip change (since dynamic) i still need rebuild all records for dns which is not ideal.
-
No CP can handle your issue. Need fix IP but doesn't matter static or dhcp IP.
-
can you tell me where i can find config files for kloxo apache and bind
-
Copy domains.conf.tpl to custom.domains.conf.tpl inside /opt/configs/<apache/bind>/tpl. And then modified this custom files. After that, run 'sh /scipt/fix-all; sh /script/restart-all'.
-
im just going to use the public ip and rebuild the records if needed.
can you tell me about lxguard though?
-
Lxguard only read /var/log/secure log file for detecting ssh and ftp login.
-
right.
and var/log/secure showing many break in attempts and also my own ssh logins,
but lx guard still show nothing.
-
right.
and var/log/secure showing many break in attempts and also my own ssh logins,
but lx guard still show nothing.
Did you click 'show all' in listing?
-
there is no connections listed to show.
please see attached screenshot.
http://i.imgur.com/ykgR1Rl.png
-
Nothing wrong in my servers (using Kloxo-MR 7.0). Already listed except for 'success' login.
-
not sure then.
in my server it didnt work.
also using kloxo 7.
is new server, only installed kloxo, no other packages/systems
i guess i will use fail2ban...
-
Sometimes any trouble with rsyslog. Rsyslog not logging process. Try 'service rsyslog restart'.