cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1307
Views
0
Helpful
18
Replies

Resolving Double NAT Issues

Rolitto
Beginner
Beginner

Hi, I have the following scenario:

 

Internet/ISP-----Modem/Router R1-----Router R2-----PC/Server

                                       |

                                       |

                                       |

                    Mobiles, NAS, Printer, etc...

 

Local network of R1: 192.168.2.0/25.

Local network of R2: 192.168.1.0/28.

ISP is providing a public IP address x.x.x.x.

 

Now, here's what's happening:

  • PC/Server on the local network of R2 can access the Internet and ping other devices on the remote network.
  • Devices on the local network of R1 can access the Internet, but cannot ping PC/Server. However, they can ping the local (internal) interface of R2.

And here's what I tried:

  1. Disabling SPI, unchecking Block WAN ping requests, etc... did not solve the issue.
  2. Disabling NAT from R2 and placing it in Router mode did not solve the issue. It just made PC/Server unable to access the Internet and ping other devices on the remote network.
  3. Writing a static NAT rule on R1 helped in making devices on the local network of R1 be able to ping the local interface of R2 only and not PC/Server.
  4. Placing R2 inside the DMZ did not solve the issue either. Maybe, some port forwarding or ACL rules are required to fix it... I'm not sure yet.

Is there anything missing?

Any suggestion is highly appreciated...

18 Replies 18

Hello


@Rolitto wrote:

devices on R1's LAN cannot access to or ping devices on R2's LAN

devices on R2's LAN can access other devices on R1's LAN. 


So then for that happen there is no issue with routing it sounds like s security policy negating echo-reply returning from R2 to R1

R1 host initiate ping (echo request)  R2 hosts (echo-reply)  = fail
R2 host initiate ping (echo request)  R1 hosts (echo-reply)  = works


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Exactly.

I previously exchanged R2 (the DD-WRT router) with a very basic router with the least security options checked so that I wouldn't doubt about that. I had the same issues.

Hello
So PC/server doesn’t have a software fw and you say other device attached to R2 are experiencing the same thing, so it cannot be down to an individual device from Rtr2 lan perspective. And you are saying it isnt the WRT negating icmp and you have no access-list or security policy’s on R1....time for a debugging session I think!

So does that Dlink or WRT  rtr have the capab.ility to debug if not can you wireshark from the laptop?


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Yes, the PC/Server has the McAfee anti-virus installed on it, but when I completely disabled it (turned off firewall) and tested it, it didn't change much the outcome.

Besides that, the NAS was previously on the same network as the PC/Server and assigned with IP address 192.168.1.100, but wasn't replying to ping echo requests from any device on network 192.168.2.0/25. So you could tell it's not the firewall software on PC/Server that's causing all this.

In my opinion, there's a security policy hidden somewhere within other functionalities and that I'm not aware of, and/or a misconfiguration in the DMZ option.

The PC/Server has Wireshark installed on it and upon trying some debugging, I noticed that any ping echo request that I expected to get from, let's say, IP address 192.168.2.20 was simply not found in the Wireshark output. And I also tried from several devices on network 192.168.2.0/25, not just one to eliminate any doubt...

So I assumed that packets are reaching R2, but are not being forwarded by R2 to PC/Server or previously the NAS.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: