Skip to content

Linux snippets

- Forward TCP Traffic via socat to an another IP

socat tcp-listen:80,reuseaddr,fork tcp:10.0.0.2:80
socat tcp-listen:443,reuseaddr,fork tcp:10.0.0.2:443

- Whats my outgoing IPv4 from CLI?

curl ip.syseleven.de -4

Remmina copy/paste does not Work with Wayland

Launch using ENV variable:

GDK_BACKEND=x11 remmina

Take screenshot to clipboard with Wayland

apt install flameshot wl-clipboard
flameshot gui --raw | wl-copy