Softether on Vyatta on a KVM VPS

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
laedis
Posts: 3
Joined: Mon Dec 23, 2013 6:56 pm

Softether on Vyatta on a KVM VPS

Post by laedis » Mon Dec 23, 2013 7:03 pm

Hello everybody

I just discovered this very cool project.

I have got it compiled on one of my vyatta based vps server's.
Now i search a way to connect the softether virtualhubs with an interface of the vyatta.

Does anybody already tried this?
I tried almost every interface the vyatta cli offers but didn't get it to work.

Does anybody has an idea what type of interface works on both (softether and vyatta)?
If i could get it to work this combination would be an unbeatable solution.

Thanks in advance for your answers.

dragon2611
Posts: 9
Joined: Sun Dec 22, 2013 8:43 pm

Re: Softether on Vyatta on a KVM VPS

Post by dragon2611 » Tue Dec 24, 2013 8:40 pm

Can you drop into a shell on vyatta

I haven't played with it in ages so not sure if it's possible.

I use UBNT's edgeOS and you can on that but it's a fork so it might be something UBNT added.
Sadly couldn't compile for that, think the router CPU was Mips-be instead of Mips-le

laedis
Posts: 3
Joined: Mon Dec 23, 2013 6:56 pm

Re: Softether on Vyatta on a KVM VPS

Post by laedis » Tue Dec 24, 2013 9:00 pm

Thanks for your answer dragon2611

localy im also using UbNT's edgeOS with some edgerouter lite. (3 Locations)
to try to compile softether on the edgeos is the next step on my todo list

On the central node (its a small KVM VPS) im using vyatta 6...

i was already playing around with the cli and the shell.
But i have not jet found a interface type that works on both (vyatta and softether)

I already asked my provider to set up a additional eth interface on the vps but have not received any answer.

dragon2611
Posts: 9
Joined: Sun Dec 22, 2013 8:43 pm

Re: Softether on Vyatta on a KVM VPS

Post by dragon2611 » Tue Dec 24, 2013 9:44 pm

I know it works on KVM as I have it running, I suspect it's vyatta that's the problem.

I was hoping you could sudo bash and then do an Ifconfig, I'd assume if it's still the linux Kernel underneath it would be eth0 or simular.

Of course I could be wrong, other than playing with it briefly a long time ago i've not used vyatta.

laedis
Posts: 3
Joined: Mon Dec 23, 2013 6:56 pm

Re: Softether on Vyatta on a KVM VPS

Post by laedis » Fri Jan 10, 2014 7:54 am

i have now got softether to work on my vyatta based kvm vps

i made a bridge between the vyatta eth1 and the vpn tap

bridge name bridge id STP enabled interfaces
br0 0000.00ac867c7530 yes eth1
tap_vpn


I dont know if there is a more elegant way to set up a bridge with vyatta without the need of an additional eth interface.
Now i just need to configure to automate the add if to bridge wenn tap_vpn is up.....

Maybe somebody has any idea to try?

I think the combination of vyatta with softether is almost unbetable.
This VPS is working as central node in a S2S Mesh and also as VPN Server for external users...

adilo
Posts: 6
Joined: Sun Apr 13, 2014 5:33 am

Re: Softether on Vyatta on a KVM VPS

Post by adilo » Thu May 15, 2014 9:32 am

Hello sir,
i have a vyatta intranet and i want to use the softether with vyatta virtualisation
can you help me please,
i'm beginner...
thanks

dragon2611
Posts: 9
Joined: Sun Dec 22, 2013 8:43 pm

Re: Softether on Vyatta on a KVM VPS

Post by dragon2611 » Thu May 15, 2014 10:03 am

laedis wrote:
> i have now got softether to work on my vyatta based kvm vps
>
> i made a bridge between the vyatta eth1 and the vpn tap
>
> bridge name bridge id STP enabled interfaces
> br0 0000.00ac867c7530 yes eth1
> tap_vpn
>
>
> I dont know if there is a more elegant way to set up a bridge with vyatta
> without the need of an additional eth interface.
> Now i just need to configure to automate the add if to bridge wenn tap_vpn
> is up.....
>
> Maybe somebody has any idea to try?
>
> I think the combination of vyatta with softether is almost unbetable.
> This VPS is working as central node in a S2S Mesh and also as VPN Server
> for external users...


Does /etc/rc.local exist on the Vyatta box?

If so any commands placed there should execute on system startup, It's not the cleanest way to do it (I suspect someone will suggest a better way) but it should work providing the file is there and gets used.

Also might be worth checking if softether can run scripts on vpn up/down, I thought it could but I might just be getting confused with something else.

Post Reply