SoftEther 1 connection, multiple clients issue

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Lee8219
Posts: 10
Joined: Thu Jul 27, 2023 5:48 pm

SoftEther 1 connection, multiple clients issue

Post by Lee8219 » Thu Jul 27, 2023 5:55 pm

Hi,
This is my first post here. Here is my setup, I have a network of 120.0.0.0/8 and I have an OpenWRT router running the SoftEther client. I am connected via SoftEther and, AccountList shows that my account is connected. But only one device gets an DHCP address. The other devices which are bridged (virtual Ethernet switch) to the LAN ports and WiFi of the routers are unable to get an IP. If I do set an IP, an internet connection is not detected on any of the devices. Does SoftEther have a limit on how many client is able to work on a single connection, any way to handle this?
Thanks,
Lee8219

solo
Posts: 1285
Joined: Sun Feb 14, 2021 10:31 am

Re: SoftEther 1 connection, multiple clients issue

Post by solo » Thu Jul 27, 2023 7:48 pm

Lee8219 wrote:
Thu Jul 27, 2023 5:55 pm
I have a network of 120.0.0.0/8...
Does SoftEther have a limit on how many client is able to work on a single connection
That is a vast non-private network range. Are you sure you have it?

SoftEther has no limit, VPN Gate servers do have a single connection limit.

Lee8219
Posts: 10
Joined: Thu Jul 27, 2023 5:48 pm

Re: SoftEther 1 connection, multiple clients issue

Post by Lee8219 » Fri Jul 28, 2023 1:29 am

Hmm. The IP range should be okay, since I sit behind a NAT. I'm using VPN Azure. But that's not the point though... That is super weird. As the network only gives out one DHCP addresses one of the clients. So you need any logs or anything to sort this out?

solo
Posts: 1285
Joined: Sun Feb 14, 2021 10:31 am

Re: SoftEther 1 connection, multiple clients issue

Post by solo » Fri Jul 28, 2023 8:07 am

That part of the internet is inaccessible to you.

No. If you attempt to force it...
A connection has been requested in Bridge / Router Mode. But the security policy for the connecting user forbids both bridge mode and router mode. (code 108)

Lee8219
Posts: 10
Joined: Thu Jul 27, 2023 5:48 pm

Re: SoftEther 1 connection, multiple clients issue

Post by Lee8219 » Fri Jul 28, 2023 8:16 am

Hmm, so I really can't implement it? Where I directly connect to my internal network with a SoftEther link, and access my machines that way? I really hope to avoid any NAT or anything, just grabbing an IP from my main server at 120.0.0.3, while all internet traffic goes through the default gateway of 120.0.0.1?

solo
Posts: 1285
Joined: Sun Feb 14, 2021 10:31 am

Re: SoftEther 1 connection, multiple clients issue

Post by solo » Fri Jul 28, 2023 8:39 am

Wait, you're not trying to share VPN Gate, but connecting to your own server? If so, there is no problem whatsoever. You need a few modifications though, start with a private LAN network range as 120.x.x.x is too painful to even look at, then switch to SecureNAT if OpenWRT's DHCP is difficult.

Lee8219
Posts: 10
Joined: Thu Jul 27, 2023 5:48 pm

Re: SoftEther 1 connection, multiple clients issue

Post by Lee8219 » Fri Jul 28, 2023 8:47 am

Yep, I am trying to connect to my own server infrastructure, if I was not clear enough before. The thing is that using a Windows machine, I am able to establish an SSTP connection with no issue, now I am using the same user account with the SoftEther client on OpenWRT, It can establish a connection no problem but only one device connected to the "switch that is connected to the VPN interface" can get a DHCP and access the network. The rest are unable to.

solo
Posts: 1285
Joined: Sun Feb 14, 2021 10:31 am

Re: SoftEther 1 connection, multiple clients issue

Post by solo » Fri Jul 28, 2023 9:07 am

For a test, on the server disable the bridge and enable SecureNAT with all defaults.

?

Lee8219
Posts: 10
Joined: Thu Jul 27, 2023 5:48 pm

Re: SoftEther 1 connection, multiple clients issue

Post by Lee8219 » Fri Jul 28, 2023 9:09 am

Sure. Will get back to you soon.

Lee8219
Posts: 10
Joined: Thu Jul 27, 2023 5:48 pm

Re: SoftEther 1 connection, multiple clients issue

Post by Lee8219 » Mon Jul 31, 2023 1:09 pm

Hi, after enabling securenat and dhcp. The address is only offered to one device. The same issue also occurs.

solo
Posts: 1285
Joined: Sun Feb 14, 2021 10:31 am

Re: SoftEther 1 connection, multiple clients issue

Post by solo » Mon Jul 31, 2023 1:14 pm

Let's put aside OpenWRT for now. Can you establish connections from two Windows PCs?

Lee8219
Posts: 10
Joined: Thu Jul 27, 2023 5:48 pm

Re: SoftEther 1 connection, multiple clients issue

Post by Lee8219 » Mon Jul 31, 2023 1:29 pm

Yes
With 2 seperate accounts.

solo
Posts: 1285
Joined: Sun Feb 14, 2021 10:31 am

Re: SoftEther 1 connection, multiple clients issue

Post by solo » Mon Jul 31, 2023 1:37 pm

So this is strictly only OpenWRT SE client issue. Do you intend to revise the Linux commands there?

Lee8219
Posts: 10
Joined: Thu Jul 27, 2023 5:48 pm

Re: SoftEther 1 connection, multiple clients issue

Post by Lee8219 » Mon Jul 31, 2023 2:44 pm

Yep, I would think that maybe the client end has some issue, but it can connect successfully, just cant get DHCP traffic and run multiple devices

Lee8219
Posts: 10
Joined: Thu Jul 27, 2023 5:48 pm

Re: SoftEther 1 connection, multiple clients issue

Post by Lee8219 » Mon Jul 31, 2023 3:59 pm

Hey all! I managed to get it working. By switching to using a VPN bridge instead of a client. And now it serves IPs from my range and it seems like it's doing well. Thanks.

solo
Posts: 1285
Joined: Sun Feb 14, 2021 10:31 am

Re: SoftEther 1 connection, multiple clients issue

Post by solo » Mon Jul 31, 2023 4:10 pm

Wow, I was about to post this suggestion...
Look, while it is doable with SE Client and Linux bridging, in your application context I'd probably use SE Bridge on OpenWRT instead. Something like https://www.softether.org/4-docs/2-howt ... Bridge_VPN with a few modifications of course.

Lee8219
Posts: 10
Joined: Thu Jul 27, 2023 5:48 pm

Re: SoftEther 1 connection, multiple clients issue

Post by Lee8219 » Mon Jul 31, 2023 4:19 pm

I'm so glad I fixed it. Noting there's an issue with the OpenWRT softether package. Naming that localhost:443 is not binding to the service. So I had to use localhost:5555 instead. Just a heads up to those using a bridge. Also noting the fact I created a TAP adapter for the bridge adapter, then made another bridge interface in LuCI to bind it to the "non-management" port and the wireless. I have post notifications on, so I guess shoot a message or a reply if you guys need help of doing a similar setup. Thanks all for the help.
Lee8219

Post Reply