Softether Setup Guide(solved cpu 100% problem!)

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page Previous  1, 2, 3  Next
Author Message
rickyyip123
DD-WRT Novice


Joined: 31 Dec 2016
Posts: 18

PostPosted: Wed Jan 25, 2017 12:12    Post subject: Re: VPN Log? Reply with quote
Mr_Orange wrote:
I got it working, thanks to the detailed explanation in the first post but it seems the vpn logs are missing.
Do yuo have the same problem or I'm not searching the log in the right places?

In Manage Virtual Hub, you should see the option to enable logging every day. Change to log every second if you want to.
Be reminded that logging would consume a lot of cpu power.
Sponsor
Mr_Orange
DD-WRT Novice


Joined: 29 Nov 2015
Posts: 7

PostPosted: Thu Jan 26, 2017 15:37    Post subject: Re: VPN Log? Reply with quote
rickyyip123 wrote:
Mr_Orange wrote:
I got it working, thanks to the detailed explanation in the first post but it seems the vpn logs are missing.
Do yuo have the same problem or I'm not searching the log in the right places?

In Manage Virtual Hub, you should see the option to enable logging every day. Change to log every second if you want to.
Be reminded that logging would consume a lot of cpu power.


Logs are enabled, just double checked it, but any logging is done on the system. In /tmp/var/lib there are logs 3 directory (server_log / security_log / packet_log) but they are empty. I think something on softether app is not working.
blaser
DD-WRT Guru


Joined: 16 Jul 2006
Posts: 525

PostPosted: Sat Feb 04, 2017 19:52    Post subject: Reply with quote
I saw that Kong tried fixing the tab character inside the config file but it is still there.
_________________
Netgear R9000 main router
RAX80 as AP
rickyyip123
DD-WRT Novice


Joined: 31 Dec 2016
Posts: 18

PostPosted: Sun Feb 05, 2017 11:47    Post subject: Reply with quote
blaser wrote:
I saw that Kong tried fixing the tab character inside the config file but it is still there.

Yea, but it doesn't work.
Meanwhile, softether in 31205M was updated to 4.22, you can now use some more advanced ciphers to encrypt your vpn.
blaser
DD-WRT Guru


Joined: 16 Jul 2006
Posts: 525

PostPosted: Sun Feb 05, 2017 16:19    Post subject: Reply with quote
That's my point, the fix that suppose to remove the tab characters is not working.

rickyyip123 wrote:
blaser wrote:
I saw that Kong tried fixing the tab character inside the config file but it is still there.

Yea, but it doesn't work.
Meanwhile, softether in 31205M was updated to 4.22, you can now use some more advanced ciphers to encrypt your vpn.

_________________
Netgear R9000 main router
RAX80 as AP
lorenzom76
DD-WRT Novice


Joined: 26 Feb 2017
Posts: 6

PostPosted: Sun Feb 26, 2017 15:16    Post subject: Reply with quote
Hi there,

Great guide and works. The only issue I'm having is that I can acer remotely from my iPhone to the vpn id uPnP is off and I forward the ports as described in the guide. If I keep on the uPnP and the ports then I can't access to the vpn at all. Same if I just keep on the uPnP and no ports forwarded.
I would like to have on the uPnP on and the vpn working.Any idea? I apologize if it sounds stupid question but I'm not an expert Smile

Thank you
mkaand
DD-WRT User


Joined: 06 Jan 2008
Posts: 307
Location: Istanbul

PostPosted: Tue Feb 28, 2017 13:16    Post subject: Reply with quote
lorenzom76 wrote:
Hi there,

Great guide and works. The only issue I'm having is that I can acer remotely from my iPhone to the vpn id uPnP is off and I forward the ports as described in the guide. If I keep on the uPnP and the ports then I can't access to the vpn at all. Same if I just keep on the uPnP and no ports forwarded.
I would like to have on the uPnP on and the vpn working.Any idea? I apologize if it sounds stupid question but I'm not an expert Smile

Thank you


Follow this steps:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=307673

_________________
Kaan's World | @mkaand | PLEX Archive | Trakt.tv


Last edited by mkaand on Sun Mar 26, 2017 10:45; edited 1 time in total
sype
DD-WRT Novice


Joined: 21 Jan 2015
Posts: 6

PostPosted: Fri Mar 03, 2017 4:18    Post subject: Reply with quote
hello mister,
i got a way to make softether working accross reboot using another way, i suggest reading my guide at :
https://www.dd-wrt.com/phpBB2/viewtopic.php?t=307728

