Hello there, ์๋ ,
i set a local bridge interface (not TAP, a second virtual interface my VM) and my Upload speed is constant 355 kb/sec ๋ก์ปฌ ๋ธ๋ฆฌ์ง ์ธํฐํ์ด์ค(TAP ์๋, ๋ด VM์ ๋ ๋ฒ์งธ ๊ฐ์ ์ธํฐํ์ด์ค)๋ฅผ ์ค์ ํ๊ณ ์ ๋ก๋ ์๋๋ 355kb/sec๋ก ์ผ์ ํฉ๋๋ค.
But, if i enable SecureNAT and after disable it, the Upload speed up to 60 Mbit/sec. ๊ทธ๋ฌ๋ SecureNAT๋ฅผ ํ์ฑํํ๊ณ ๋นํ์ฑํํ๋ฉด ์ ๋ก๋ ์๋๊ฐ ์ต๋ 60Mbit/sec์ ๋๋ค. It is good, but if i restart the server, it need to do it again (SecureNAT enable/disable) to normalize the Upload speed. ์ข๊ธด ํ๋ฐ ์๋ฒ๋ฅผ ๋ค์ ์์ํ๋ฉด ์ ๋ก๋ ์๋๋ฅผ ์ ์ํํ๊ธฐ ์ํด ๋ค์ ์๋ฒ๋ฅผ ๋ค์ ์์ํด์ผ ํฉ๋๋ค(SecureNAT ํ์ฑํ/๋นํ์ฑํ).
I use latest PPA ubuntu release. ์ต์ PPA ์ฐ๋ถํฌ ๋ฆด๋ฆฌ์ค๋ฅผ ์ฌ์ฉํฉ๋๋ค.
My system: ubuntu 18.04 (Proxmox VM) ๋ด ์์คํ : ์ฐ๋ถํฌ 18.04(Proxmox VM)
Edit: if i restart only softether VPN service the Upload speed is still normal. ํธ์ง: softether VPN ์๋น์ค๋ง ๋ค์ ์์ํ๋ฉด ์ ๋ก๋ ์๋๋ ์ฌ์ ํ ์ ์์ ๋๋ค. It only need to do the above method, if i restart the server. ์๋ฒ๋ฅผ ๋ค์ ์์ํ๋ฉด ์์ ๋ฐฉ๋ฒ๋ง ์ํํ๋ฉด ๋ฉ๋๋ค.
enMy dirty solution: ๋ด ๋๋ฌ์ด ํด๊ฒฐ์ฑ :
I create a shell script, that running after reboot: ์ฌ๋ถํ ํ ์คํ๋๋ ์ ธ ์คํฌ๋ฆฝํธ๋ฅผ ๋ง๋ญ๋๋ค.
!/bin/bash
/usr/bin/vpncmd localhost /SERVER /HUB:vpn /CMD SecureNatEnable
/bin/sleep 15
/usr/bin/vpncmd localhost /SERVER /HUB:vpn /CMD SecureNatDisable
It solve my problem. ๋ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํฉ๋๋ค.
enHi there, thanks for the help. ์๋ ํ์ธ์, ๋์์ ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค. Our server has the same problem with limited upload speed. ์ฐ๋ฆฌ ์๋ฒ๋ ์ ํ๋ ์ ๋ก๋ ์๋์ ๋์ผํ ๋ฌธ์ ๊ฐ ์์ต๋๋ค. Sadly this solution did not work. ์ฌํ๊ฒ๋ ์ด ์๋ฃจ์ ์ ์๋ํ์ง ์์์ต๋๋ค. The Uplaod from the server remains at the slow rate. ์๋ฒ์ ์ ๋ก๋๋ ๋๋ฆฐ ์๋๋ก ์ ์ง๋ฉ๋๋ค.
enIf you ebable SecureNAT, the Upload speed is better? SecureNAT๋ฅผ ํ์ฑํํ๋ฉด ์ ๋ก๋ ์๋๊ฐ ๋ ๋นจ๋ผ์ง๋์? (i know that is generate high CPU, it only just test) (๋๋ ๊ทธ๊ฒ์ด ๋์ CPU๋ฅผ ์์ฑํ๋ค๋ ๊ฒ์ ์๊ณ ์์ต๋๋ค. ๋จ์ง ํ ์คํธ์ผ ๋ฟ์ ๋๋ค)
en์๋์, ์๋๋ ์ฝ 190kb/s๋ก ๋์ผํ๊ฒ ์ ์ง๋ฉ๋๋ค.
en์ด์ํฉ๋๋ค... TAP ์ฅ์น๋ฅผ ๋ง๋ค๋ ค๊ณ ํฉ๋๊น?
enOk, tested with another host. ์๊ฒ ์ต๋๋ค. ๋ค๋ฅธ ํธ์คํธ์์ ํ ์คํธํ์ต๋๋ค. Test with Network Traffic Test Tool. ๋คํธ์ํฌ ํธ๋ํฝ ํ ์คํธ ๋๊ตฌ๋ก ํ ์คํธํ์ญ์์ค. Fullduplex Test 2 connections. ์ ์ด์ค ํ ์คํธ 2 ์ฐ๊ฒฐ. Testserver on connecting side, Testclient on local network ์ฐ๊ฒฐ ์ธก์ ํ ์คํธ ์๋ฒ, ๋ก์ปฌ ๋คํธ์ํฌ์ ํ ์คํธ ํด๋ผ์ด์ธํธ
bridge and securenat on then off: ๋ธ๋ฆฌ์ง ๋ฐ ๋ณด์ ์ผ๊ธฐ ๋ฐ ๋๊ธฐ:
VPNClient to VPNServer 30Mb/s VPNClient์์ VPNServer 30Mb/s๋ก
VPNServer to VPNClient 300kb/s VPN์๋ฒ์์ VPNํด๋ผ์ด์ธํธ๋ก 300kb/s
tap no modification: ์์ ์์ ํญ:
VPNClient to VPNServer 30Mb/s VPNClient์์ VPNServer 30Mb/s๋ก
VPNServer to VPNClient 300kb/s VPN์๋ฒ์์ VPNํด๋ผ์ด์ธํธ๋ก 300kb/s
tap and securenat on off: ํญํ๊ณ ๋ณด์ ์ผ๊ธฐ:
VPNClient to VPNServer 30Mb/s VPNClient์์ VPNServer 30Mb/s๋ก
VPNServer to VPNClient 8Mb/s VPN์๋ฒ ๋ VPNํด๋ผ์ด์ธํธ 8Mb/s
A bit on the odd side maybe related or not, if the Testserver and Testclient roles are swapped to Testclient on connecting side, Testserver on local network, the following results: ํ
์คํธ ์๋ฒ์ ํ
์คํธ ํด๋ผ์ด์ธํธ ์ญํ ์ด ์ฐ๊ฒฐ ์ชฝ์์ ํ
์คํธ ํด๋ผ์ด์ธํธ๋ก, ๋ก์ปฌ ๋คํธ์ํฌ์์ ํ
์คํธ ์๋ฒ๋ก ๋ฐ๋๋ฉด ๋ค์๊ณผ ๊ฐ์ ๊ฒฐ๊ณผ๊ฐ ๋์ต๋๋ค.
tap and securenat on off: ํญํ๊ณ ๋ณด์ ์ผ๊ธฐ:
VPNClient to VPNServer 46Mb/s VPNClient์์ VPNServer๋ก 46Mb/s
VPNServer to VPNClient 1.5Mb/s VPN์๋ฒ์์ VPNํด๋ผ์ด์ธํธ๋ก 1.5Mb/s
I am an idiot. ๋๋ ๋ฐ๋ณด๋ค.
The two NICs connecting the firewall and the vpn gateway were set to 100mbit instead of 1000 mbit. ๋ฐฉํ๋ฒฝ๊ณผ VPN ๊ฒ์ดํธ์จ์ด๋ฅผ ์ฐ๊ฒฐํ๋ ๋ ๊ฐ์ NIC๋ 1000mbit ๋์ 100mbit๋ก ์ค์ ๋์์ต๋๋ค. However the connection to the internet is "only" a 100 mbit line. ๊ทธ๋ฌ๋ ์ธํฐ๋ท ์ฐ๊ฒฐ์ "๋จ" 100mbit ํ์ ์ ๋๋ค. Setting the NICs on the fw and vpn to 1000 yields the following results. fw ๋ฐ vpn์ NIC๋ฅผ 1000์ผ๋ก ์ค์ ํ๋ฉด ๋ค์๊ณผ ๊ฐ์ ๊ฒฐ๊ณผ๊ฐ ๋ํ๋ฉ๋๋ค.
Test with Network Traffic Test Tool. ๋คํธ์ํฌ ํธ๋ํฝ ํ
์คํธ ๋๊ตฌ๋ก ํ
์คํธํ์ญ์์ค. Fullduplex Test 2 connections. ์ ์ด์ค ํ
์คํธ 2 ์ฐ๊ฒฐ. Testserver on connecting side, Testclient on local network ์ฐ๊ฒฐ ์ธก์ ํ
์คํธ ์๋ฒ, ๋ก์ปฌ ๋คํธ์ํฌ์ ํ
์คํธ ํด๋ผ์ด์ธํธ
bridge and securenat on then off: ๋ธ๋ฆฌ์ง ๋ฐ ๋ณด์ ์ผ๊ธฐ ๋ฐ ๋๊ธฐ:
VPNClient to VPNServer 43Mb/s VPNClient์์ VPNServer๋ก 43Mb/s
VPNServer to VPNClient 38Mb/s VPN์๋ฒ ๋ VPNํด๋ผ์ด์ธํธ 38Mb/s
Ok that is at least close to symmetric. ์ ์ด๋ ๋์นญ์ ๊ฐ๊น์ต๋๋ค.
Test with Network Traffic Test Tool. ๋คํธ์ํฌ ํธ๋ํฝ ํ
์คํธ ๋๊ตฌ๋ก ํ
์คํธํ์ญ์์ค. Fullduplex Test 2 connections. ์ ์ด์ค ํ
์คํธ 2 ์ฐ๊ฒฐ. Testclient on connecting side, Testserver on local network ์ฐ๊ฒฐ ์ธก์ ํ
์คํธ ํด๋ผ์ด์ธํธ, ๋ก์ปฌ ๋คํธ์ํฌ์ ํ
์คํธ ์๋ฒ
bridge and securenat on then off: ๋ธ๋ฆฌ์ง ๋ฐ ๋ณด์ ์ผ๊ธฐ ๋ฐ ๋๊ธฐ:
VPNClient to VPNServer 76Mb/s VPNClient์์ VPNServer 76Mb/s๋ก
VPNServer to VPNClient 71Mb/s VPN์๋ฒ ๋ VPNํด๋ผ์ด์ธํธ 71Mb/s
That is damn near linespeed and symetrical. ๊ทธ๊ฒ์ ๊ฑฐ์ ๋ผ์ธ ์๋์ ๋์นญ์ ๊ฐ๊น์ต๋๋ค.
But why differ the total speeds so much depending on who innitates the test... ๊ทธ๋ฌ๋ ํ
์คํธ๋ฅผ ์์ํ๋ ์ฌ๋์ ๋ฐ๋ผ ์ด ์๋๊ฐ ์ ๊ทธ๋ ๊ฒ ๋ง์ด ๋ค๋ฅธ์ง...
Anyway thx for the on/off tip, that really helped. ์ด์จ๋ on/off ํ์ ๋ํ thx, ๊ทธ๊ฒ์ ์ ๋ง ๋์์ด ๋์์ต๋๋ค.
Using SecureNAT, Try disable/set "DisableIpRawModeSecureNAT" and "DisableKernelModeSecureNAT" to '1' in Virtual Hub Extended Option. SecureNAT๋ฅผ ์ฌ์ฉํ์ฌ Virtual Hub ํ์ฅ ์ต์ ์์ "DisableIpRawModeSecureNAT" ๋ฐ "DisableKernelModeSecureNAT"๋ฅผ '1'๋ก ๋นํ์ฑํ/์ค์ ํด ๋ณด์ญ์์ค.
This fix my issue on slow download speed ์ด๊ฒ์ ๋๋ฆฐ ๋ค์ด๋ก๋ ์๋์ ๋ํ ๋ด ๋ฌธ์ ๋ฅผ ์์ ํฉ๋๋ค.
enHello, ์ฌ๋ณด์ธ์,
Just leaving a message to say that I have the exact same problem here (on proxmox lxc ubuntu 16). ์ฌ๊ธฐ(proxmox lxc ubuntu 16์์)์ ๋๊ฐ์ ๋ฌธ์ ๊ฐ ์๋ค๋ ๋ฉ์์ง๋ฅผ ๋จ๊น๋๋ค.
Perfect with secureNat. secureNat์ผ๋ก ์๋ฒฝํฉ๋๋ค. I'm using a pfSense firewall (which isn't throttling, I tried it...). ๋๋ pfSense ๋ฐฉํ๋ฒฝ์ ์ฌ์ฉํ๊ณ ์์ต๋๋ค.
I'm using the latest beta release of SoftEther. ์ ๋ SoftEther์ ์ต์ ๋ฒ ํ ๋ฆด๋ฆฌ์ค๋ฅผ ์ฌ์ฉํ๊ณ ์์ต๋๋ค.
65Mb/s up/down with SecureNat SecureNat์ผ๋ก 65Mb/s ์
/๋ค์ด
65Mb/s up without, 500Kb/s download (from the client perspective)... ์ต๋ 65Mb/s, ๋ค์ด๋ก๋ ์์ด 500Kb/s(ํด๋ผ์ด์ธํธ ๊ด์ ์์)...
Best regards ์น์ ํ๋
enHey, ์ฌ๊ธฐ์,
running SE on Ubuntu 18. With secureNat I get nearly speeds as without using VPN. Ubuntu 18์์ SE๋ฅผ ์คํํฉ๋๋ค. secureNat์ ์ฌ์ฉํ๋ฉด VPN์ ์ฌ์ฉํ์ง ์๊ณ ๊ฑฐ์ ์๋๋ฅผ ์ป์ ์ ์์ต๋๋ค. Using my own DHCP server (dnsmasq) I get high download speeds but only 1/10 of my previous upload. ์์ฒด DHCP ์๋ฒ(dnsmasq)๋ฅผ ์ฌ์ฉํ์ฌ ๋ค์ด๋ก๋ ์๋๋ ๋น ๋ฅด์ง๋ง ์ด์ ์ ๋ก๋ ์๋์ 1/10์ ๋ถ๊ณผํฉ๋๋ค. Couldn't figure out what the reason is so far... ์ง๊ธ๊น์ง ์ด์ ๋ฅผ ์ ์ ์์์ต๋๋ค...
best ๋ฒ ์คํธ
enI was seeing exactly what r-mach was seeing... 60 megabits/s up and about 300 kilobits/s down from the Softether server. ๋๋ r-mach๊ฐ ๋ณด๊ณ ์๋ ๊ฒ์ ์ ํํ ๋ณด๊ณ ์์์ต๋๋ค... Softether ์๋ฒ์์ ์ต๋ 60 ๋ฉ๊ฐ๋นํธ/์ด ๋ฐ ์ฝ 300 ํฌ๋ก๋นํธ/์ด. Oddly, ooijiyoung's solution worked for me even with SecureNAT disabled and I am now getting wire speed through ipsec in both directions. ์ด์ํ๊ฒ๋ ooijiyoung์ ์๋ฃจ์ ์ SecureNAT๊ฐ ๋นํ์ฑํ๋ ์ํ์์๋ ์ ์๊ฒ ํจ๊ณผ์ ์ด์๊ณ ์ด์ ์๋ฐฉํฅ์์ ipsec์ ํตํด ์ ์ ์๋๋ฅผ ์ป๊ณ ์์ต๋๋ค.
FWIW, I've seen a lot of other people with the same issue trying to run Softether in a container and looking at docker-related causes, but I'm even getting wire speed through the container now with the above two Virtual Hub Extended Options set. FWIW, ์ปจํ ์ด๋์์ Softether๋ฅผ ์คํํ๋ ค๊ณ ์๋ํ๊ณ ๋์ปค ๊ด๋ จ ์์ธ์ ์ดํด๋ณด๋ ๋์ผํ ๋ฌธ์ ๋ฅผ ๊ฐ์ง ๋ค๋ฅธ ๋ง์ ์ฌ๋๋ค์ ๋ณด์์ง๋ง ์์ ๋ ๊ฐ์ง ๊ฐ์ ํ๋ธ ํ์ฅ ์ต์ ์ ์ฌ์ฉํ์ฌ ์ด์ ์ปจํ ์ด๋๋ฅผ ํตํด ์ ์ ์๋๋ฅผ ์ป๊ณ ์์ต๋๋ค. ์ธํธ.
Thanks! ๊ฐ์ฌํด์!
en
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
Using SecureNAT, Try disable/set "DisableIpRawModeSecureNAT" and "DisableKernelModeSecureNAT" to '1' in Virtual Hub Extended Option. SecureNAT๋ฅผ ์ฌ์ฉํ์ฌ Virtual Hub ํ์ฅ ์ต์ ์์ "DisableIpRawModeSecureNAT" ๋ฐ "DisableKernelModeSecureNAT"๋ฅผ '1'๋ก ๋นํ์ฑํ/์ค์ ํด ๋ณด์ญ์์ค.
This fix my issue on slow download speed ์ด๊ฒ์ ๋๋ฆฐ ๋ค์ด๋ก๋ ์๋์ ๋ํ ๋ด ๋ฌธ์ ๋ฅผ ์์ ํฉ๋๋ค.
en