Aleksei Ilin
7a6c4ef3e7
nat: Add flag for specified range in DNAT ( #270 )
...
Example: meta l4proto tcp dnat to 10.200.45.6:9080
[ meta load l4proto => reg 1 ]
[ cmp eq reg 1 0x00000006 ]
[ immediate reg 1 0x062dc80a ]
[ immediate reg 2 0x00007823 ]
[ nat dnat ip addr_min reg 1 proto_min reg 2 flags 0x2 ]
2024-08-30 09:01:02 +02:00
turekt
912dee68b1
Refactor expr for obj reimplementation ( #265 )
...
Added marshalData func to expressions
Prepare parseexprfunc for obj implementation refactor
related to #253
2024-07-24 08:26:13 +02:00
Francesco Cheinasso
ef45dd3322
NAT: prefix support ( #251 )
2023-12-22 08:33:18 +01:00
thediveo
3e042f75d7
refactor: pass table family when un/marshalling expr
2022-05-15 23:12:26 +02:00
Serguei Bezverkhi
5d14089d2e
Adding to nat expression additional parameters ( #59 )
...
* Change in dnat logic to cover all combinations
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
* Add parameter to cover all possible nat combinations
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2019-09-06 08:28:27 +02:00
Michael Stapelberg
1324f5d5a9
add GetRule
2018-06-23 21:12:14 +02:00
Michael Stapelberg
05c74458a0
NAT: add RegProtoMax if >0
2018-06-14 22:26:30 +02:00
Michael Stapelberg
dab6002a09
add enough expressions to express port forwardings
2018-06-04 23:13:54 +02:00