thanks
SyPE
jikkine
DD-WRT Novice


Joined: 09 Aug 2010
Posts: 16

PostPosted: Sat Mar 11, 2017 19:05    Post subject: Reply with quote
Hi, thanks for great guide, it is very useful. Running on Asus RT-N18U with r30880.

This works fine, but after reboot it doesn't work, because vpn server's configuration is gone.

Code:
*****Updated*****
6.   Copy the following to commands box
Code:
sleep 15
vpncmd localhost:443 /SERVER /PASSWORD: /CMD ConfigSet //tmp//vpn_server.config

7.   Click save startup
8. Copy the following to commands box
Code:
sleep 15
brctl addif br0 tap_vpn

9. Click save firewall
******************


After reading many topics here I used this startup script. Works great.
Code:
sleep 30
/tmp/vpncmd stop
cp /tmp/vpn_server.config /tmp/var/lib
/tmp/vpncmd start
sleep 15
brctl addif br0 tap_vpn
Znida
DD-WRT Novice


Joined: 30 Jan 2013
Posts: 12

PostPosted: Sun Mar 19, 2017 0:35    Post subject: Reply with quote
I want to buy Linksys EA6900 but there is Nvram size problem. Will Softether work with this router?

I have been using WRT320N for so long time I forgot how things go with newer DD Wrt firmwares.
blaser
DD-WRT Guru


Joined: 16 Jul 2006
Posts: 525

PostPosted: Sat Mar 25, 2017 3:38    Post subject: Reply with quote
has anyone tried configuring vpn over dns?
As soon as I set it up I lose DNS from the computers.

_________________
Netgear R9000 main router
RAX80 as AP
eertw
DD-WRT Novice


Joined: 31 Oct 2012
Posts: 5

PostPosted: Wed Apr 12, 2017 5:31    Post subject: Reply with quote
So i am able to get everything working, but i cannot get the setting to stay after a reboot.


I have tried puting this into the start up script:

rm /tmp/var/lib/vpn_server.config

cp /jffs/etc/vpn_server.config /tmp/var/lib/vpn_server.config

any ideas?
mkaand
DD-WRT User


Joined: 06 Jan 2008
Posts: 307
Location: Istanbul

PostPosted: Wed Apr 12, 2017 7:07    Post subject: Reply with quote
eertw wrote:
So i am able to get everything working, but i cannot get the setting to stay after a reboot.


I have tried puting this into the start up script:

rm /tmp/var/lib/vpn_server.config

cp /jffs/etc/vpn_server.config /tmp/var/lib/vpn_server.config

any ideas?


Follow this guide:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=307673

_________________
Kaan's World | @mkaand | PLEX Archive | Trakt.tv
recall8780
DD-WRT Novice


Joined: 26 Aug 2015
Posts: 7

PostPosted: Sat Jul 22, 2017 2:05    Post subject: Reply with quote
rickyyip123 wrote:
I have tested on R6300v2, which has similar spec as ac68u. I set first delay time to be 5, and second delay time to be 60, so that softether can initialize successfully and it will be connectable from outside network at about 3 minutes after boot.


"sleep 60" works for me, you are genius Razz

My device: R6300V2 (r32780M test build 07/21/17)
nolimitz
DD-WRT Guru


Joined: 26 Nov 2010
Posts: 597

PostPosted: Sat Aug 26, 2017 20:34    Post subject: Re: Softether Setup Guide(solved cpu 100% problem!) Reply with quote
rickyyip123 wrote:
UPDATE: Use startup script instead of firewall script to solve 100% cpu problem. Follow the updated step below!


*****Updated*****
6. Copy the following to commands box
Code:
sleep 15
vpncmd localhost:443 /SERVER /PASSWORD: /CMD ConfigSet //tmp//vpn_server.config

7. Click save startup
8. Copy the following to commands box
Code:
sleep 15
brctl addif br0 tap_vpn

9. Click save firewall
******************



How to solve 100% cpu usage issue?

I saved first two commands as startup, second two commends as firewall, i can connect to l2tp sever but cpu utilization is high, 70-80%. If i put the four commands as startup, cpu uilization is high and i cannot connect to l2tp server.

Same issue on two Routers R6300v2 and R7000, using Kong 32170M.
Goto page Previous  1, 2, 3  Next Display posts from previous:    Page 2 of 3
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