Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - faunsen

#1
Du kannst die Datei /tmp/pkg_upgrade.json überwachen.
Siehe auch https://forum.opnsense.org/index.php?topic=27123.msg132035#msg132035

#2
Hi,
the os-ftp-proxy plugin provides a transparent FTP proxy.
You don't need to configure FileZilla FTP proxy settings.
See FTP Proxy HowTo

If you need a non transparent proxy try the proxy-suite package.
#3
Du könntest aber auch das FTP Proxy Plugin verwenden.
#4
Hallo lenny,

Squid und FTP funktioniert nicht.
Bitte verwende das FTP-Proxy HowTo.


Viele Grüße
Frank
#5
No, not a bug.
Works as expected.

Enable HTTPD, add user:pass to the Monit HTTPD Access List and a rule to allow 2812 to the firewall.
Then curl -u user:pass http://firewall:2812/
#6
Quote from: errored out on April 12, 2020, 01:17:53 AM
I finally was able to start Monit HTTPD and access the page. Here is the issue, I am not able to use a secure connection.  In advance mode, I first started Monit with http access.  Then, after enabling "secure connection"  I am not able to access Monit with https. 
The "Secure Connection" is meant for the mail server connection to send notifications encrypted.
SSL for the Monit http service is not supported yet.

Quote from: errored out on April 12, 2020, 01:17:53 AM
Also, does any know how to modify the configuration file manually?  I only have found /usr/local/etc/monitrc.  The file indicates it's autogenerated.  I'm assuming any changes made would be wiped. The page for monit in the opnsense docs only point to monit documentation.
Yes it is auto generated. Please use the webinterface for configuration.

Quote from: errored out on April 12, 2020, 01:17:53 AM
(/usr/local/etc/monitrc)
# DO NOT EDIT THIS FILE -- OPNsense auto-generated file

set httpd unixsocket /var/run/monit.sock port 2812

    allow localhost
    allow root:"XXXXXXXXXXXXXXXX"
    allow testinguser:"testingpass"

set daemon 120 with start delay 120
Looks like a bug.
I'll take a look on this.
#7
Hi Chris,

die Antwort kommt jetzt vielleicht etwas spät.
Aber lieber spät als nie  :)

Der FTP-Proxy macht eigentlich nichts anderes als die Kommando Verbindung abzuhören und an das eigentliche Ziel weiterzuleiten.
Sieht er das PORT Kommando ändert er bei passivem FTP die IP Adresse und den Port und erstellt eine Filterregel, die diese Datenverbindung erlaubt. Dazu wurde im Regelwerk ein sogenannter Anker gesetzt. Sozusagen eine Art Platzhalter für diese Regeln. Dieser Anker wird am Ende des Regelwerks angehängt.

Es gibt eine Standardregel
block in inet from {any} to {any} label "Default deny rule"
doch bevor diese Regel angewendet wird werden alle anderen Regeln geprüft ob sie nicht besser passen.
Diese Benutzerregeln haben zusätzlich noch das Schlüsselwort quick enthalten welches die Firewall dazu veranlasst diese Regel sofort anzuwenden und nicht weiter zu prüfen. D.h. gibt es für ein Paket keine passende Benutzerregel wird der FTP-Proxy Anker und dann die Standardregel angewendet.
Wenn Du aber eine Deny-All Benutzer Regel erstellst wird die Firewall das Paket blocken noch bevor es zum FTP-Proxy Anker kommt.
Du kannst Dir das Regelwerk in der Datei /tmp/rules.debug anschauen.

Viele Grüße
Frank


#8
I guess you get an error like 'Can't open data connection' or 'Timeout while opening data connection'.
Mostly the reason is a firewall blocking the data connection.

Do you have a firewall active on the client side?
#9
No worries, nobody is perfect.  :)
#10
Can you please provide a brief description of your setup
along with the ftp proxy configuration?
#11
Tutorials and FAQs / Re: FTP Proxy Howto
January 13, 2020, 02:31:18 PM
This is a how-to and not meant for resolving problems.

Can you please start a new topic in the '19.7 Production Series' section and inform me via PM?


Thanks  :)
#12
Tutorials and FAQs / Re: Monit Mini Howto
October 01, 2019, 08:55:43 AM
Can you please start a new topic for that?
This is a how-to and not meant for resolving problems.

Thanks  :)
#13
Tutorials and FAQs / Re: FTP Proxy Howto
August 19, 2019, 04:17:33 PM
Ah, I see the problem. Tinypic has shutdown and now some pictures are missing.
Will fix that.

You should configure your ftp-proxy to listen on 8021.
#14
Tutorials and FAQs / Re: FTP Proxy Howto
August 19, 2019, 09:29:54 AM
You should redirect port 21 to the FTP proxy not the server.

Client --> firewall WAN_IP:21 --> ftp-proxy 127.0.0.1:8021 --> your_local_ftp_server:21
#15
Tutorials and FAQs / Re: Monit Mini Howto
July 22, 2019, 04:02:32 PM
You could try to use a variable as descibed in the Message Format.
If that doesn't work you can use a script to check the existence of the file.