Debian Firewall

Delta544, der Startbeitrag des TE klingt m.E. nicht danach, als ob das Tool noch installiert wäre sondern eher danach: "Ich habe irgendwann mal ein für mich hübsches und praktisches Tool installiert; dann irgendwann mal den Server neu aufgesetzt und nu weiß ich nicht mehr, wie das Tool hieß, um es nachzuinstallieren."

Richtig dazu.

Und es ist CSF
 
Ich habe CSF gerade installiert, allerdings habe ich keine Ahnung, wie man auf das Interface von CSF kommt, auf der Seite wird es auf Bildern gezeigt, aber es steht in keiner readme oder sonst irgendwo wie man es erreichen kann. Habt ihr vielleicht eine Ahnung?
 
Das habe ich auch gelesen, darunter ist es aber nicht erreichbar, und diese Links sind für mobile. Ich habe auch kein cPanel oder Webmin installiert, sondern Plesk.
 
Nein das stimmt nicht. Ich hatte es vorher auch so. Habe die Server ip eingegeben und den Port dahinter und dann konnte ich mich einloggen.
 
Nein, es war zu 100% CSF. Habe dann wie gesagt meine IP vom Server eingegeben und dahinter den Port von CSF und konnte mich dann einloggen.
 
Das wäre dann CSF's eingebauter server

csf.conf -> UI = "1"

Source: https://vpsboard.com/topic/5384-any...-web-interface-without-having-cpanel/?p=75990

Readme

23. Integrated User Interface Feature
#####################################

Integrated User Interface. This feature provides a HTML UI to the features of
csf and lfd, without requiring a control panel or web server. The UI runs as a
sub process to the lfd daemon.

As it runs under the root account and successful login provides root access
to the server, great care should be taken when configuring and using this
feature. There are additional restrictions to enhance secure access to the
UI:

1. An SSL connection is required
2. Separate ban and allow files are provided to only allow access to listed
IP addresses
3. Local IP addresses cannot connect to the UI (i.e. all IP addresses
configured on the server NICs)
4. Unique sessions, session timeouts, session cookies and browser headers are
used to identify and restrict active sessions

Requirements:

1. openssl
2. Perl modules: Net::SSLeay, IO::Socket::SSL and dependent modules
4. SSL keys
5. Entries in /etc/csf/ui/ui.allow

The SSL server uses the following files:

SSL Key goes into /etc/csf/ui/server.key
SSL Certificate goes into /etc/csf/ui/server.crt

Preferably, real CA signed certificates should be used. You can use an
existing domain and cert for accessing the UI by populating the two files
mentioned. If the cert has a ca bundle, it should be appended to the server.crt
file. lfd must be restarted after making any changes:
http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#realcert

Alternatively, you could generate your own self-signed certificate:
http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#selfcert

Any keys used must have their pass-phrase removed:
http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#removepassphrase

The login URL should use the domain you have listed in the self-signed cert:
https://<yourdomain>:<port>

For example: https://www.somedomain.com:6666

Your browser must accept session cookies to gain access.

UI_ALLOW is enabled by default, so IP addresses (or CIDRs) allowed to use this
UI must be listed in /etc/csf/ui/ui.allow before trying to connect to the UI.

Only IP addresses can be listed/used in /etc/csf/ui/ui.ban - this file should
only be used by the UI to prevent login. Use csf blocks to prevent access to
the configured port and only use Advanced Allow/Deny Filters for access, i.e.
do not list the port in TCP_IN.

Logging for UI events are logged to the lfd /var/log/lfd.log file. Check this
file if you are unable to access the UI.

Required Perl Modules:

For example, on Debian v6 the perl modules can be installed using:

apt-get install libio-socket-ssl-perl libcrypt-ssleay-perl \
libnet-libidn-perl libio-socket-inet6-perl libsocket6-perl

For example, on CentOS v6 the perl modules can be installed using:

yum install perl-IO-Socket-SSL.noarch perl-Net-SSLeay perl-Net-LibIDN \
perl-IO-Socket-INET6 perl-Socket6
 
Bzw. ich denke mal das "6666" der Standartport ist. In der "csf.conf" finde ich leider nicht von UI = "1" oder UI_PORT = "6666"

edit:

Ich habe es gefunden, es war ganz unten und habe es scheinbar übersehen. Es sieht jetzt so bei mir aus:

Code:
# SECTION:Integrated User Interface
###############################################################################
# Integrated User Interface. This feature provides a HTML UI to csf and lfd,
# without requiring a control panel or web server. The UI runs as a sub process
# to the lfd daemon
#
# As it runs under the root account and successful login provides root access
# to the server, great care should be taken when configuring and using this
# feature. There are additional restrictions to enhance secure access to the UI
#
# See readme.txt for more information about using this feature BEFORE enabling
# it for security and access reasons
#
# 1 to enable, 0 to disable
UI = "1"
 
# Set this to the port that want to bind this service to. You should configure
# this port to be >1023 and different from any other port already being used
#
# Do NOT enable access to this port in TCP_IN, instead only allow trusted IP's
# to the port using Advanced Allow Filters (see readme.txt)
UI_PORT = "6666"
 
# This should be a secure, hard to guess username
#
# This must be changed from the default
UI_USER = "test"
 
# This should be a secure, hard to guess password. That is, at least 8
# characters long with a mixture of upper and lowercase characters plus
# numbers and non-alphanumeric characters
#
# This must be changed from the default
UI_PASS = "testpw"
 
# This is the login session timeout. If there is no activity for a logged in
# session within this number of seconds, the session will timeout and a new
# login will be required
#
# For security reasons, you should always keep this option low (i.e 60-300)
UI_TIMEOUT = "300"
 
Last edited by a moderator:
Liegt es vielleicht daran das alles von CSF in "/etc/csf/" liegt und nichts in "'/var/www/" ?
 
wenn deine IP nicht in der whitelist /etc/csf/ui/ui.allow steht musst du noch UI_ALLOW auf 0 setzen.

Lies dir bitte die optionsbeschreibungen und readme.txt/install.txt.
 
Last edited by a moderator:
Meine IP vom Internet-Anbieter steht in der Datei drin und service lfd restart habe ich auch gemacht
 
Back
Top