Beiträge von bart70

    i'm on OMV5 now, i was on OMV4.
    iptables didn't change, that's really weird :(

    i don't understand iptables rules, if someone can compare or decrypt files with and without docker, i guess that would help a lot ?

    The linuxserver Wireguard container creates some rules that are host-general and interface-specific. I don't know the OpenVPN container, but I guess OpenVPN will do something similar.

    ok , thanks , but ... before the update, it was ok with this docker, i don't understand :(

    and finally the rules.v6 :


    Code
    # Generated by ip6tables-save v1.6.0 on Sat Oct  6 12:47:57 2018
    *filter
    :INPUT ACCEPT [0:0]
    :FORWARD ACCEPT [0:0]
    :OUTPUT ACCEPT [0:0]
    COMMIT
    # Completed on Sat Oct  6 12:47:57 2018




    well you have find where i got a problem, there is a link with docker ? do we can save my docker and fix the network problem ?


    Thanks !

    The file openmediavault-firewall.sh is

    the file rules.v4 :


    Code
    root@bart-nas:~# iptables-legacy -L
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination



    Code
    root@bart-nas:~# ls -l /etc/iptables
    total 12
    -rwxr-x--- 1 root root  843 nov.  11 19:02 openmediavault-firewall.sh
    -rw-r--r-- 1 root root 1211 nov.  11 18:10 rules.v4
    -rw-r--r-- 1 root root  183 oct.   6  2018 rules.v6

    i played with iptables long time ago to try to use openVPN.
    Finally, i installed a container as i explained above.


    i've tryed systemctl disable docker and i got SSH and web interface.


    just back at home and going to sleep ...
    SSH and web interface again unreachable (no reboot etc, weird ? )


    i do a service docker status, it's up (something restart it maybe ... )


    I just try to do a service docker stop (same as systemctl disable docker ? ), and that don't change anything , still no SSH or Web Gui :(

    see you tomorow for new adventures (and thanks again for your help and time)

    héhé ok i'm so happy we go forward ! well, i'm patient


    I checked docker as you ask, i only see that

    i selected utiliser nft (use nft in english) ... reboot and i've lost SSH and web interface :(


    after redo iptables commands, SSH and Web interface are back ! ;)

    SSH is back !!!

    Web interface too !!!


    Thank you very much !

    I can't explain why iptables changed with the update ... Is it permanent ?
    Can i restart docker ? with

    systemctl start docker
    systemctl start containerd


    do you know how i can check if my container pass through the openVPN ?

    Can i reconstruct my mergeFS and samba shares etc ?


    Thanks again !

    after all the commands you write :


    Code
    root@bart-nas:~# iptables -L
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    # Warning: iptables-legacy tables present, use iptables-legacy to see them

    and


    Code
    root@bart-nas:~# iptables-legacy -L
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)

    sorry i must do multipost, because of limitation of the number of caracters in one post

    when the docker is stopped :





    there is lot of things ...


    Yes i got at least 1 container running , it's a transmission + openVPN for Torrents. I don't really know how to stop it with command lines, and i'm a bit scarry to lose it, i've spend alot of time to understand how to configure it ;) It's this Docker image : https://github.com/haugene/docker-transmission-openvpn

    and

    omg i'm so stupid , sorry 1000 times ... i missed a ":" after "exec"

    i'm on the bart-nas 's shell on my bart-nas2 , it will be much easier to fix it now, i can copy paste commands and results