Community discussions

MikroTik App
 
Scruffyedc
just joined
Topic Author
Posts: 21
Joined: Mon Apr 13, 2020 7:48 am

script to change VPN route and static DNS forward

Wed Nov 01, 2023 5:35 am

hello,

I have 2 mikrotiks and VPNs to them.

both connected through wireguard.

I am looking for a script which would change default gw and turn off set of DNS forwards and turn on different set when I press the mode button and vice versa.


is here anyone who tried to the similar? optionaly the usr-LED can indicate.


thank you
 
Scruffyedc
just joined
Topic Author
Posts: 21
Joined: Mon Apr 13, 2020 7:48 am

Re: script to change VPN route and static DNS forward

Tue Nov 07, 2023 1:54 am

Anyone?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12025
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: script to change VPN route and static DNS forward

Tue Nov 07, 2023 11:01 am

Anyone?
It can be done, but if no one on the forum is interested in doing it, for only you, for free, hire a consultant.

Who is online

Users browsing this forum: No registered users and 12 guests