Page 1 of 1

STATIC ROUTE NOT WORKING TROUGH VPN

Posted: Sat Feb 06, 2021 7:08 am
by abelardods
I have a vpn working beetween router A and router B and i need to reach a subnet in ROUTER A from my PC wich is connected to ROUTERB

ROUTER A
/ip address add address=192.168.3.0/24 interface=ether2 network=192.168.3.0
/ppp secret add local-address=10.xxx.xxx.254 name=ROUTERA password=xxx profile=Profile remote-address=10.xxx.xxx.155


ROUTER B
/ip address add address=172.16.50.30 interface=ether5 network=172.16.50.0
/interface sstp-client add connect-to=xxx.xxx.176.17 name=sstp-vpn password=xxxx profile=default-encryption user=ROUTERA
/ip route add distance=1 dst-address=192.168.3.0/24 gateway=10.xxx.xxx.254

MY PC got the ip 172.16.50.23 by DHCP from ROUTER B

ping from terminal in ROUTERB to 192.168.3.x it works
ping from MY PC command line to 192.168.3.x didn't work

any ideas?

thank you!

Re: STATIC ROUTE NOT WORKING TROUGH VPN  [SOLVED]

Posted: Sat Feb 06, 2021 9:11 am
by akakua
Add static route to 172.16.50.0 on router A.

Re: STATIC ROUTE NOT WORKING TROUGH VPN

Posted: Sun Feb 07, 2021 11:13 pm
by abelardods
Thank you!