To easiest way to delete iptables rules, is by listing the rule with line number like below
$ sudo iptables -L OUTPUT --line-number
$ sudo iptables -D OUTPUT 1
$ sudo iptables -L OUTPUT --line-number
Linux is for everybody. Lets enjoy it.
To easiest way to delete iptables rules, is by listing the rule with line number like below
$ sudo iptables -L OUTPUT --line-number
$ sudo iptables -D OUTPUT 1
$ sudo iptables -L OUTPUT --line-number
The issue is, whenever we click on the brave browser logo, it will show a loading animation, and it won't start after a few seconds.
$ brave-browser
"[3056:3056:1217/082602.062706:ERROR:process_singleton_posix.cc(353)] The profile appears to be in use by another Brave process (2300) on another computer (hisham-workmachine). Brave has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Brave."
$ cd ~/.config/BraveSoftware/Brave-Browser/$ mv SingletonLock SingletonLock.0
Unlike docker, podman comes with a useful tool to transfer image over network, without the need of any registry, which is podman image scp. This tool will take advantage of ssh connection between machines to transfer images.
$ podman image scp imagename:tag user@anothermachine::
$ podman image scp userA@localhost::imagename:tag userB@localhost::
$ sudo podman image scp root@localhost::imagename:tag nonroot@localhost::
$ podman image scp imagename:tag root@localhost::
$ podman image scp userB@localhost::imagename:tag
$ podman image scp user@machineA::imagename:tag user@machineB::
$ man podman-image-scp
We can use "docker save" and "docker load" commands to achieve this, combined with ssh.
These are the steps:
Save your image to a file
$ docker save -o filename imagename:tag
To get a smaller filesize, we can use xz, bzip2 or gz compression
$ docker save imagename:tag | xz > filename.xz
$ docker save imagename:tag | bzip2 > filename.bz2
$ docker save imagename:tag | gzip > filename.gz
Then, transfer the file over ssh to another machine
$ scp filename.xz user@anothermachine
Load back the image in the other machine. "Docker load" will automatically decompress the file if it is compressed with xz, bzip2 or gz.
$ docker load -i filename.xz
We can also use redirection, instead of the -i option
$ docker load < filename.xz
All that can also be done in one liner
$ docker save imagename:tag | xz | ssh user@anothermachine docker load
Wireguard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN.
$ sudo apt install wireguard resolvconf -y
$ sudo mv mywireguard.conf /etc/wireguard
$ sudo wg-quick up mywireguard
$ sudo ip link dev show mywireguard8: mywireguard: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000link/none
$ sudo wg-quick down mywireguard
zapzap is a desktop whatsapp client built for linux, and available to be installed via flathub. To install zapzap in ubuntu and its derivatives:
$ sudo apt update && sudo apt install flatpak -y
$ flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
$ sudo flatpak install flathub com.rtosta.zapzap