Hi, I want to get a ability of remote log on to my platforms that are inside a NAT’ed network.
WAN router is RB2011UAS-2HnD-IN
WAN port is eth10 with static IP address: xxx.xxx.47.18
There is only two subnets inside NAT’ed network :
xxx.xxx.10.0/24 on bridge 1 that compares ports from eth1 to eth5 and wlan1
xxx.xxx.5.0/30 on eth10 (WAN ethernet), I use this to get access to two UBIQUITI NanoBridge
I make masquerade with out interface eth10
I make some dst-nat that gives me remote access to UBIQUITI from Internet
I also make another dst-nat to get access to router boards that are inside the NAT’ed network xxx.xxx.10.0/24
and in this moment something is going wrong…
when I try to connect via winbox to router board from Internet i use WAN IP address and port that i set up in NAT rule
I see one or two packages that appears on this rule and its over
when I ping xxx.xxx.10.2 (one of RB IP address connected to RB2011) from RB2011 it works
when I add WAN IP src. address in advance chart ping tool then I GET TIMEOUTS
when I ping xxx.xxx.5.2 (one of UBIQUITI IP address conected to RB2011) from RB2011 it works
when i add WAN IP src. address in advance chart ping tool PING STILL WORKS
UBIQUITI network and WAN IP is on the same interface eth10
any suggestions why i cant ping xxx.xxx.10.2 from WAN IP xxx.xxx.47.18 ???
…and which of the two ips is the router using for that masquerade? If it uses the ip you used for the ping, then you should get a response. If it uses the other ip, you won’t.