We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2020-01-19 00:04:23 +0200

Default firewall rules block DHCP

Both DHCPv4 and DHCPv6 are blocked by default firewall rules in Sailfish OS 3.2.1.20(package connman-configs-sailfish), which breaks network configuration. Connecting to a stateful-ipv6 configured router won't work at all, and on stateless+dhcp ipv6 configuration, client won't get DNS configuration from router. IPv4 breaks too(wrong ip address assigned to the interface, somehow).

The solution is to add these firewall input rules:

IPv4.INPUT.RULES = -p upd -m multiport --ports 67:68 -j ACCEPT
IPv6.INPUT.RULES = -p udp -m multiport --ports 546:547 -j ACCEPT

[bug] Default firewall rules block DHCPDHCP +fix availible

Both DHCPv4 and DHCPv6 are blocked by default firewall rules in Sailfish OS 3.2.1.20(package connman-configs-sailfish), which breaks network configuration. Connecting to a stateful-ipv6 configured router won't work at all, and on stateless+dhcp ipv6 configuration, client won't get DNS configuration from router. IPv4 breaks too(wrong ip address assigned to the interface, somehow).

The solution is to add these firewall input rules:

IPv4.INPUT.RULES = -p upd -m multiport --ports 67:68 -j ACCEPT
IPv6.INPUT.RULES = -p udp -m multiport --ports 546:547 -j ACCEPT

[bug] Default firewall rules block DHCP +fix availible

Both DHCPv4 and DHCPv6 are blocked by default firewall rules in Sailfish OS 3.2.1.20(package connman-configs-sailfish), which breaks network configuration. Connecting to a stateful-ipv6 configured router won't work at all, and on stateless+dhcp ipv6 configuration, client won't get DNS configuration from router. IPv4 breaks too(wrong ip address assigned to the interface, somehow).

The solution is to add these firewall input rules:

IPv4.INPUT.RULES = -p upd udp -m multiport --ports 67:68 -j ACCEPT
IPv6.INPUT.RULES = -p udp -m multiport --ports 546:547 -j ACCEPT

[bug] Default firewall rules block DHCP +fix availible

Both DHCPv4 and DHCPv6 are blocked by default firewall rules in Sailfish OS 3.2.1.20(package connman-configs-sailfish), which breaks network configuration. Connecting to a stateful-ipv6 configured router won't work at all, and on stateless+dhcp ipv6 configuration, client won't get DNS configuration from router. IPv4 breaks too(wrong ip address assigned to the interface, somehow).

The solution is to add these firewall input rules:

IPv4.INPUT.RULES = -p udp -m multiport --ports 67:68 -j ACCEPT
IPv6.INPUT.RULES = -p udp -m multiport --ports 546:547 -j ACCEPT

UPD: I couldn't find the git for connman-configs-sailfish package, if someone knows where it is, please, tell me.

[bug] Default firewall rules block DHCP +fix availible

Both DHCPv4 and DHCPv6 are blocked by default firewall rules in Sailfish OS 3.2.1.20(package connman-configs-sailfish), which breaks network configuration. Connecting to a stateful-ipv6 configured router won't work at all, and on stateless+dhcp ipv6 configuration, client won't get DNS configuration from router. IPv4 breaks too(wrong ip address assigned to the interface, somehow).

The solution is to add these firewall input rules:

IPv4.INPUT.RULES = -p udp -m multiport --ports 67:68 -j ACCEPT
IPv6.INPUT.RULES = -p udp -m multiport --ports 546:547 -j ACCEPT

UPD: I couldn't find the git for connman-configs-sailfish package, if someone knows where it is, please, tell me.me. UPD2: Nevermind, connman-configs-sailfish is not open source