[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problems with (perhaps) IPMASQ



Hello,

Carlos Enrique Carleos Artime a écrit :

 knoppix@A:~$ ping 192.168.2.1
 PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
 ping: sendmsg: Operation not permitted
 ping: sendmsg: Operation not permitted

Does anybody know where the problem is?

This message means that iptables drops the outgoing packets to that destination. I guess the ruleset allows communications on eth1 only with the 192.168.0.0/24 range.

root@A:~# iptables -L INPUT

The output of 'iptables -L' is incomplete (does not show interfaces and the 'nat' table), confusing (numeric addresses are translated into obscure names), bloated with irrelevant information and hard to read. 'iptables -nvL' is more complete and less confusing but still lacks the 'nat' table. Please use iptables-save instead.


Reply to: