Skip to content

Instantly share code, notes, and snippets.

@tnozicka
Created March 13, 2017 12:56
Show Gist options
  • Save tnozicka/e72480de8a1a3588927fb6184d1bdcb4 to your computer and use it in GitHub Desktop.
Save tnozicka/e72480de8a1a3588927fb6184d1bdcb4 to your computer and use it in GitHub Desktop.
iptables-localhost-minikube
sysctl -w net.ipv4.conf.all.route_localnet=1
sudo iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination `minikube ip`:80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment