I want to use a public IP block that i own in one other site in a dynamic IP LTE mikrotik
Public IP range: 1x.168.109.0/27
CHR core: 1x.168.109.25
Public IP block that i want to asssign to LTE router:1x.168.109.28/30
Public IP remote LTE Mikroitk: 1x.168.109.29/30
Public IP remote device under LTE Mikroitk: 1x.168.109.30/30 with default gateway 1x.168.109.29
The routers are connected via SSTP.
Remote router with IP 1x.168.109.29 works perfectly, but i can't reach in any way the 1x.168.109.30
Those are the routers config:
Code: Select all
CHR:
/ppp profile
add local-address=10.0.2.1 name=sstp remote-address=10.0.2.2
/interface sstp-server server
set enabled=yes
/ip address
add address=1x.168.109.25/27 interface=ether2 network=1x.168.109.0
/ip arp
add address=1x.168.109.29 interface=ether2 published=yes
add address=1x.168.109.30 interface=ether2 published=yes
/ip route
add check-gateway=ping distance=1 gateway=1x.168.109.1
add distance=1 dst-address=1x.168.109.28/30 gateway=10.0.2.2
/ppp secret
add name=aaa password=aaa profile=sstp service=sstp
Remote LTE:
/interface lte apn
add apn=smartweb24.tim.it default-route-distance=1 name=apn1
/interface lte
set [ find ] allow-roaming=yes apn-profiles=apn1 mac-address=AC:FF:FF:00:00:00 name=lte1 pin=
/interface sstp-client
add connect-to=1x.168.109.25 disabled=no name=sstp-out1 password=aaa profile=default-encryption user=aaa verify-server-address-from-certificate=no
/ip address
add address=1x.168.109.29/30 interface=ether1 network=1x.168.109.28
/ip firewall mangle
add action=mark-routing chain=output dst-address=!1x.168.109.25 new-routing-mark=to-chr passthrough=yes
add action=mark-routing chain=output new-routing-mark=to-lan out-interface=ether1 passthrough=yes
/ip route
add distance=1 gateway=10.0.2.1 routing-mark=to-chr
add distance=1 dst-address=1x.168.109.30/32 gateway=ether1 routing-mark=to-lan
Can u help me to reach the 1x.168.109.30 from WAN?
Traceroute from CHR:
tool traceroute 1x.168.109.30
# ADDRESS LOSS SENT LAST AVG BEST WORST STD-DEV STATUS
1 10.0.2.2 0% 3 39.7ms 58.5 39.7 74 14.2
2 1x.168.109.30 0% 3 55.9ms 77 55.9 98 21.1
Thanks