Community discussions

MikroTik App
 
User avatar
Edoras
newbie
Topic Author
Posts: 35
Joined: Wed Apr 05, 2006 12:03 am
Location: Prague, Czech rep.

Disconnected PPTP disabled IP FIREWALL rules

Mon Nov 19, 2007 11:52 pm

v. 3.0rc10
On mikrotik is configured PPTP server. When PPTP is connected, there is interface "pptp-edoras".
I made firewall rule based on this interface: "ip firewall filter add chain=forward in-interface=<pptp-edoras> action=accept" .
Everything works.

BUT!
When pptp is disconnected, interface pptp-edoras is lost. Firewall rule is disabled as fail (red).
When pptp is built again, the pptp-edoras interface is there again, but the ip firewall rule stays red!!! I must manually put there the pptp-edoras interface again and then it starts to be active again.

It looks to me as bug in 3.0rc10 .
Is it possible to repair it in near future? Or exist any way how to solve it?
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: Disconnected PPTP disabled IP FIREWALL rules

Tue Nov 20, 2007 12:54 am

add a static pptp interface so you can reference it. If it has < > around the interface name its a dynamic interface that doesnt exist anymore when they disconnect.