Colleagues, please tell me what is the best thing to do in my case.
I have a router that has several VPNs. They use interfaces like tunXX. Sometimes some links are disconnected, while others are connected at the same time. Consequently, the tunnel number of a link in the one direction may change.
How can I link this direction to the rules written for it in pf.conf?
At the moment the tunnel is connected, a script is triggered that knows the current interface name, but how can I correctly associate it with the rules in the PF config?
Thanks in advance,
Ogogon.
I have a router that has several VPNs. They use interfaces like tunXX. Sometimes some links are disconnected, while others are connected at the same time. Consequently, the tunnel number of a link in the one direction may change.
How can I link this direction to the rules written for it in pf.conf?
At the moment the tunnel is connected, a script is triggered that knows the current interface name, but how can I correctly associate it with the rules in the PF config?
Thanks in advance,
Ogogon.