File: drvnetwork.rst

package info (click to toggle)
libvirt 11.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 211,176 kB
  • sloc: ansic: 537,214; xml: 335,516; python: 12,041; perl: 2,626; sh: 2,185; makefile: 448; javascript: 126; cpp: 22
file content (28 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
==============
Network driver
==============

.. contents::

Platform-specific notes
=======================

FreeBSD
-------

FreeBSD netowork driver uses the pf firewall. Libvirt managed pf rules
are created within anchors. Anchors need to be configured manually by
the user. Sample ``/etc/pf.conf`` might look like:

::

 scrub all

 nat-anchor "libvirt\*"
 anchor "libvirt\*"

 pass all


Users are not expected to manually modify rules in the ``"libvirt\*"``
subanchors because the changes will be lost on restart.