Ip leak when /etc/init.d/startvpn restart any alternative?

ip leak for 40 seconds
when using this command "/etc/init.d/startvpn restart " cause it seems stop the firewall
any alternative to restart vpn ?

Please provide your router model and firmware version

ar300m latest beta (3.026)

The test did find a data leak, and we will fix the bug
But this is only for background operations, and you won’t have this problem if you’re doing UI operations

how to restart vpn using in ssh without leaking ?

You can add a firewall rule to disable data forwarding and clear trace table before executing" /etc/init.d/startvpn restart"

iptables -I FORWARD -j DROP
echo n >/proc/net/nf_conntrack

Allow data forwarding after executing “/etc/init.d/startvpn restart”

iptables -D FORWARD -j DROP