Community discussions

 
neutronlaser
Member Candidate
Member Candidate
Topic Author
Posts: 212
Joined: Thu Jan 18, 2018 5:18 pm

VPN Client - Accessing remote IP addresses from client network

Thu Jan 18, 2018 8:04 pm

Hi

I've connected my router to a remote router over the internet via LT2P. Both routers are Mikrotik routers.

My router here is serving a standard 192.168.0.0/24 network, and the remote network is 192.168.1.0/24.

I'm able to ping a machine on the remote network on Winbox on my router, but on a computer on my network here I am not able to access a device on the remote network.

Does anyone have any suggestions on what I need to do?

The cost on the remote VPN server was set to 10 to avoid having all internet traffic go through it.

Thanks.
 
User avatar
sebastia
Forum Guru
Forum Guru
Posts: 1790
Joined: Tue Oct 12, 2010 3:23 am
Location: Antwerp, BE

Re: VPN Client - Accessing remote IP addresses from client network

Thu Jan 18, 2018 9:53 pm

Hi

If you can ping from local RB the remote network -> your routing table is ok!

You're most likely pinging with the ip of the vpn which is known to the other router. But does the other router know about the 192.168.0/24?
it should have a route defined for in it's routing table to your router.
 
neutronlaser
Member Candidate
Member Candidate
Topic Author
Posts: 212
Joined: Thu Jan 18, 2018 5:18 pm

Re: VPN Client - Accessing remote IP addresses from client network

Thu Jan 18, 2018 10:23 pm

Thank you, I'll give it a try.

Is there definitely no need for any masquerading? I have the Mikrotik book on my reading list but just got to rush this.
 
User avatar
sebastia
Forum Guru
Forum Guru
Posts: 1790
Joined: Tue Oct 12, 2010 3:23 am
Location: Antwerp, BE

Re: VPN Client - Accessing remote IP addresses from client network

Thu Jan 18, 2018 10:30 pm

Masquerading could replace the "to be added route" here but only in ONE way: if some computer from local network tries to contact remote.
If some computer on remote network would like to connect to local computer, it will still not work if remote route is not present.

So with routes defined on both side, there is no need for masq.
 
neutronlaser
Member Candidate
Member Candidate
Topic Author
Posts: 212
Joined: Thu Jan 18, 2018 5:18 pm

Re: VPN Client - Accessing remote IP addresses from client network

Thu Jan 18, 2018 10:50 pm

Thank you. Can't wait to learn this properly.

Who is online

Users browsing this forum: No registered users and 18 guests