Community discussions

MikroTik App
 
fredericoafd
just joined
Topic Author
Posts: 9
Joined: Wed Feb 13, 2019 4:06 pm

Script to enable and disable a NAT

Fri Aug 12, 2022 9:19 pm

Hello guys. I'm new to mikrotik and I need some help. I need to check the status of the BGP session named "BGP-01" and if its status is not "established", I need to activate a NAT rule with comment "NAT GENERAL". It's possible?
 
fredericoafd
just joined
Topic Author
Posts: 9
Joined: Wed Feb 13, 2019 4:06 pm

Re: Script to enable and disable a NAT

Mon Aug 15, 2022 3:42 pm

I tried to adapt some ready-made scripts but I couldn't... if anyone can help me, I'd appreciate it.
 
elico
Member Candidate
Member Candidate
Posts: 143
Joined: Mon Nov 07, 2016 3:23 am

Re: Script to enable and disable a NAT

Sun Aug 21, 2022 6:18 am

Hey,

Did you managed to find a solution for your use case?
 
fredericoafd
just joined
Topic Author
Posts: 9
Joined: Wed Feb 13, 2019 4:06 pm

Re: Script to enable and disable a NAT

Mon Aug 22, 2022 3:06 pm

Hi, not yet.

Who is online

Users browsing this forum: No registered users and 16 guests