[PLUTO-help] problema masquerade

gigiv gigiv2 a gmail.com
Ven 25 Mar 2005 13:00:09 CET


Ciao a tutti
ho un problemino  con iptables
(mandrake 9.2  K 2.4.22)
ho inserito questa regola per abilitare il nat della connessione verso
la rete interna
(per prova ho tutte le catene su ACCEPT)
[root a ciccio firwall-scriptiinfo]# /sbin/iptables -v -t nat -A
POSTROUTING -o ppp0 -j MASQUERADE

solo che non funziona,
da un controllo

[root a ciccio firwall-scriptiinfo]# iptables -L nat
iptables: Table does not exist (do you need to insmod?)

ma a me  il moduli sembra siano caricati tutti
mi date una dritta per favore

ciao
gigi

Bona Pasqua


ipt_TOS                 1592   0  (autoclean)
ipt_MASQUERADE          2200   2  (autoclean)
ipt_REJECT              3928   0  (autoclean)
ipt_LOG                 4120   2  (autoclean)
ipt_state               1048   2  (autoclean)
ipt_multiport           1176   0  (autoclean)
ipt_conntrack           1528   0  (autoclean)
iptable_filter          2316   1  (autoclean)
iptable_mangle          2712   0  (autoclean)
iptable_nat            20718   1  (autoclean) [ipt_MASQUERADE]
ip_conntrack           26212   3  (autoclean) [ipt_MASQUERADE ipt_state
ipt_conntrack iptable_nat]
ip_tables              15072  12  [ipt_TOS ipt_MASQUERADE ipt_REJECT ipt_LOG
ipt_state ipt_multiport ipt_conntrack iptable_filter iptable_mangle
iptable_nat]

ppp_generic            23908   3  [ppp_deflate bsd_comp ppp_async]


[root a ciccio firwall-scriptiinfo]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
212.43.104.2    *               255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         212.43.104.2    0.0.0.0         UG    0      0        0 ppp0



More information about the pluto-help mailing list