# meta l4proto 17 tproxy ip to 192.0.2.1 [ { "match": { "left": { "meta": { "key": "l4proto" } }, "op": "==", "right": 17 } }, { "tproxy": { "addr": "192.0.2.1", "family": "ip" } } ] # meta l4proto 6 tproxy ip to 192.0.2.1:50080 [ { "match": { "left": { "meta": { "key": "l4proto" } }, "op": "==", "right": 6 } }, { "tproxy": { "addr": "192.0.2.1", "family": "ip", "port": 50080 } } ] # meta l4proto 6 tproxy ip6 to [2001:db8::1] [ { "match": { "left": { "meta": { "key": "l4proto" } }, "op": "==", "right": 6 } }, { "tproxy": { "addr": "2001:db8::1", "family": "ip6" } } ] # meta l4proto 17 tproxy ip6 to [2001:db8::1]:50080 [ { "match": { "left": { "meta": { "key": "l4proto" } }, "op": "==", "right": 17 } }, { "tproxy": { "addr": "2001:db8::1", "family": "ip6", "port": 50080 } } ] # meta l4proto 17 tproxy to :50080 [ { "match": { "left": { "meta": { "key": "l4proto" } }, "op": "==", "right": 17 } }, { "tproxy": { "port": 50080 } } ]