mirror of
https://github.com/mirage/qubes-mirage-firewall.git
synced 2025-08-07 14:12:45 -04:00
Rationalised firewall rules syntax
Added explicit NAT target, allowing NAT even within client net and making it clear that NAT is used externally. Changed Redirect_to_netvm to NAT_to, and allow specifying any target host.
This commit is contained in:
parent
4032a5d776
commit
2002126b8b
11 changed files with 85 additions and 38 deletions
|
@ -11,7 +11,7 @@ type ports = {
|
|||
}
|
||||
|
||||
type host =
|
||||
[ `Client of client_link | `Unknown_client of Ipaddr.t | `Client_gateway | `Firewall_uplink | `External of Ipaddr.t ]
|
||||
[ `Client of client_link | `Unknown_client of Ipaddr.t | `Client_gateway | `Firewall_uplink | `NetVM | `External of Ipaddr.t ]
|
||||
|
||||
type info = {
|
||||
frame : Cstruct.t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue