moved defines to their own file
This commit is contained in:
parent
2dc73049b5
commit
7265c2ae20
|
@ -0,0 +1,3 @@
|
||||||
|
define SSH_PORT1 = 22
|
||||||
|
define SSH_PORT2 = 8022
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
#!/usr/bin/nft
|
#!/usr/bin/nft
|
||||||
flush ruleset
|
flush ruleset
|
||||||
|
|
||||||
define SSH_PORT1 = 22
|
include "./defines.nft"
|
||||||
define SSH_PORT2 = 8022
|
|
||||||
|
|
||||||
table ip filter {
|
table ip filter {
|
||||||
set allowed_tcp_ports {
|
set allowed_tcp_ports {
|
||||||
|
|
Loading…
Reference in New Issue