Hi, when connman connects two or more services at the same time, then it is possible that Linux kernel setting will prevent proper routing from happening as many distros set the IPv4 knob /proc/sys/net/ipv4/conf/all/rp_filter to 1. Setting the knob to value 2 will fix the routing issue.
This patch sets to rp_filter to value 2 when two or more services are connected at the same time. The original value is restored when other services are disconnected and only one service is connected. Cheers, Jukka Jukka Rissanen (2): ipconfig: set/unset IPv4 rp_filter setting service: Activate loose mode routing src/connman.h | 4 ++ src/ipconfig.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/service.c | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 179 insertions(+), 0 deletions(-) _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman