RE: RH8.0 as a internet router

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

 



route add -net 192.168.2.0 gw 192.168.?.? eth?  should do the trick.

-----Original Message-----
From: psyche-list-admin@redhat.com
[mailto:psyche-list-admin@redhat.com]On Behalf Of David Sudjiman
Sent: Sunday, December 22, 2002 9:18 PM
To: psyche-list@redhat.com
Subject: Re: RH8.0 as a internet router


I use linux as a firewall and as a router.

But, If I may recall my three-months ago, I did not suceed with my
ip_forward to just create the ip forwarding.

All i wanted to do is to make a connection between 192.168.1.0 and
192.168.2.0. I have to use NAT for this.

Did I do the right thing? Because all I know is I should not using NAT if
I only wanted for routing packets


On Sun, 22 Dec 2002, Chris Bice wrote:
> first : echo "1" /proc/sys/net/ipv4/ip_forward "enables ip forwarding"
>
> second : iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE "enables
nat"
>

thx
.dave

Psychoanalysis is that mental illness for which it regards itself a therapy.
		-- Karl Kraus

Psychiatry is the care of the id by the odd.

Show me a sane man and I will cure him for you.
		-- C.G. Jung



--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux