Community discussions

MikroTik App
 
OhJeez
just joined
Topic Author
Posts: 4
Joined: Sun Apr 09, 2017 9:31 pm

Home LAN Mikrotik -> VPS Mikrotik for HTTP/HTTPS

Sun Apr 09, 2017 9:37 pm

The purpose is to have all my home web traffic exit the VPS Mikrotik.

I think it is essentially pretty close to this:
https://wiki.mikrotik.com/wiki/Routing_ ... over_IPsec

So using that diagram, my intent is to route 80,443 from workstations on 10.10.10.0/24 out the other GW of 1.1.2.1

Thanks,
Dan
 
OhJeez
just joined
Topic Author
Posts: 4
Joined: Sun Apr 09, 2017 9:31 pm

Re: Home LAN Mikrotik -> VPS Mikrotik for HTTP/HTTPS

Thu Apr 13, 2017 2:12 am

I have the IPSec tunnel working well. I'm not sure how to have the 80,443 traffic route out of the GW 1.1.2.1 though.

I don't understand in the diagram how traffic is going out of GW 1.1.2.1
 
idlemind
Forum Guru
Forum Guru
Posts: 1146
Joined: Fri Mar 24, 2017 11:15 pm
Location: USA

Re: Home LAN Mikrotik -> VPS Mikrotik for HTTP/HTTPS

Thu Apr 13, 2017 6:51 pm

The data center router, 1.1.2.2 has a default route of 1.1.2.1, the Internet. So when it receives a packet over the VPN destined for the Internet it simply routes, NATs in the case of IPv4, it out to the Internet.

That said you'd also have to adjust the /ip ipsec policy on the home router for the destination address to match any possible or at least the IPs for the HTTP / HTTPS sites you want to visit.

Who is online

Users browsing this forum: Wave and 17 guests