Hello!
I have the following network: A RB450G router with a PPPOE connection (static address), and a D-Link router with DSL connection.
I set up the masqueade, firewall rules, and it works fine, for the PPPOE connection (ether5), but I can not reach the server(s) from the 192.168.2.0 network. I tried to configure both of the routers, but I don't know what could be wrong (there is a dst-nat on the ether2 in interface, at the desired port). The packet arrives properly at the MT router, I can see in the NAT statistics, but the socket connection will not establish.
Secondly, I can not reach (not even ping) servers through MT Ether2 interface. In the MT rouring table there are two 0.0.0.0/0 routes, for the PPPOE connection (ether5) the distance is 0, for the Ether2 interface the distance is 3 (to make a failover internet connection). In the winbox the second def.gateway is not active (ether2). How should I configure the router, if the ether5 interface fails, then the ether2 interface should take the def.gateway role?
Edit:
So my routing table looks like this:
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
DST-ADDRESS PREF-SRC GATEWAY-STATE GATEWAY DISTANCE INTERFACE
1 ADS 0.0.0.0/0 reachable 192.168.128.253 1 pppoe-out1
2 DS 0.0.0.0/0 reachable 192.168.2.1 3 ether2
3 ADC 10.10.10.0/24 10.10.10.1 0 ether1
4 ADC 192.168.1.0/24 192.168.1.1 0 ether1
5 ADC 192.168.2.0/24 192.168.2.63 0 ether2
6 ADC 192.168.128.253/32 93.XXX.113.XX 0 pppoe-out1
And the NAT roule:
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade src-address=192.168.1.0/24
.....
3 ;;; permanent test from PPPOE
chain=dstnat action=dst-nat to-addresses=192.168.1.31 to-ports=3333 protocol=tcp in-interface=pppoe-out1 dst-port=3333
...
59 ;;; GPRS permanant test from DSL
chain=dstnat action=dst-nat to-addresses=192.168.1.31 to-ports=3333 protocol=tcp in-interface=ether2 dst-port=3333
