Bug 5596 - drakgw doesn't make needed firewall settings clear.
Summary: drakgw doesn't make needed firewall settings clear.
Status: RESOLVED DUPLICATE of bug 4678
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2012-04-24 21:27 CEST by Denis Prost
Modified: 2012-05-28 02:31 CEST (History)
1 user (show)

See Also:
Source RPM: drakx-net-0.97.2-1.mga1.src.rpm
CVE:
Status comment:


Attachments

Description Denis Prost 2012-04-24 21:27:08 CEST
this is on Mageia 2 Beta 3.
My computer is connected to the internet through a speedtouch usb modem.
So ppp0 is up and works fine.
I'm trying to share that connection with another computer on a local network (eth0).
So I click on MCC / Network & Internet / share internet connection...
On the window that appears, I click on next, then I get a message telling me that no configured lan adapter exists, so the ICS configuration fails.

So I get back to network center and click on the "wired (ethernet)" configure button and set its IP address to static 192.168.0.1, mask 255.255.255.0.

Then, again, MCC / Network & Internet / share internet connection... but, after two screens, I still get the message telling me that no configured lan adapter exists, though "ifconfig eth0" returns :

eth0      Link encap:Ethernet  HWaddr 00:1C:7E:0A:19:B8  
          inet adr:192.168.0.1  Bcast:192.168.0.255  Masque:255.255.255.0
          adr inet6: fe80::21c:7eff:fe0a:19b8/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11638 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11090 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          RX bytes:7871124 (7.5 MiB)  TX bytes:1250960 (1.1 MiB)
          Interruption:20 Mémoire:ffcc0000-ffce0000 

So, there seems to be no way to achieve ICS configuration in my situation, unless I miss something.
Comment 1 Dave Hodgins 2012-04-24 23:21:43 CEST
Make sure eth0 is not in /etc/shorewall/interfaces.

CC: (none) => davidwhodgins

Comment 2 Denis Prost 2012-04-25 08:52:53 CEST
It was, so I removed the corresponding line, making /etc/shorewall/interfaces empty. I also checked the shorewall service state : it was stopped.
Then I tried again to configure the ICS, but still the same error saying no configured lan adapter exists, though "ifconfig eth0" still returns :

eth0      Link encap:Ethernet  HWaddr 00:1C:7E:0A:19:B8  
          inet adr:192.168.0.1  Bcast:192.168.0.255  Masque:255.255.255.0
          adr inet6: fe80::21c:7eff:fe0a:19b8/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          RX bytes:0 (0.0 b)  TX bytes:13675 (13.3 KiB)
          Interruption:20 Mémoire:ffcc0000-ffce0000
Comment 3 Dave Hodgins 2012-04-25 21:30:24 CEST
If I'm reading /usr/sbin/drakgw correctly, shorewall has to
be enabled for the internet device, but not the lan device.

Try enabling shorewall, but make sure it's only for ppp0.
Comment 4 Denis Prost 2012-04-26 08:39:58 CEST
Great, that did the trick, thanks !
Maybe :
- either it should be mentioned somewhere in the ICS configuration wizard that the firewall must be enabled for the interface connected to the internet and disabled pour the other ones.
- or the ICS configuration wizard should propose to automatically perform the needed shorewall configuration modifications.
Otherwise, other non expert users will probably be stuck with this problem like I was.
I'm leaving this bug open until something is done about it, unless you think for some reasons that what I propose is irrelevant.
Comment 5 Dave Hodgins 2012-04-27 00:13:33 CEST
I agree that the message in drakgw should make this much clearer,
or, propose to do it.

Summary: unable to configure internet connection sharing => drakgw doesn't make needed firewall settings clear.
Source RPM: (none) => drakx-net-0.97.2-1.mga1.src.rpm

Comment 6 Marja Van Waes 2012-05-26 13:08:26 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 7 Dave Hodgins 2012-05-28 02:31:52 CEST
Closing as a duplicate of bug 4678.

*** This bug has been marked as a duplicate of bug 4678 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE


Note You need to log in before you can comment on or make changes to this bug.