./configure script for networkmanager needs the path of the iptables executable passed as an argument, like: ./configure --with-iptables=/path/to/iptables The current ebuild only has: $(use_with connection-sharing iptables) which translate to --with-iptables. This sets the iptables path to yes, as you can see in the generated config.h #define IPTABLES_PATH "yes" You can verify this if you try to share your internet connection and see that syslog has several lines: yes --table filter --insert INPUT --in-interface eth1 --protocol tcp --destination-port 53 --jump ACCEPT which obviously fails. Reproducible: Always
Created attachment 210142 [details, diff] ebuild.patch Untested patch
(In reply to comment #1) > Created an attachment (id=210142) [details] > ebuild.patch > > Untested patch > Patch tested and seems ok.
Configure scripts detects it's location automatically. If enabled configure checks for iptables location in /sbin and /usr/sbin: AC_PATH_PROG(IPTABLES_PATH, iptables, [], $PATH:/sbin:/usr/sbin) So if this doesn't work - it's a bug in NM code. I'll investigate it closer and consult with NM author. Thanks for your report!
Can you please test if you still have the same issue with NM-0.8.1?