diff options
| author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2019-08-26 12:17:09 +0300 |
|---|---|---|
| committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2019-08-26 12:17:09 +0300 |
| commit | 3edb53782e1eadc4dd481794be2fc328765236f9 (patch) | |
| tree | 12843ffe9d80fe41252a9c1219659ef98af8dc6d /test/optional | |
| parent | 046029d01e342960f072263ac78017afaff62e30 (diff) | |
| download | awall-3edb53782e1eadc4dd481794be2fc328765236f9.tar.bz2 awall-3edb53782e1eadc4dd481794be2fc328765236f9.tar.xz | |
test: filter-dnat
Diffstat (limited to 'test/optional')
| -rw-r--r-- | test/optional/filter-dnat.json | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/optional/filter-dnat.json b/test/optional/filter-dnat.json new file mode 100644 index 0000000..ca294ba --- /dev/null +++ b/test/optional/filter-dnat.json @@ -0,0 +1,16 @@ +{ + "filter": [ + { + "in": "A", + "dest": "192.168.0.1", + "service": "smtp", + "dnat": "10.0.0.1" + }, + { + "in": "A", + "dest": "192.168.0.2", + "service": "http", + "dnat": { "addr": "10.0.0.2", "port": 8080 } + } + ] +} |
