Created
April 15, 2016 13:35
-
-
Save dtatulea/dad10867ea33acdf1939f10999551385 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[vagrant@f23t vagrant]$ cat test.nft | |
#! @sbindir@nft -f | |
table ip connman { | |
chain nat-prerouting { | |
type nat hook prerouting priority 0; | |
} | |
chain nat-postrouting { | |
type nat hook postrouting priority 0; | |
} | |
chain filter-output { | |
type filter hook output priority 0; | |
} | |
} | |
[vagrant@f23t vagrant]$ sudo nft -f test.nft | |
[vagrant@f23t vagrant]$ sudo nft list tables | |
table ip connman | |
[vagrant@f23t vagrant]$ sudo nft list chains | |
table ip connman { | |
chain nat-prerouting { | |
type nat hook prerouting priority 0; policy accept; | |
} | |
chain nat-postrouting { | |
type nat hook postrouting priority 0; policy accept; | |
} | |
chain filter-output { | |
type filter hook output priority 0; policy accept; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment