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

Allow inherit/ip_hostname as IP options #830

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

Conversation

tschettervictor
Copy link
Collaborator

@tschettervictor tschettervictor commented Jan 29, 2025

#788
#369
#702
#535
#521

Testing

create jail with the below options

inherit as the IP
ip_hostname as the IP
Then do both the above with the "-D|--dual" switch and you should find that it will set them for "ip4" and "ip6"
If you do not ise the -D option, IP6 will be disabled and only ip4 will be set.

Ensure that jails start and stop properly with all the above combinations.

Note: You might need PR #765 if you use RDR at all.

@bmac2
Copy link
Collaborator

bmac2 commented Feb 3, 2025

tested on my server with ipv4. Works as advertised. I don't have ipv6 on my network so did not test that.

@yaazkal AFTER 765 this one is ready to test

@tschettervictor

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