Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED] tcp connections break after 20-30 seconds on LAN static routes
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] tcp connections break after 20-30 seconds on LAN static routes (Read 3339 times)
bmveee
Newbie
Posts: 6
Karma: 3
[SOLVED] tcp connections break after 20-30 seconds on LAN static routes
«
on:
April 28, 2020, 11:21:43 pm »
Hi everyone.
Huge fan of the opnsense platform and finally got around to upgrading my opnsense to 20.1.5. I actually installed it from scratch on a brand new disk (running on a physical Dell T420 box). All went well, configured the interfaces, setup my rules, added static routes to OpenVPN tunnels (handled by another machine on my network), and this is where the fun began.
Now I was running an older release of opnsense prior to today (19.7.10) and did not have any issues.
The issue that became apparent is this. I have several OpenVPN tunnels going out to different remote hosts from my openvpn router (call it openvpn1, having IP address of 192.168.1.2). The opnsense router has a LAN interface address of 192.168.1.1 and I have a bunch of static routes defined on opnsense to route through openvpn1 gateway. All is well, routes are working. Great. The issue that I came across with the new opnsense in the mix is that any TCP connection that is routed by opnsense to the openvpn1 gateway breaks after about 20-30 seconds, and I can't for the life of me understand what is causing it. Now I know that the opnsense is somehow causing this because to test, I added a static route on my machine and bypassed opnsense - the connections didn't break. Once I removed the static route, the connection died immediately. Any ideas what's may be happening here?
Thanks in advance,
-Eugene.
«
Last Edit: April 28, 2020, 11:50:23 pm by bmveee
»
Logged
bmveee
Newbie
Posts: 6
Karma: 3
Re: tcp connections break after 20-30 seconds on LAN static routes
«
Reply #1 on:
April 28, 2020, 11:49:54 pm »
Actually - self resolved! I had to enable the option in Advanced firewall settings
Bypass firewall rules for traffic on the same interface
Duh
... must have been enabled on the old instance, so... never mind on that - for those who may get stuck with the same issue, hopefully this helps.
Cheers.
Logged
Phil
Newbie
Posts: 8
Karma: 0
Re: [SOLVED] tcp connections break after 20-30 seconds on LAN static routes
«
Reply #2 on:
November 09, 2021, 07:40:41 pm »
Hi,
Thx a lot
Best regards
Logged
oshimapt
Newbie
Posts: 8
Karma: 1
Re: [SOLVED] tcp connections break after 20-30 seconds on LAN static routes
«
Reply #3 on:
November 18, 2022, 10:12:29 am »
sorry for digging this solved topic but i'm having this problem and the solution said here did not solve my issue.
i activated the Bypass firewall rules for traffic on the same interface but it keeps dropping the connection.
maybe i'm doing something wrong?
i'm using opnsense 22.7.7_1 on a hyper-v host
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED] tcp connections break after 20-30 seconds on LAN static routes