Opening OpenWRT connections to outside

As I am in China, I need to have 2 networks at home :

  • one network directly connected to Chinese internet
  • one network going through a VPN installed on an OpenWRT Router

I have set up the following

The difficulty I have is that

  • From PC2 I can easily access PC1 and any other device on the main network (192.168.50.x)
  • BUT from PC1 I cannot access PC2 or any other device on the secondary network (192.168.0.x)

How can I change this? (set up my Open-WRT as passthrough)

  • Is there a reason you placed PC2 on a secondary network?
  • Is it your desire to disable Network Addresses Translation (NAT) or firewall so you can reach hosts from SRC 192.168.50.0/24 to DST using the LAN IP 192.168.0.x?
  • If so, is the Asus capable of configuring Static Routes?
  • Is there a reason you placed PC2 on a secondary network?

Yes PC2 needs to have access to the WWW and be behind a VPN. (its my server running docker services and it needs to have access to github for example)

Is it your desire to disable Network Addresses Translation (NAT) or firewall so you can reach hosts from SRC 192.168.50.0/24 to DST using the LAN IP 192.168.0.x?

I dont know what is best. I want to make sure that PC1 can access PC2.

  • If so, is the Asus capable of configuring Static Routes?

Yes it is and I already configured them. But the traffic is blocked by my OpenWRT router

If you have already added the following to the Asus*:

192.168.0.0/24 via 192.168.50.2 :white_check_mark:

Then:

  • Have you disabled masquerade on the OpenWrt WAN?
  • And allow forwarding from WAN to LAN?

OK...hopefully there's no other route information you haven't shared.

*(FYI, while some devices allow static routes, they fail to masquerade that traffic to the Internet. Not sure if Asus firmware has that issue.)