Good day dears
We have got:
router RB750Gr3 (RouterOS v6.49.8 (stable));
WAN (ethernet) /29 network, for instance, 1.1.1.1/29, where 1.1.1.1 is gateway (at provider’s side), 1.1.1.2 is WAN’s address of my router;
LAN /24 network, 192.168.22.1/24;
LAN server with primary ip 192.168.22.240 and secondary ip 1.1.1.3 (has got only one ethernet port with two ip addresses);
I created route to server (record number 2):
[admin@router] /ip route> print
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 DISTANCE
0 A S 0.0.0.0/0 1.1.1.1 1
1 ADC 1.1.1.1/29 1.1.1.2 ether1 0
2 A S 1.1.1.3/32 192.168.22.240 1
...
Internal hosts (192.168.22.1/24) could ping 1.1.1.3, but from internet 1.1.1.3 is not ping-able.
If I add secondary ip (1.1.1.3) to router’s WAN port everything works (1.1.1.3 could be pinged as from LAN as from internet) but traffic is not forwarded to server (routing rule I told above does not work but I suppose it is normal behavior for these settings) and all I ping is router’s WAN port instead of server.
(By the way, this behavior confirms that my internet provider correctly announced my /29 network)
Could you please tell me how to configure access from internet to server with 1.1.1.3 or share with me link to manuals with about my issue?
I realize that my question is/could be [very] popular but I do not know how “forwarding all traffic for one white address to internal host” is named correctly to find solution by myself.