D
D
Dmitry2018-12-14 21:58:18
VPN
Dmitry, 2018-12-14 21:58:18

How to organize Internet access?

There is a local network provider. There is an OpenWRT router connected to this network and having Internet access via PPPoE. There is a mikrotik router connected to the provider's local network. VPN L2TP is up on it. An OpenWRT router is connected to this L2TP VPN. It is necessary to organize access to the Internet from the mikrotik router through a router with OpenWRT. How to implement it correctly?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
Obsession, 2018-12-25
@Lepeshka

on openvrot make sourcenat for sourceaddress="microtic address from tunnel"; that address = "the address to which the entire Internet goes" (well, or the interface).
on the tick: save the default route to the address of the open gate with the mark.
in mangle do markrouting for lohalka addresses to the corresponding routemark
in nat make sourcenat for lohalka addresses to vpn

S
Sergey, 2018-12-15
@edinorog

It's not a question)

D
damis, 2018-12-17
@damis

Internet on vpn server from vpn client??

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question