Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
nftables /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
sysvinit
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
README
475
B
-rw-r--r--
2023-09-16 05:47
all-in-one.nft
1016
B
-rw-r--r--
2023-09-16 05:47
arp-filter.nft
129
B
-rw-r--r--
2023-09-16 05:47
bridge-filter.nft
197
B
-rw-r--r--
2023-09-16 05:47
ct_helpers.nft
1.23
KB
-rwxr-xr-x
2023-09-16 05:47
inet-filter.nft
187
B
-rw-r--r--
2023-09-16 05:47
inet-nat.nft
251
B
-rw-r--r--
2023-09-16 05:47
ipv4-filter.nft
182
B
-rw-r--r--
2023-09-16 05:47
ipv4-mangle.nft
74
B
-rw-r--r--
2023-09-16 05:47
ipv4-nat.nft
246
B
-rw-r--r--
2023-09-16 05:47
ipv4-raw.nft
137
B
-rw-r--r--
2023-09-16 05:47
ipv6-filter.nft
186
B
-rw-r--r--
2023-09-16 05:47
ipv6-mangle.nft
78
B
-rw-r--r--
2023-09-16 05:47
ipv6-nat.nft
253
B
-rw-r--r--
2023-09-16 05:47
ipv6-raw.nft
141
B
-rw-r--r--
2023-09-16 05:47
load_balancing.nft
1.81
KB
-rwxr-xr-x
2023-09-16 05:47
nat.nft
1.14
KB
-rwxr-xr-x
2023-09-16 05:47
netdev-ingress.nft
128
B
-rw-r--r--
2023-09-16 05:47
overview.nft
1.05
KB
-rwxr-xr-x
2023-09-16 05:47
pf.os
28.21
KB
-rw-r--r--
2023-09-16 05:47
secmark.nft
2.35
KB
-rwxr-xr-x
2023-09-16 05:47
sets_and_maps.nft
1.25
KB
-rwxr-xr-x
2023-09-16 05:47
workstation.nft
817
B
-rwxr-xr-x
2023-09-16 05:47
Save
Rename
#!/usr/sbin/nft -f # This example file shows how to use sets and maps in the nftables framework. # This script is meant to be loaded with `nft -f <file>` # For up-to-date information please visit https://wiki.nftables.org # symbolic anonymous set definition built from symbolic singleton definitions define int_if1 = eth0 define int_if2 = eth1 define int_ifs = { $int_if1, $int_if2 } define ext_if1 = eth2 define ext_if2 = eth3 define ext_ifs = { $ext_if1, $ext_if2 } # recursive symbolic anonymous set definition define local_ifs = { $int_ifs, $ext_ifs } # symbolic anonymous set definition define tcp_ports = { ssh, domain, https, 123-125 } delete table filter table filter { # named set of type iface_index set local_ifs { type iface_index } # named map of type iface_index : ipv4_addr map nat_map { type iface_index : ipv4_addr } map jump_map { type iface_index : verdict } chain input_1 { counter; } chain input_2 { counter; } chain input { type filter hook input priority 0 # symbolic anonymous sets meta iif $local_ifs tcp dport $tcp_ports counter # literal anonymous set meta iif { eth0, eth1 } counter meta iif @local_ifs counter meta iif vmap @jump_map #meta iif vmap { eth0 : jump input1, eth1 : jump input2 } } }