Skip to content

Suggest to automatically configure Secure VNET firewall #31

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

Open
gronke opened this issue Apr 10, 2019 · 1 comment
Open

Suggest to automatically configure Secure VNET firewall #31

gronke opened this issue Apr 10, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@gronke
Copy link
Member

gronke commented Apr 10, 2019

The Secure VNET feature requires IPFW to be running and configured to filter ethernet bridges. Manual steps for a minimal configuration are:

sysrc firewall_type=open
sysrc firewall_enable=YES
service ipfw start
sysctl net.link.ether.ipfw=1
sysctl net.link.bridge.ipfw=1
# permanently enable sysctls
echo "net.link.ether.ipfw=1" >> /etc/sysctl.conf
echo "net.link.bridge.ipfw=1" >> /etc/sysctl.conf

see also https://bsdci.github.io/handbook/features/networking/

When the firewall is not properly configured, a dialog should ask the user to apply the above configuration.

@gronke gronke added the enhancement New feature or request label Apr 10, 2019
@igalic
Copy link
Collaborator

igalic commented Apr 10, 2019

is that on the host or in the jail?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants