diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -32,8 +32,17 @@ host, beyond, or each other. Each tap has a fixed address, and the bridge drops anything a guest sends from another, so the proxy knows whose a connection is. It needs `networking.nftables` (and enables it). -Optional argument: `proxyPort` (default 10443, where the proxy listens; -the guests' port 443 gets redirected there). +Optional arguments: + +- `proxyPort` (default 10443): where the proxy listens; the guests' port + 443 gets redirected there. +- `denyDestinations`: addresses no user's rules can open, neither for + tcp:// and udp:// rules nor through the proxy, whatever a name resolves + to. Default: loopback, private, link-local, CGNAT, multicast and the + like (IPv4 and IPv6). The host's own addresses are always out of reach + (but for DHCP, DNS and the proxy). +- `maxConnections` (default 256) and `maxNewConnections` (default 50 per + second): limits per guest, so one user can't starve the others. If the host has a firewall of its own, it has to let the guests in on `fcbr0`: udp 67 (DHCP), udp and tcp 53 (DNS), and tcp 10443 (the proxy). @@ -99,8 +108,9 @@ refused. tcp:// and udp:// rules take IPv4 addresses (a guest resolves every name to the host, so it has to use addresses for these, too). Those -connections get forwarded, NATed to the host's address, or, if they're -for one of the host's addresses, let in. If the host has a forward +connections get forwarded, NATed to the host's address, and logged +(rate-limited, kernel log; `fc-egress log` shows them), as are refused +ones. If the host has a forward chain of its own, it has to let them through, too (anything from `fcbr0`; this module rejects what isn't allowed). |
