Re: iptables help
From: Juha Laiho (Juha.Laiho_at_iki.fi)
Date: 10/14/03
- Next message: Puff Addison: "Re: Converting pseudo-tty to IP Address"
- Previous message: Hank Kingwood: "Re: What Are These Files In /etc/sysconfig/network-scripts?"
- In reply to: grafyt: "Re: iptables help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 14 Oct 2003 20:32:21 GMT
vze2bd6u@verizon.net said:
>thanx... tried both those things... edited /etc/sysctl.conf and changed
>the 0 to 1 then issued the iptables -t nat -I POSTROUTING -o eth1 -j
>MASQUERADE but did not get out through the windows boxes... tried a
>reboot and a reissue... still not getting out... when i did a iptables
>-L i did not see that rule in the out put...
>
>confussed and still trying...
You'll see it with "iptables -t nat -vL". Ok, without the 'v' flag as
well, but omitting it IMHO cripples the iptables output next to useless.
But that looks strange -- it should be working. One thing to check is
whether the counters on that rule increment when you attempt to
communicate from the LAN machines.
Then of course you can try to run tcpdump on each of the interfaces
to see whether
- the packets even arrive to the gateway machine
- the packets go out from the other interfae of the gateway
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
- Next message: Puff Addison: "Re: Converting pseudo-tty to IP Address"
- Previous message: Hank Kingwood: "Re: What Are These Files In /etc/sysconfig/network-scripts?"
- In reply to: grafyt: "Re: iptables help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|