☰
Debian Codegraph
@
1.1.7-1
1.1.6-1
/
/
tests
/
shell
/
testcases
/
maps
/
anonymous_snat_map_0
☽
☼
tests/shell/testcases/maps/anonymous_snat_map_0
code
plain
raw
GPL-2
2008 Patrick McHardy <
[email protected]
>
debian/copyright
1
#!/bin/bash
2
3
# anonymous map can be added to a snat rule
4
5
set -e
6
$NFT add table nat
7
$NFT add chain nat postrouting
8
$NFT add rule nat postrouting snat ip saddr map {1.1.1.1 : 2.2.2.2}