FC2 as a geteway

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Mon Sep 6 23:37:16 UTC 2004


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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040907/d3a5bd54/attachment-0001.sig>


More information about the fedora-list mailing list