>See if your iptables setup is blocking anything
Iptables has policy 'ACCEPT' in all chains and all tables(mangle, nat and filter), so the problems shouldn't be there...
>Does the counters increase when sending to your wireless?
I don't know which counter you mean, but I use Ethereal to analyze whats is coming in on the interface, and all packets sent to the interface is received - e.g., can be seen in Ethereal - but not delivered up to my program...
>What does your routing table say? (route -n)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.6.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.0.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 10.0.6.1 0.0.0.0 UG 0 0 0 eth0
Where 'eth1' is my wireless interface and 'eth0' the wired one.
The computer sending to the wireless interface has IP address: 10.0.4.2 and the protocol is UDP (and both has bound the same port). The packet will start arriving up to my program if I either:
¤ add a route back to the sending computer, e.g., 'route add -host 10.0.4.2 dev eth1'
¤ add a default gateway to 'eth1', e.g., 'route add default gw 10.0.1.1 dev eth1'
But if none of these routes is present in my routing table no packets arrives up to my program, and in my program, it isn't possible that I may know the sending IP address (or IP network address) beforehand
, and as I sad I don't want a default gateway on my 'eth1' interface.