Portál AbcLinuxu, 25. dubna 2024 16:16
netstat -tnlp | grep :10000
root=/usr/share/webmin mimetypes=/etc/mime.types port=10000 host=bigboy addtype_cgi=internal/cgi realm=Webmin Server logfile=/var/log/webmin/miniserv.log pidfile=/var/run/webmin.pid logtime=168 ssl=1 env_WEBMIN_CONFIG=/etc/webmin env_WEBMIN_VAR=/var/log/webmin logout=/etc/webmin/logout-flag listen=10000 userfile=/etc/webmin/miniserv.users keyfile=/etc/webmin/miniserv.pem libwrap=1 alwaysresolve=1 allow=127.0.0.1 blockhost_time=300 no_pam=0 logouttime=5 passdelay=1 session=1 blockhost_failures=3 syslog=1 log=1 logclear= loghost=1 preroot=debiantheme ppath= atboot=1 denyfile=\.pl$Configurak . akorat mne zarazi to allow=127.0.0.1 zeby tam byla chyba ? Je to Neupravejen defaultni configurak .. v /etc/webmin/miniserv.conf
allow 192.168.1.0
? Nebo to zkuste nastavit v tom lynxu
http://www.swelltech.com/support/webminguide-1.0/ch03.html#wmipaccess
ssh -L 10000:127.0.0.1:10000 -N login@serverresp. ekvivalent v putty. Pak do browseru zadate
http://127.0.0.1:1000/
a ssh to forwardne. V tom webminu pak nechte, at prijima jenom konexe z localhosta.
bigboy:~# netstat -tnlp | grep :10000 tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 19833/perl bigboy:~#
Tiskni Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.