Community discussions

MikroTik App
 
Dani1250
just joined
Topic Author
Posts: 13
Joined: Wed Apr 14, 2021 6:21 pm
Location: Lisbon, Portugal

Passive parameter in IPsec->Peer

Fri Aug 27, 2021 4:23 pm

Good afternoon,

I'm using Mikrotik's chr-6.48.3 version to make a script that creates a site-to-site IPsec tunnel. Whenever I run the command "ip ipsec peer add passive=no" via script or console the parameter "passive" is set to "yes" instead of "no".
Has anyone had this problem? Is there any solution to solve the problem?

Any help, I appreciate it.

Compliments,
Daniel Rodrigues
 
pe1chl
Forum Guru
Forum Guru
Posts: 10197
Joined: Mon Jun 08, 2015 12:09 pm

Re: Passive parameter in IPsec->Peer

Fri Aug 27, 2021 4:35 pm

passive=no is the default, no need to pass that in your command!
 
Dani1250
just joined
Topic Author
Posts: 13
Joined: Wed Apr 14, 2021 6:21 pm
Location: Lisbon, Portugal

Re: Passive parameter in IPsec->Peer

Mon Aug 30, 2021 7:22 pm

Good afternoon pe1chl,

I've tried it without passing the "passive" argument in the command and the behavior is the same.
 
Dani1250
just joined
Topic Author
Posts: 13
Joined: Wed Apr 14, 2021 6:21 pm
Location: Lisbon, Portugal

Re: Passive parameter in IPsec->Peer  [SOLVED]

Wed Sep 29, 2021 3:27 pm

Good afternoon,

Problem solved. It is necessary in the script to specify the peer address.

Who is online

Users browsing this forum: malks and 23 guests