Hello,
I'm trying to setup a new router and I am experiencing something strange there.
Here's the situation:
- router A is my router, running fine on latest OpenWRT 21
- there are two vlans on A:
- 1.1.1.0/24: home network
- 2.2.2.0/24: dmz
- my working pc is on 1.1.1.2
- a Raspberry Pi is on 2.2.2.2
Everything works as it is supposed to: both machines can reach the internet, my home network can reach the dmz, but not vice versa.
Enter router B, which has been freshly flashed with latest OpenWRT 22 and is to be setup for a similar scenario. To make things a bit easier, I want to make B part of my dmz, so I can open A and B simultaneously inside browser tabs and do some copy&paste. Sadly, A and B contain some different hardware, so I can not simply copy the hole configuration. I tried that and B wouldn't start at all.
I booted B in recovery mode and changed it's ip from 192.168.1.1 to 2.2.2.20/24 and then I rebooted and connected B to the dmz port on A.
So, now you would expect that B is just another machine inside the dmz and that it should behave like any other machine inside that network. But here comes the fishy part: my pc can not reach B, no matter what I try, while the Raspberry still can be reached normally by my pc.
But: I can ssh into A and then ssh into B from there.
At the same time I can ssh into the Raspberry from my pc just like always!
I do not understand what is going on there. I checked every firewall rule and there are no manual routing tables. I even deactivated the firewall completely once, but still it does not work. I also tried by changing B to completely mimic the Raspberry by setting its ip to the Raspberry's ip, but still B can not be reached from my pc. But still it can be reached using cascaded ssh.
Is there any secret feature in OpenWRT that keeps it from being used the way I am trying to? Can anyone make any sense of my wring and/or this situation?
Any help is highly appreciated! Just let me know which information is need in particular to solve this riddle, but please be a bit gentle to me, because I am just a novice among the circle of router wizards.
Thank you in advance!