OpenWRT - various useful commands

Published on Author admin

Various useful commands for OpenWRT/LEDE devices: Show ethernet switch information: swconfig list swconfig dev switch0 show Updating packages: opkg update opkg list-upgradable opkg list-upgradable | awk '{ print $1 }' | xargs opkg upgrade Installing OpenVPN (with Easy-RSA) software: opkg install openvpn-openssl opkg install openvpn-easy-rsa Installing DynamicDNS client (with HTTPS nad LuCI support): opkg install… Continue reading OpenWRT - various useful commands

CentOS 8 and Fedora 32 - make DNS working for Docker containers

Published on Author admin

In CentOS 8 and Fedora 32, by default DNS requests from Docker containers are being blocked by Firewalld. To make DNS working for Docker containers use below command (assuming that containers are using docker0 interface for networking): sudo firewall-cmd --zone=trusted --add-interface=docker0 --permanent sudo firewall-cmd --zone=trusted --add-interface=docker0