[Gllug] missing something simple on iptables config

Juergen.Schinker ba1020 at homie.homelinux.net
Mon Apr 28 20:53:21 UTC 2008


Ashley Evans schrieb:
>> Ashley,
>>
>> What is your masquerade rule? (iptables -t nat -L)
>>
>> Perhaps that isn't working for routing to 192.168.67.0?
>>
>> Kind Regards,
>>
>> Andy
>>
>> ---
>> Andy Millar
> 
> Cheers Andy.
> 
> DNAT       tcp  --  anywhere             anywhere            tcp dpt:5001 to:192.168.67.1:3389
> 
> and for good measure here's the routing table entry:
> 
> 192.168.67.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 
> I really can't think what I'm missing.
> 
> I should probably set-up shorewall or similar because this box is starting to get more use for routing.  For the moment though it'll have to work like this.
> 
> 
try this
iptables -t raw -A PREROUTING -i eth1 -j NOTRACK




-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list