multiple SoftEther instances

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
dhs9004
Posts: 7
Joined: Mon Aug 22, 2016 3:33 pm

multiple SoftEther instances

Post by dhs9004 » Mon Aug 22, 2016 4:52 pm

Hi everybody,

I would like to know if it is possible to run multiple SoftEther instances on the same machine?

Thanks in advance,

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: multiple SoftEther instances

Post by thisjun » Fri Sep 09, 2016 7:12 am

What OS do you use?
Multiple SoftEther VPN servers can run in usermode.
http://www.softether.org/4-docs/1-manua ... _User_Mode

moatazelmasry
Posts: 336
Joined: Sat Aug 15, 2015 7:41 pm

Re: multiple SoftEther instances

Post by moatazelmasry » Sat Sep 10, 2016 10:40 am

This is possible, and I'm doing that already, but you need to be aware of port collision. For example l2tp uses port 1701 and this can not be changed.
My advice is. Start both in user mode and use one instance for openvpn and the other instance for L2TP/IPSec

Cheers
Moataz

raafat
Posts: 223
Joined: Fri Jul 03, 2015 2:21 pm

Re: multiple SoftEther instances

Post by raafat » Fri Sep 16, 2016 12:20 pm

dhs9004 wrote:
> Hi everybody,
>
> I would like to know if it is possible to run multiple SoftEther instances
> on the same machine?
>
> Thanks in advan


Hello there, i would like to know what is the benefit of using several instances at the same time ?



Thanks (:

moatazelmasry
Posts: 336
Joined: Sat Aug 15, 2015 7:41 pm

Re: multiple SoftEther instances

Post by moatazelmasry » Fri Sep 16, 2016 8:19 pm

@raafat

I have the following structure on the server:
Instance1VPN->Proxy->Instance2VPN

I have routers and normal users connected to the vpn.
The routers are connecting to instance 1
The users are connecting to instance 2

I need to filter the traffic coming out of the routers in a certain way. So I use squid proxy on the traffic coming out of instance 1
Traffic coming out of instance 2 goes into the internet unfiltered

raafat
Posts: 223
Joined: Fri Jul 03, 2015 2:21 pm

Re: multiple SoftEther instances

Post by raafat » Fri Sep 16, 2016 9:50 pm

moatazelmasry wrote:
> @raafat
>
> I have the following structure on the server:
> Instance1VPN->Proxy->Instance2VPN
>
> I have routers and normal users connected to the vpn.
> The routers are connecting to instance 1
> The users are connecting to instance 2
>
> I need to filter the traffic coming out of the routers in a certain way. So I use
> squid proxy on the traffic coming out of instance 1
> Traffic coming out of instance 2 goes into the internet unfiltered


But why don't you just use two hubs for that purpose ?

moatazelmasry
Posts: 336
Joined: Sat Aug 15, 2015 7:41 pm

Re: multiple SoftEther instances

Post by moatazelmasry » Fri Sep 16, 2016 10:29 pm

I need to use squid proxy server

When I forward the traffic from the vpn server to a proxy, it is not then possible to differentiate between traffic originating from hub and hub2 (as far as I know). So I can not apply my proxy rules only on traffic coming from hub1

raafat
Posts: 223
Joined: Fri Jul 03, 2015 2:21 pm

Re: multiple SoftEther instances

Post by raafat » Fri Sep 16, 2016 10:32 pm

moatazelmasry wrote:
> I need to use squid proxy server
>
> When I forward the traffic from the vpn server to a proxy, it is not then
> possible to differentiate between traffic originating from hub and hub2 (as
> far as I know). So I can not apply my proxy rules only on traffic coming
> from hub1

What about VLANs, IP networks ?

moatazelmasry
Posts: 336
Joined: Sat Aug 15, 2015 7:41 pm

Re: multiple SoftEther instances

Post by moatazelmasry » Fri Sep 16, 2016 10:52 pm

What do you mean by ip network??

VLAN would probably have worked fine, but I'm not a network expert, so I just opted for the easy solution :)

raafat
Posts: 223
Joined: Fri Jul 03, 2015 2:21 pm

Re: multiple SoftEther instances

Post by raafat » Fri Sep 16, 2016 11:05 pm

moatazelmasry wrote:
> What do you mean by ip network??
>
> VLAN would probably have worked fine, but I'm not a network expert, so I
> just opted for the easy solution :)


What about giving each hub a different IPv4 network ?

moatazelmasry
Posts: 336
Joined: Sat Aug 15, 2015 7:41 pm

Re: multiple SoftEther instances

Post by moatazelmasry » Mon Sep 26, 2016 10:11 am

Hi rafaat,

Sorry still didn't get around to examine this suggestion. But yes thinking about it, this should actually work out of the box.

Thnx for the tip

Cheers

raafat
Posts: 223
Joined: Fri Jul 03, 2015 2:21 pm

Re: multiple SoftEther instances

Post by raafat » Fri Sep 30, 2016 12:06 pm

Happy to hear that from you (:.

Post Reply