Stunnel on WRT1900AC

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
wahsh
DD-WRT Novice


Joined: 25 Oct 2016
Posts: 6

PostPosted: Tue Oct 25, 2016 9:17    Post subject: Stunnel on WRT1900AC Reply with quote
I am trying to install stunnel on my WRT-1900AC running DD-WRT v3.0-r30700M kongmv. If anybody have done it and can share the steps please.

Thanks.
Sponsor
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Tue Oct 25, 2016 15:00    Post subject: Re: Stunnel on WRT1900AC Reply with quote
wahsh wrote:
I am trying to install stunnel on my WRT-1900AC running DD-WRT v3.0-r30700M kongmv. If anybody have done it and can share the steps please.

Thanks.


Mount a usb drive to /opt through webif settings.
Run bootstrap
Run opkg install stunnel
Edit stunnel config file

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
wahsh
DD-WRT Novice


Joined: 25 Oct 2016
Posts: 6

PostPosted: Tue Oct 25, 2016 15:02    Post subject: Reply with quote
Can't it be done on /jffs ?
wahsh
DD-WRT Novice


Joined: 25 Oct 2016
Posts: 6

PostPosted: Tue Oct 25, 2016 20:12    Post subject: Re: Stunnel on WRT1900AC Reply with quote
<Kong> wrote:
wahsh wrote:
I am trying to install stunnel on my WRT-1900AC running DD-WRT v3.0-r30700M kongmv. If anybody have done it and can share the steps please.

Thanks.


Mount a usb drive to /opt through webif settings.
Run bootstrap
Run opkg install stunnel
Edit stunnel config file


I tried above with /jffs/opt mounted on /opt and this is what I get.

root@DD-WRT:/# bootstrap
Bootstrap is checking prerequisites...

USB automounter is enabled.
Found a valid partition: /opt.

Proceed with download and install of opkg? (y/n) [default=n]:
y
Connecting to www.desipro.de (217.160.231.132:80)
Connecting to www.desipro.de (217.160.231.132:80)
Connecting to www.desipro.de (217.160.231.132:80)
Bootstrap complete. You can now use opkg to install additional packages.
root@DD-WRT:/# opkg update
Downloading http://www.desipro.de/musl/base/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/base.
Downloading http://www.desipro.de/musl/base/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/kernel/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/kernel.
Downloading http://www.desipro.de/musl/kernel/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/luci/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/luci.
Downloading http://www.desipro.de/musl/luci/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/management/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/management.
Downloading http://www.desipro.de/musl/management/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/packages/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/packages.
Downloading http://www.desipro.de/musl/packages/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/routing/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/routing.
Downloading http://www.desipro.de/musl/routing/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/targets/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/targets.
Downloading http://www.desipro.de/musl/targets/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/telephony/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/telephony.
Downloading http://www.desipro.de/musl/telephony/Packages.sig.
Signature check passed.
root@DD-WRT:/# opkg install stunnel
Unknown package 'stunnel'.
Collected errors:
* opkg_install_cmd: Cannot install package stunnel.
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Wed Oct 26, 2016 5:33    Post subject: Re: Stunnel on WRT1900AC Reply with quote
wahsh wrote:
<Kong> wrote:
wahsh wrote:
I am trying to install stunnel on my WRT-1900AC running DD-WRT v3.0-r30700M kongmv. If anybody have done it and can share the steps please.

Thanks.


Mount a usb drive to /opt through webif settings.
Run bootstrap
Run opkg install stunnel
Edit stunnel config file


I tried above with /jffs/opt mounted on /opt and this is what I get.

root@DD-WRT:/# bootstrap
Bootstrap is checking prerequisites...

USB automounter is enabled.
Found a valid partition: /opt.

Proceed with download and install of opkg? (y/n) [default=n]:
y
Connecting to www.desipro.de (217.160.231.132:80)
Connecting to www.desipro.de (217.160.231.132:80)
Connecting to www.desipro.de (217.160.231.132:80)
Bootstrap complete. You can now use opkg to install additional packages.
root@DD-WRT:/# opkg update
Downloading http://www.desipro.de/musl/base/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/base.
Downloading http://www.desipro.de/musl/base/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/kernel/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/kernel.
Downloading http://www.desipro.de/musl/kernel/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/luci/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/luci.
Downloading http://www.desipro.de/musl/luci/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/management/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/management.
Downloading http://www.desipro.de/musl/management/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/packages/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/packages.
Downloading http://www.desipro.de/musl/packages/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/routing/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/routing.
Downloading http://www.desipro.de/musl/routing/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/targets/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/targets.
Downloading http://www.desipro.de/musl/targets/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/telephony/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/telephony.
Downloading http://www.desipro.de/musl/telephony/Packages.sig.
Signature check passed.
root@DD-WRT:/# opkg install stunnel
Unknown package 'stunnel'.
Collected errors:
* opkg_install_cmd: Cannot install package stunnel.


It has to be /opt as this is the path that is compiled in.

Not sure what is wrong on your side, maybe the path etc.,here it works:

Code:
root@r7:~# opkg update
Downloading http://www.desipro.de/musl/base/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/base.
Downloading http://www.desipro.de/musl/base/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/kernel/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/kernel.
Downloading http://www.desipro.de/musl/kernel/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/luci/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/luci.
Downloading http://www.desipro.de/musl/luci/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/management/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/management.
Downloading http://www.desipro.de/musl/management/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/packages/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/packages.
Downloading http://www.desipro.de/musl/packages/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/routing/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/routing.
Downloading http://www.desipro.de/musl/routing/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/targets/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/targets.
Downloading http://www.desipro.de/musl/targets/Packages.sig.
Signature check passed.
Downloading http://www.desipro.de/musl/telephony/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/telephony.
Downloading http://www.desipro.de/musl/telephony/Packages.sig.
Signature check passed.
root@r7:~# opkg list | grep stunnel
stunnel - 5.20-1 - Stunnel is a program that allows you to encrypt arbitrary TCP connections inside SSL (Secure Sockets Layer) available on both Unix and Windows. Stunnel can allow you to secure non-SSL aware daemons and protocols (like POP, IMAP, LDAP, etc) by having Stunnel provide the encryption, requiring no changes to the daemon's code.

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) 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