connection unstable when going through Server / port forwarding

Use this forum to share your network setup and what's been working for you.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
Abravi
OpenVpn Newbie
Posts: 3
Joined: Fri Oct 14, 2022 5:39 pm

connection unstable when going through Server / port forwarding

Post by Abravi » Fri Oct 14, 2022 5:50 pm

Client -----> Server (Port Forwarder) --> OpenVpn Server (unstable)

Client --> OpenVpn Server (working very Good)

my client connect to openvpn but very unastable !

2022-10-14 13:09:04 Connection reset, restarting [-1]
2022-10-14 13:09:04 SIGUSR1[soft,connection-reset] received, process restarting
2022-10-14 13:09:04 Restart pause, 5 second(s)

User avatar
ordex
OpenVPN Inc.
Posts: 444
Joined: Wed Dec 28, 2016 2:32 am
Location: IRC #openvpn-devel @ libera.chat

Re: connection unstable when going through Server / port forwarding

Post by ordex » Fri Oct 14, 2022 8:10 pm

Abravi: his is most likely an issue with the server/port forwarder. It seems like it kills the NAT session every now and then and therefore the connection is lost. This is nothing OpenVPN can solve.

Abravi
OpenVpn Newbie
Posts: 3
Joined: Fri Oct 14, 2022 5:39 pm

Re: connection unstable when going through Server / port forwarding

Post by Abravi » Fri Oct 14, 2022 8:30 pm

ordex wrote:
Fri Oct 14, 2022 8:10 pm
Abravi: his is most likely an issue with the server/port forwarder. It seems like it kills the NAT session every now and then and therefore the connection is lost. This is nothing OpenVPN can solve.
checked by ssh tunnel But vpn restart every ~1 minute
ssh -NL :800:vpnserver:800 user@vpnserver

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: connection unstable when going through Server / port forwarding

Post by TinCanTech » Fri Oct 14, 2022 8:45 pm

Hmm ..

No configs, no logs ...

Probably bats in the belfry.

Abravi
OpenVpn Newbie
Posts: 3
Joined: Fri Oct 14, 2022 5:39 pm

Re: connection unstable when going through Server / port forwarding

Post by Abravi » Fri Oct 14, 2022 10:15 pm

ordex wrote:
Fri Oct 14, 2022 8:10 pm
Abravi: his is most likely an issue with the server/port forwarder. It seems like it kills the NAT session every now and then and therefore the connection is lost. This is nothing OpenVPN can solve.
I change Port from 80 to 800. now connection stable.

Solved

Post Reply