Skip to content

Instantly share code, notes, and snippets.

View felipemoraes's full-sized avatar

Felipe Moraes felipemoraes

  • Booking.com
  • Amsterdam, The Netherlands
View GitHub Profile
@felipemoraes
felipemoraes / iptables.sh
Created April 1, 2019 08:44 — forked from danibram/iptables.sh
Redirect 443,80 to 8443,8080 on ubuntu with persistence
sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8443
sudo sh -c "iptables-save > /etc/iptables.rules"
sudo apt-get install iptables-persistent
@felipemoraes
felipemoraes / 0.useful.md
Last active March 10, 2024 19:55
Machine Learning Interview Questions