One-way gate