Skip to content

Instantly share code, notes, and snippets.

@arooni
Created August 3, 2012 23:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arooni/98985f154f06a4c7660a to your computer and use it in GitHub Desktop.
Save arooni/98985f154f06a4c7660a to your computer and use it in GitHub Desktop.
LinodeArooni /etc/ssl/certs: sudo iptables -t nat -L
sudo: unable to resolve host LinodeArooni
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
AS0_NAT_PRE_REL_EST all -- anywhere anywhere state RELATED,ESTABLISHED
AS0_DPFWD_UDP udp -- anywhere li25-146.members.linode.com udp dpt:openvpn state NEW
AS0_DPFWD_TCP tcp -- anywhere li25-146.members.linode.com tcp dpt:https state NEW
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
AS0_NAT_POST_REL_EST all -- anywhere anywhere state RELATED,ESTABLISHED
AS0_NAT_PRE all -- anywhere anywhere mark match 0x2000000/0x2000000
Chain AS0_DPFWD_TCP (1 references)
target prot opt source destination
DNAT tcp -- anywhere anywhere to:70.87.222.146:914
ACCEPT all -- anywhere anywhere
Chain AS0_DPFWD_UDP (1 references)
target prot opt source destination
DNAT udp -- anywhere anywhere to:70.87.222.146:918
ACCEPT all -- anywhere anywhere
Chain AS0_NAT (2 references)
target prot opt source destination
SNAT all -- anywhere anywhere to:70.87.222.146
SNAT all -- anywhere anywhere to:10.8.0.1
ACCEPT all -- anywhere anywhere
Chain AS0_NAT_POST_REL_EST (1 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
Chain AS0_NAT_PRE (1 references)
target prot opt source destination
AS0_NAT_TEST all -- anywhere 5.5.0.0/20
AS0_NAT_TEST all -- anywhere 192.168.0.0/16
AS0_NAT_TEST all -- anywhere 172.16.0.0/12
AS0_NAT_TEST all -- anywhere 10.0.0.0/8
AS0_NAT all -- anywhere anywhere
Chain AS0_NAT_PRE_REL_EST (1 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
Chain AS0_NAT_TEST (4 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere 5.5.0.0/20
AS0_NAT all -- anywhere anywhere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment