I just setup CSF.
My home network works within 192.168.178.0/24 .
My plan was to only (mainly) allow internal connections to and from the server on which CSF has been installed.
Therefore I started with adding 102.168.178.0/24 to csf.allow:
Code: Select all
###############################################################################
# Copyright 2006-2017, Way to the Web Limited
# URL: http://www.configserver.com
# Email: sales@waytotheweb.com
###############################################################################
# The following IP addresses will be allowed through iptables.
# One IP address per line.
# CIDR addressing allowed with a quaded IP (e.g. 192.168.254.0/24).
# Only list IP addresses, not domain names (they will be ignored)
#
# Advanced port+ip filtering allowed with the following format
# tcp/udp|in/out|s/d=port|s/d=ip
# See readme.txt for more information
#
# Note: IP addressess listed in this file will NOT be ignored by lfd, so they
# can still be blocked. If you do not want lfd to block an IP address you must
# add it to csf.ignore
#192.168.178.156 # csf SSH installation/upgrade IP address - Thu Feb 8 06:09:47 2018
192.168.178.0/24 # Heimnetz Zugriff erlauben
If I comment out the first line and use the second line then shortly (1-2 minutes I assume) after restarting CSF/LFD the Web-UI is not reachable.
If I revert that change via SSH (stayed loged on) back to the original setting (first line) than the Web-UI is reachable again.
Any suggestions why this happens?
Best regards,
MacGyver2018