Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hai, i have a problem with setting a fedora 9 as a router.
I have done the following:
1 comp (fedora) as a router, eth0=192.168.7.8, eth1=192.168.22.1.
1 comp as client of fedora, 192.168.22.2.
1 komputer sebagaicomp as a gateway, 192.168.7.1
i have made the connection, and made the following setting:
1. Set ip on eth0 & eth1 on the fedora
2. Set gateway = 192.168.7.1 (Windows comp as gateway)
3. Set NAT on iptables
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
for this one i've also try:
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.22.0/24 -j SNAT -to-source 192.168.7.8
4. Set ip forwarding on /etc/sysctl.conf
Af ter that, i can ping from 192.168.22.2 to 192.168.7.8 and juga 192.168.22.1.
But i can't ping from 192.168.22.2 to 192.168.7.1.
Is this normal? (why can't i ping to my gateway)
Is there anything wrong or missing on my setting?
Oh yea, i also already set the client gateway to 192.168.7.1, and then to 192.168.7.8, and then to 192.168.22.1.
(i tried all possibility).
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread should be closed because it is a duplicate of http://www.linuxquestions.org/questi...outer.-676182/.