Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
iptables -t nat -N VIP-SERVICES
iptables -t nat -N VIP-DISTRIBUTION-NGINX
iptables -t nat -N VIP-DISTRIBUTION-NGINX-1
iptables -t nat -N VIP-DISTRIBUTION-NGINX-2
iptables -t nat -N VIP-POSTROUTING
iptables -t nat -I PREROUTING -j VIP-SERVICES
iptables -t nat -I OUTPUT -j VIP-SERVICES

Keybase proof

I hereby claim:

  • I am penglei on github.
  • I am penglei (https://keybase.io/penglei) on keybase.
  • I have a public key ASCgnWjQaq4myVegOjs_zsm-5r19fSRIMOYsCeeabaOBrAo

To claim this, I am signing this object: