I’ve been using a nice Android app called Sketch a Day for a couple of weeks now. It gives a daily prompt, and users are expected to draw something and upload a photo in the app. Here are some things I’ve drawn in it so far.
Day: June 17, 2019
iptables port forwarding
Use case: make tomcat on port 8443 listen on port 443.
sudo iptables -A PREROUTING -t nat \
-i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
This will forward all traffic coming in on port 443 to the tomcat server listening on 8443.
(picked from here: https://mihail.stoynov.com/2011/04/04/howto-start-tomcat-on-port-80-without-root-privileges/)
To view, the usual -L and -F won’t show anything. Instead, use:
iptables -L -t nat
iptables -F -t nat






