Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Openvpn - gigabit not works
« previous
next »
Print
Pages: [
1
]
Author
Topic: Openvpn - gigabit not works (Read 2052 times)
dgiorgio
Newbie
Posts: 17
Karma: 0
Openvpn - gigabit not works
«
on:
July 25, 2020, 06:00:16 pm »
I have an opnsense firewall to isolate a network.
To connect on the isolate network, I connect to openvpn 'opnsense'.
PC <> switch1 <> opnsense <> switch2 <> server
Opnsense have 2 interfaces,
interface1: to connect on switch1
interface2: to connect on switch2
I did the speed test with iperf, on 'PC' to 'opnsense' (interface1), and 'server' to 'opnsense' (interface2), and the gigabit network works.
For the PC connect on interface2, I need to use openvpn.
But, the iperf test between 'PC' (with openvpn) and 'opnsense' (interface2), or 'PC' to 'server', connection speed work with 100mbps.
My entire network is gigabit.
Logged
bartjsmit
Hero Member
Posts: 2014
Karma: 194
Re: Openvpn - gigabit not works
«
Reply #1 on:
July 26, 2020, 10:21:28 am »
You have a resource restriction on the firewall that limits the VPN throughput. The OpenVPN connection is not itself an 802.3u interface.
Run a real-life test that stresses the VPN and check which firewall resources are maxed out. Your most obvious candidate is CPU, but only testing will confirm that. If the maximum VPN speed is too low for your needs, increase the resource that limits it.
Bart...
Logged
lfirewall1243
Hero Member
Posts: 1386
Karma: 45
Re: Openvpn - gigabit not works
«
Reply #2 on:
July 28, 2020, 02:48:31 pm »
What CPU, Board etc...
Maybe try to use Wireguard, its much faster than OpenVPN
Logged
(Unoffial Community) OPNsense Telegram Group:
https://t.me/joinchat/0o9JuLUXRFpiNmJk
PM for paid support
dgiorgio
Newbie
Posts: 17
Karma: 0
Re: Openvpn - gigabit not works
«
Reply #3 on:
August 23, 2020, 08:41:32 am »
I have this hardware
https://pt.aliexpress.com/item/32813348470.html?spm=a2g0s.9042311.0.0.581bb90a17te5z
CPU: Intel(R) Celeron(R) CPU J1900 @ 1.99GHz (4 cores)
Logged
lfirewall1243
Hero Member
Posts: 1386
Karma: 45
Re: Openvpn - gigabit not works
«
Reply #4 on:
August 24, 2020, 02:31:11 pm »
I am having the same CPU on some devices.
OpenVPN with gigabit and the J1900 is impossible, not enough GHz per Core (OpenVPN is single core).
Try wireguard.
I had 10Mbits with OpenVPN and 450 with wireguard on that CPU
Logged
(Unoffial Community) OPNsense Telegram Group:
https://t.me/joinchat/0o9JuLUXRFpiNmJk
PM for paid support
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Openvpn - gigabit not works