LFD ignores IP from interfaces

Post Reply
Ilia
Junior Member
Posts: 98
Joined: 09 Feb 2013, 08:47

LFD ignores IP from interfaces

Post by Ilia »

Good day!

Could you please recommend how to make LFD watch one of the IP that is on my interface (local).

I use Squid to connect to my proxy server. When I try to login to webmin and fail on purpose (to check), LFD does nothing? From other IPs it works fine!

How to force LFD to watch one of my local IPs?
Ilia
Junior Member
Posts: 98
Joined: 09 Feb 2013, 08:47

Re: LFD ignores IP from interfaces

Post by Ilia »

By "on my interfaces", I mean, that I have that IP in ifcfg-eth0

How to make LFD react (not ignore) one of the addresses in ifcfg-eth0 or ifcfg-eth0:0?
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: LFD ignores IP from interfaces

Post by ForumAdmin »

You can't. lfd will never block locally configured IP addresses.
Ilia
Junior Member
Posts: 98
Joined: 09 Feb 2013, 08:47

Re: LFD ignores IP from interfaces

Post by Ilia »

By default, csf will auto-configure iptables to filter all traffic except on
the loopback device. If you only want iptables rules applied to a specific
NIC, then list it here (e.g. eth1, or eth+)
What if I only set interfaces I need? I suppose from the description above it's possible for eth0, eth1 and etc. But will this work with virtual interfaces, like:

Code: Select all

eth0, eth0:0, eth0-range0, eth0-range1, eth0-range2
Will it work if I do it the way above?
Post Reply