SoftEther client in latest DDWRT build

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
whitefish
DD-WRT Novice


Joined: 25 Jun 2011
Posts: 36

PostPosted: Fri Dec 10, 2021 11:18    Post subject: SoftEther client in latest DDWRT build Reply with quote
Has anybody tried using the SoftEther client in the latest builds? After enabling the client in the GUI, I am unable to run the

vpncmd localhost /client /cmd niccreate vpn

command. It shows an error 31 - unable to create nic error.

The vpn server is working fine from the GUI. Obviously I alredy tried simply pasting the config into the GUI. Since that failed I tried setting it up manually.

I assume that vpnclient is running since it did not complain about not being able to connect to the vpn client.

Note that the client is working in older kongac builds.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sat Dec 11, 2021 16:41    Post subject: Reply with quote
I really have no experience with softether so just a wild guess, try:
Code:
modprobe tun
or
Code:
insmod tun



There are not many users using it I guess, most seem to use OpenVPN or WireGuard

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
whitefish
DD-WRT Novice


Joined: 25 Jun 2011
Posts: 36

PostPosted: Mon Jan 10, 2022 13:46    Post subject: Reply with quote
The "modprobe tun" command did the trick. When executed prior to the niccreate command, the virtual adapter is created and the SoftEther client works.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Mon Jan 10, 2022 15:43    Post subject: Reply with quote
Thanks for confirming

Will notify the developer Smile

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Mon Jan 10, 2022 19:29    Post subject: Reply with quote
Will be fixed in next release:

https://svn.dd-wrt.com/changeset/48081

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
whitefish
DD-WRT Novice


Joined: 25 Jun 2011
Posts: 36

PostPosted: Tue Jan 11, 2022 14:44    Post subject: Reply with quote
Just a quick note:

When rebooting the router and running the niccreate command, it will throw an error saying that the device adapter already exists even though ifconfig does not show the device. A workaround is running the nicdelete command before the niccreate command.
whitefish
DD-WRT Novice


Joined: 25 Jun 2011
Posts: 36

PostPosted: Sun Jan 16, 2022 7:00    Post subject: Reply with quote
I noticed another possible bug with the SoftEther client.

My VPN setting allows a maximum of 8 cimultaneous connections but the router maxes out at 4 connections. When running accountstatusget connectionname from within vpncmd, it shows 4 out of a maximum 4 connections used even though the connection setting specifies 8 connections.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6858
Location: Romerike, Norway

PostPosted: Sun Jan 16, 2022 12:02    Post subject: Reply with quote
I don't trust SoftEther. As you have to register on their server to use it. Better to use WG or openVPN that is completely independent of external servers.
whitefish
DD-WRT Novice


Joined: 25 Jun 2011
Posts: 36

PostPosted: Mon Jan 17, 2022 3:55    Post subject: Reply with quote
I do not know what you mean by "registering on their server". I am connecting to my own SE server.

Wireguard is effectively blocked from mainland China and OpenVPN eats up too many CPU cycles plus plain vanilla OpenVPN is blocked as well (need the XOR patch).

I am getting around 90 Mbps on an Asus RT68U. OpenVPN will be less than 20 Mbps. Wireguard gets over 100 Mbps but won't last more than 2 days until it is blocked.
whitefish
DD-WRT Novice


Joined: 25 Jun 2011
Posts: 36

PostPosted: Fri Feb 04, 2022 6:42    Post subject: Reply with quote
The latest build has resolved the TUN bug. However, it still does not recognize more than 4 simultaneous connections. vpncmd - accountstatusget will display a maximum of 4 connections even if the number connections is higher than 4 (can be set to up to 32).
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Fri Feb 04, 2022 8:29    Post subject: Reply with quote
I cannot help you with SoftEther, but OpenVPN has the XOR patch installed in recent builds
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum