LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   CentOS Gateway. Packets with local IP are on the WAN interface. (http://www.linuxquestions.org/questions/linux-networking-3/centos-gateway-packets-with-local-ip-are-on-the-wan-interface-906692/)

lesh 10-06-2011 02:39 AM

CentOS Gateway. Packets with local IP are on the WAN interface.
 
Hello guys!
Throw our billing (using libpcap) I see than on external interface (eth1) on our gateway there are outbound packets with source IP from local network. This is the iptables rule for SNAT:
Code:

-t NAT -A POSTROUTING -o eth1 -j SNAT --to-source external-IP
Now I use tcpdump to shiff this packets to show it's content. But I'm confused.

eSelix 10-06-2011 05:36 AM

Show routing table and content of that packets (without data).

lesh 10-06-2011 05:37 AM

Well, I've sniffed this packets and its MAC-s. It's not outgoing but incoming packets from my ISP's gateway. That's strange, but the problem has gone =)


All times are GMT -5. The time now is 06:35 AM.