Re: how to share internet connection in fedora
- From: moi <rainer@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 27 Nov 2007 17:56:49 +0100
The easy way to share the internet connection with some PCs in the back (assuming there is a correctly configured network) would be to enable IP-forwarding (with /etc/sysctl.conf -> enable ipV4_forward).
Second step would be to enable NAT, e.g. "iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE", assuming the internal network is 192.168.0.0/255.255.255.0. These rules can also be defined in /etc/sysconfig/iptables.
Either way, we know nothing of Azeez´ config and especially have no specs regarding his requirements. as a result, I would prefer to know more about the setup before telling him how to do this - just as Bill said (it was perhaps in a rude manner, but nonetheless perfectly ok).
regards
rainer
Paul Shaffer schrieb:
Azeez, what you need is not trite retorts from resident list imbeciles (see Bill's response below), but rather to employ an iptables firewall application/script. There are numerous available to meet any need from simple to enterprise-capable. Firestarter, Shorewall, and I believe there is a basic firewall configuration utility in the distro. The web-based firewall gui in Webmin provides a very simple rudimentary funtion for this. There are many others. Keywords: firewall, nat, masq.
v/r
Paul
*/Bill Davidsen <davidsen@xxxxxxx>/* wrote:
azeez khan wrote:
> hi
> can u plz explain me how to share internet connection in fedora os
>
Share it with what?
-- Bill Davidsen
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
-- fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
------------------------------------------------------------------------
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. <http://us.rd.yahoo.com/evt=51732/*http://overview.mail.yahoo.com/>
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- Re: how to share internet connection in fedora
- From: Paul Shaffer
- Re: how to share internet connection in fedora
- Prev by Date: Re: how to share internet connection in fedora
- Next by Date: Re: Serial Port Bug?
- Previous by thread: Re: how to share internet connection in fedora
- Next by thread: Re: how to share internet connection in fedora
- Index(es):
Relevant Pages
|