Confirm: letting certain packages pass through un-natted

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

 




Hello!

Could somebody please confirm whether or not I'm doing this right?

I am using, in my nat table:

-A PREROUTING -s 192.168.0.0/16 -d 192.168.1.1 -j ACCEPT

Shouldn't all packets, including ICMP packets, get passed through to 192.168.1.1 if originating from the local network?

BTW, I'm not sure why I can communicate with the 192.168.2 subnet, but not my 192.168.1 subnet... Only the machine directly connected to 192.168.1.1 is able to communicate with it...

My routing table looks like this:

bla bla bla
192.168.1.0   *    255.255.255.0    U   0   0   0   eth0
bla bla bla

which seems correct.


So, I'm not so sure why this isn't working...


Any hints?


Thanks!!!

Dave



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux