Community discussions

MikroTik App
 
User avatar
abelardods
just joined
Topic Author
Posts: 19
Joined: Thu Jul 05, 2018 6:31 am
Location: MEXICO
Contact:

STATIC ROUTE NOT WORKING TROUGH VPN

Sat Feb 06, 2021 7:08 am

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!
 
akakua
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Mon Apr 06, 2020 4:52 pm

Re: STATIC ROUTE NOT WORKING TROUGH VPN  [SOLVED]

Sat Feb 06, 2021 9:11 am

Add static route to 172.16.50.0 on router A.
 
User avatar
abelardods
just joined
Topic Author
Posts: 19
Joined: Thu Jul 05, 2018 6:31 am
Location: MEXICO
Contact:

Re: STATIC ROUTE NOT WORKING TROUGH VPN

Sun Feb 07, 2021 11:13 pm

Thank you!