Beiträge von tinh_x7

    Guys,


    I did put a check mark for "Force SSL/TLS" at System/Web Administration" in OMV web gui.


    My current settings for HTTP and HTTPS are non-standard ports.
    In this case, I believe standard ports are such as 80,443.
    What I want is to enter the local IP or host name with HTTP://domain.com:9443 , then it automatically redirect to HTTPS://domain.com:9443.
    HTTPS working fine if I bookmarked the link.


    For security purpose, Is it easier for me to redirect or to disable my non-standard HTTP port?
    I"m try to do the same to my OwnCloud, too.


    Thanks.

    Hi all,


    I couldn't find the steps how to enable auto http redirect to https in the forum.
    I currently using SSL connection & force SSL-enabled option is ON.
    I would like it to auto redirect my OMV from HTTP to HTTPS whenever I enter LAN IP or domain name.
    Should I edit the hosts file config or something?


    My http and https are non standard ports.

    I never have or heard this owncloud internet connection error before.


    Ensure you using the correct ports for OMV, and OC.
    And configure your router to port ward any customized port that you using for OMV, and OC.
    I suggest use port 80 as a default for OC HTTP.
    Re-read the tutorial and double check your Nginx settings in OMV web gui and other appropriate settings.


    If you're a beginner to Linux and OwnCloud, it may take you more than three attempts to get it to work perfectly!

    @GabrielRR,


    The solutions are posted on the previous pages.


    Guys,


    Anybody in here know how to force owncloud to auto redirect http to https?
    I did some searches, and some users said need to make the change in httpd.conf while others said change it in /etc/apache2/sites-available.
    Do I need to change the port number if I'm not using the default ports?


    I just removed the /etc/fail2ban/filter.d/owncloud.conf , but Fail2Ban is unable to run.
    Edit: So, I have to re-added the owncloud.conf, F2B is now running fine.



    Code
    Error #4000:
    exception 'OMVException' with message 'Failed to execute command 'fail2ban-client status 2>&1': ERROR  Unable to contact server. Is it running?' in /usr/share/openmediavault/engined/rpc/fail2ban.inc:368
    Stack trace:
    #0 [internal function]: OMVRpcServiceFail2ban->getStats(NULL, Array)
    #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getStats', NULL, Array)
    #3 /usr/sbin/omv-engined(500): OMVRpc::exec('Fail2Ban', 'getStats', NULL, Array, 1)
    #4 {main}



    Code
    $ sudo fail2ban-client start
    WARNING 'findtime' not defined in 'ssh'. Using default value
    WARNING 'findtime' not defined in 'ssh-ddos'. Using default value
    WARNING 'findtime' not defined in 'apache-noscript'. Using default value
    WARNING 'findtime' not defined in 'apache-404'. Using default value
    WARNING 'findtime' not defined in 'proftp'. Using default value
    WARNING 'findtime' not defined in 'owncloud'. Using default value
    ERROR  /etc/fail2ban/filter.d/owncloud.conf and /etc/fail2ban/filter.d/owncloud.local do not exist
    ERROR  Unable to read the filter
    ERROR  Errors in jail 'owncloud'. Skipping...

    I'll try.


    But do I need to keep this settings or remove it since F2B have owncloud jail now?


    @pr_bond,


    So your F2B jail is for only owncloud plugin, not the one we install manually?


    I just tested F2B on OMV and OwnCloud, and I found out this:


    Fail2Ban recorded & email me all the details that I need for OwnCloud's incorrect login attempts such as IP, time stamp, ...
    However, for OMW admin's failed log in, it's only banned , and send me the recorded the time stamp, but it didn't give me the IP or the device info.
    I modified the OMV F2B's jail to ban for 15 mins, but it din't work.
    It's only banned for 3 minutes.


    How do I change OMV failed to ban longer than 3 mins, and record failed IP login?


    I got these notifications in my email from OMV:

    Zitat


    Too many failed login attempts from user 'admin' [server.mydomain.com]
    User 'admin' has been banned at Aug 20 19:41:04 after 14 failed login attempts. Access is denied for 3 minutes. After that time, the user is able to log in again with the correct password.
    User 'admin' has been banned at Aug 20 19:38:33 after 13 failed login attempts. Access is denied for 3 minutes. After that time, the user is able to log in again with the correct password.

    @ Max,


    Why you don't try out the OwnCloud v8 tutorial?
    It may be a PITA at the first time, but once you got it to work, it's great.
    This is one of the best forum.

    I'm did some search for the tutorial/guide, but there is no proper documentation for how-to passthrough GPU to Virtualbox.
    I found one on Virtualbox.org, but it's lack of details.
    My GPU is Nvidia GTX 750Ti.
    My OMV is running on a bare metal.

    EDIT: I add my customized port to nginix-404 jail, then the autoban is stop.
    i.e. http,https,[customized port]







    I used these commands, clear the log, restart OMV, still same error:


    fail2ban-client get nginx-404 actionunban 192.168.1.3
    fail2ban-client stop
    fail2ban-client start






    I don't why my Fail2Ban is keep ban my subnet router ip.
    Everything is working though.


    Hi guys,


    I recently made some backup OMV using Macrium Reflect Pro.
    I notice the size of Macrium image size is larger than Clonezilla.


    Macrium allowed me to backup just the OMV, (not the RAID drives).
    While Clonezilla failed to backup just OMV drive.
    They both use different compression.


    Anybody in here use Macrium Reflect to backup OMV OS?