Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Includes extra file with possible custom firewall rules. #99

Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -0,0 +1,12 @@
# custom nftables ruleset
# This file is included from /etc/firewall-conf/open-out.conf
# and contains custom firewall rules for inbound traffic
# rules can be added manually or by gui tools
# Maintained by Project Trident: https://project-trident.org

# uncomment to allow inbound ssh connections
#add rule inet filter input tcp dport 22 accept

# uncomment to allow inbound syncthing connections
#add rule inet filter input tcp dport 22000 accept
#add rule inet filter input udp dport 21027 accept
@@ -15,5 +15,7 @@ add rule inet filter input iif lo accept
add rule inet filter input ct state established,related accept
# IPv6 neighbor discovery
add rule inet filter input ip6 nexthdr icmpv6 icmpv6 type { nd-neighbor-solicit, echo-request, nd-router-advert, nd-neighbor-advert } accept
# include file with custum inbound rules
include custom-inbound.conf
# drop all other packets
add rule inet filter input counter drop