Community discussions

MikroTik App
 
ramirez
Member Candidate
Member Candidate
Topic Author
Posts: 157
Joined: Sun May 12, 2013 9:48 pm

VPN tunel and Internet from client

Sun Dec 29, 2019 4:48 pm

Greetings everyone!

If I set up a VPN connection with certificates between a client M.T. and a host M.T. can I have the host through pre-routing rule in IP/Firewall/Mangle receive Internet from the client?

In the opposite scenario I can have a client use the host's Internet and appear to the world with the host's ISP but don't know if the opposite will work.

The goal is to have a machine that is connected on the host M.T. access the internet through the modem that is connected on the client M.T.

In the past I was able to ping machines on the LAN side of the client (from LAN machines on the Host side) but didn't have access to them. It returned the message "no route to host", and thought in order to solve that, I would have to open a new VPN with the client M.T. to also be the host M.T.

What do you think?
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: VPN tunel and Internet from client

Sun Dec 29, 2019 7:24 pm

Yes you can.
Either with the help of Mangles facility or with Routing rules...
This is called by the way, policy routing....
 
ramirez
Member Candidate
Member Candidate
Topic Author
Posts: 157
Joined: Sun May 12, 2013 9:48 pm

Re: VPN tunel and Internet from client

Sun Dec 29, 2019 7:59 pm

Thank you Zacharias,

So (just to double check) although I cannot access client machines (only ping them) from machines behind Host M.T., I will be able to set up a machine behind it (host M.T.) to use client's ISP ? Correct?
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: VPN tunel and Internet from client

Sun Dec 29, 2019 8:07 pm

With a correct configuration you will be able to do both...

Who is online

Users browsing this forum: m4rk3J and 77 guests