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

Add inet6 rule to pf.conf template #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

ddowse
Copy link

@ddowse ddowse commented Jan 14, 2022

The new rules will allow ine6 traffic passing the pf as well. Preventing accidental lockout/block of connection to target over ipv6.

@ddowse ddowse changed the title Inet6 Add inet6 rule to pf.conf template Jan 14, 2022
@yaazkal
Copy link
Owner

yaazkal commented Jan 14, 2022

Thanks for the PR!
I do think that just removing the inet word will support both IPv4 and IPv6, inet was more like a restriction. That way we can avoid line duplication and end up with a simpler file.

Do you mind to test if it works?
Something like:

antispoof for $ext_if
pass in proto tcp from any to any port ssh flags S/SA keep state

I removed the duplicated lines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants