summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2019-05-14 15:01:52 +0200
committerLinus Färnstrand <linus@mullvad.net>2019-05-14 22:23:50 +0200
commitb10c15deb38054ea725d42b4027b0c8a1ad627d1 (patch)
tree15c062aafecf72bfd8ae37d9dde02cf70d9b1c7a
parent514d2e6532afed867cb7f7dedf4a77182672496d (diff)
downloadmullvadvpn-b10c15deb38054ea725d42b4027b0c8a1ad627d1.tar.xz
mullvadvpn-b10c15deb38054ea725d42b4027b0c8a1ad627d1.zip
Describe allowing being a DHCPv4 server in documentation
-rw-r--r--talpid-core/src/firewall/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/talpid-core/src/firewall/mod.rs b/talpid-core/src/firewall/mod.rs
index 79737fd2e5..1480392b18 100644
--- a/talpid-core/src/firewall/mod.rs
+++ b/talpid-core/src/firewall/mod.rs
@@ -89,6 +89,9 @@ const DHCPV6_CLIENT_PORT: u16 = 546;
/// 4. If `allow_lan` is enabled, all policies should allow the following traffic:
/// * Outgoing to, and incoming from, any IP in the networks listed in ALLOWED_LAN_NETS
/// * Outgoing to any IP in the networks listed in ALLOWED_LAN_MULTICAST_NETS
+/// * Incoming DHCPv4 requests and outgoing responses (be a DHCPv4 server):
+/// * Incoming from *:DHCPV4_CLIENT_PORT to 255.255.255.255:DHCPV4_SERVER_PORT
+/// * Outgoing from *:DHCPV4_SERVER_PORT to *:DHCPV4_CLIENT_PORT
///
/// ## Policy specific rules
///