Skip to content

Instantly share code, notes, and snippets.

@vnugent
Last active August 29, 2015 14:08
Show Gist options
  • Save vnugent/349f0eec48734ce721a7 to your computer and use it in GitHub Desktop.
Save vnugent/349f0eec48734ce721a7 to your computer and use it in GitHub Desktop.
# Generated by iptables-save v1.4.19.1 on Fri Oct 31 12:21:46 2014
*nat
:PREROUTING ACCEPT [4:192]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:KUBE-PROXY - [0:0]
-A PREROUTING -j KUBE-PROXY
-A OUTPUT -j KUBE-PROXY
-A KUBE-PROXY -d 10.254.0.1/32 -p tcp -m comment --comment jon-demo-endpoint -m tcp --dport 56000 -j REDIRECT --to-ports 57405
COMMIT
# Completed on Fri Oct 31 12:21:46 2014
# Generated by iptables-save v1.4.19.1 on Fri Oct 31 12:21:46 2014
*filter
:INPUT ACCEPT [14491:1590871]
:FORWARD ACCEPT [8:460]
:OUTPUT ACCEPT [13030:1168087]
COMMIT
# Completed on Fri Oct 31 12:21:46 2014
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment