Set up multicast route across a middle hop

I have a host with two Docker containers (with NET_ADMIN capability): backend with an interface eth0 (172.16.7.3) openvpn-server with interfaces eth0 (172.16.7.2) and tun0 (10.8.0.1), running an OpenVPN server (tun mode) There is an OpenVPN client on another machine openvpn-client with interface tun0 (10.8.0.2). The VPN is working. Additional route setup: backend has routes 10.8.0.0/24…

Details

Debian change owner of nobody:nogroup

How can I change the ownership of a directory with nobody:nogroup? Everything I tried ended up with “operation not permitted”. cat /etc/debian_version 10.2 [email protected]:/srv# chown -R rtorrent:rtorrent rtorrent chown: cannot read directory ‘rtorrent/.local/share’: Permission denied chown: changing ownership of ‘rtorrent/.local’: Operation not permitted chown: changing ownership of ‘rtorrent/.bash_history’: Operation not permitted chown: changing ownership of…

Details

Bash: Run Command (with a specific pattern) only if another Command (with another specific pattern) has failed

I have a shell script that creates a function (in a bashscript file which is sourced by .bashrc) for each Markdown files to open it in the editor. Example: ls /home/nikhil/Notes/Studies Physics.md Chemistry.md Studies.md index.md ls /home/nikhil/Notes/Sports Football.md Cricket.md index.md As you can see, some folder (such as Studies) contains a file with the same…

Details

Service doesn’t start upon sever restart

I have the following script in the /etc/systemd/system/ folder # Start the ruby on rails app on boot [Unit] Description=Start Ruby Online Ordering Application [Service] Type=simple RemainAfterExit=yes Username=root PIDFile=/home/deviant/www/tmp/pids/server.pid WorkingDirectory=/home/deviant/www ExecStart=/home/deviant/www/run.sh TimeoutSec=300 [Install] WantedBy=multi-user.target with a permission of -rw-r–r– 1 root root The run.sh script contains #!/bin/sh service httpd stop rails s -p 80 -d…

Details