Re: FC2 as a geteway

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

 



Am Mo, den 06.09.2004 schrieb priou um 20:45:

> your gatway not has our NAT correct !

Why do you say so?

> you have need a trick in the kind : 
> 
> # load le module nat in iptable 
> modprobe ip_nat_${normal_mod}_conntrack

No, why to load conntracking modules by hand?

>  -A FORWARD -i eth0 -s 192.168.0.0/16 -d 10.0.0.0/8 -j ACCEPT

What should that do? The OP has FORWADING policy set on ACCEPT.

>  -t nat -A POSTROUTING -s ${net} -o ${pub} -j MASQUERADE
> echo 1>/proc/sys/ipv4/ip/forward

Both he has set as pasted in his mail

> it's un exemple , change eth0 with ppp0 
> but the best it's : read the doc at : www.netfilter.org

> alex 

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.8-1.521smp 
Serendipity 01:35:34 up 7 days, 22:52, load average: 0.11, 0.11, 0.09 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux