Skip to content

Instantly share code, notes, and snippets.

@joestringer
Created July 8, 2015 23:04
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 joestringer/985ffd6705a55df2ccd2 to your computer and use it in GitHub Desktop.
Save joestringer/985ffd6705a55df2ccd2 to your computer and use it in GitHub Desktop.
OVS-ct ICMP related flows
AT_DATA([flows.txt], [dnl
priority=1,action=drop
priority=10,arp,action=normal
in_port=1,udp,action=ct(commit,zone=0),set_field:1->conn_mark,2
in_port=2,udp,conn_state=-trk,action=ct(recirc,zone=0)
in_port=2,icmp,conn_state=-trk,action=ct(recirc,zone=0)
in_port=2,udp,conn_state=+trk+est-new,action=1
in_port=2,icmp,conn_state=+trk+rel,conn_mark=1,action=1
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment