Re: how to share internet connection in fedora

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux