OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: Bytechanger on April 24, 2021, 11:28:12 AM

Title: Wireguard tunnel ping works only every second time!
Post by: Bytechanger on April 24, 2021, 11:28:12 AM
Hi,

I build a wireguard tunnel from OPNSense to another network outside.
The tunnel works ony every second time!
When I start ping to a destination in other network it response (than responsing every package long time).
When I stop pinging and restart it doesn´t work, every package get lost.
When I stop it again and start pinging, it is all fine and every package reach it´s destinion.
When I stop this and go on  it will go, doesn´t go, go, doesn´t go  all the time?!

Any idea?

Greets

Byte
Title: Re: Wireguard tunnel ping works only every second time!
Post by: zitlo on April 26, 2021, 03:46:42 PM
do you use "PersistentKeepalive = 60" option?
Title: Re: Wireguard tunnel ping works only every second time!
Post by: Bytechanger on April 27, 2021, 06:40:35 AM
No, every 10 Seconds.
The problem is solved, I create a Interface for wg1 and create a outbound nat.
Thanks

Greets

Byte