moved defines to their own file

This commit is contained in:
celso 2024-12-12 22:12:20 -03:00
parent 2dc73049b5
commit 7265c2ae20
2 changed files with 4 additions and 2 deletions

3
defines.nft Normal file
View File

@ -0,0 +1,3 @@
define SSH_PORT1 = 22
define SSH_PORT2 = 8022

View File

@ -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 {