From 45a90b7c5aa82464daa166ca50df0443e660c4eb Mon Sep 17 00:00:00 2001 From: user1 Date: Wed, 6 Jul 2022 23:52:05 +0200 Subject: [PATCH] [C] Modify README --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8ce69ec..1636674 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# shell-scripte +### shell-scripte Nützliche shell-scripte ssh tunnel vom server oder zum server @@ -12,11 +12,11 @@ oder cat id_rsa.pub | ssh server 'cat>> ~/.ssh/authorized_keys' -# Zum suchen der libinput Treiber mit +### Zum suchen der libinput Treiber mit libwacom-list-local-devices for wort in /usr/share/libwacom/*; do if cat $wort | grep CTL-4100WL; then echo $wort; fi; done -# Port forwarding using OpenVPN client +### Port forwarding using OpenVPN client vps# iptables -t nat -A PREROUTING -p tcp --dport 9987 -j DNAT --to-destination 192.168.1.3 (mein Homeserver wenn ich richtig verstanden habe) vps# iptables -t nat -A POSTROUTING -p tcp --dport 9987 -j MASQUERADE @@ -32,3 +32,6 @@ sysctl -w net.ipv4.ip_forward=1 iptables -t nat -A PREROUTING -d 50.xxx.xxx.xxx -p tcp --dport 8081 -j DNAT --to-dest 192.168.2.86:8081 iptables -t nat -A POSTROUTING -d 192.168.2.86 -p tcp --dport 8081 -j SNAT --to-source 10.0.2.42 + +### Find and Remove old Syncthing Files +find -name "*.tmp" -exec rm -vf {} \;