iptables --flush confusion
Aviss,Tyler
tjaviss-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sun May 31 03:03:01 UTC 2009
Flush clears the firewall rules, although for NAT I believe you need
"--flush -t nat"
I assume you're connecting the the WAN OP, but maybe a leftover NAT
rule is redirecting you connection, or the daemon you're connecting to
doesn't listen on that port/IP? You could test with "tcplisten" or
possibly "nc" for connections.
(sent from my phone, so please excuse the typos)
On 30-May-09, at 2:22 PM, simon-tlug-GaisZHhRk3c at public.gmane.org wrote:
> I have a router set up to do NAT that's using iptables, with
> net.ipv4.ip_forward=1, and I'm somewhat confused why when I do an
> 'iptables --flush', I'm no longer able to connect to it from another
> device that is on the same subnet that the 'wan' interface is on.
>
> Does anyone know why this is? Am I misunderstanding what it is that
> --flush does, or some other basic networking concept?
>
> Cheers,
> spd
> --
> The Toronto Linux Users Group. Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list