Hotspot and Burp suite

Add

sudo iptables -t nat -A PREROUTING -i wlp9s0 -p tcp --dport 80 -j REDIRECT --to-ports 8080

sudo iptables -t nat -A PREROUTING -i wlp9s0 -p tcp --dport 443 -j REDIRECT --to-ports 8443

Delete

sudo iptables -t nat -D PREROUTING -i wlp9s0 -p tcp --dport 80 -j REDIRECT --to-ports 8080

sudo iptables -t nat -D PREROUTING -i wlp9s0 -p tcp --dport 443 -j REDIRECT --to-ports 8443