Created
March 13, 2017 12:56
-
-
Save tnozicka/e72480de8a1a3588927fb6184d1bdcb4 to your computer and use it in GitHub Desktop.
iptables-localhost-minikube
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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