🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #256565

Re: Is there obvious stunnel or mixmin DIY for Ubuntu/WIndows for free protect newsserver & client?

#256565
From: Nuncio Tangafino
Date: Mon, 27 Jan 2014 03:49
64 lines
2747 bytes
On Mon, 27 Jan 2014 00:32:51 -0200, Shadow wrote:

> 	Here ... this will give you an idea of how it works:
> 	http://www.debiantutorials.com/?s=stunnel

Thank you much for this advices!
I will try on ubuntu 13.10 to set up stunnel new again!

Problem is DIY url you given is for only samba. 
Nothing work for nntp.

Maybe very different?
Maybe the same?

But I try!
Does this look rightly to modify samba smb diy for mixmin nntp?

1. Install stunnel on ubuntu 13.10.
apt-get install stunnel

2. Configure Samba to only listen on localhost only (pico /etc/samba/smb.conf)
CHANGE TO:
2. Configure mixmin to only listen on localhost only (pico ???)

3. Restart Samba
CHANGE TO:
3. Restart mixmin
?????

4. Create SSL certificate and a key.
openssl req -new -nodes -x509 -out /etc/stunnel/stunnel.pem -keyout /etc/stunnel/stunnel.pem

5. Configure stunnel to listen for secure connections on port 8139 
and forward to port 139 on localhost (pico /etc/stunnel/stunnel.conf)
cert = /etc/stunnel/stunnel.pem
[smb]
accept = 8139
connect = 139
CHANGE TO:
5. Configure stunnel to listen for secure connections on port 443 
and forward to port 119 on localhost (pico /etc/stunnel/stunnel.conf)
cert = /etc/stunnel/stunnel.pem
[smb]
accept = 443
connect = 119

6. Enable stunnel (pico /etc/default/stunnel4)
ENABLED=1

7. Start stunnel
/etc/init.d/stunnel4 restart

8. Install smbclient
apt-get install smbclient 
CHANGE TO:
8. Install pan
apt-get install pan

9. Test the connection using smbclient
smbclient -U user1 //localhost/sambashare
CHANGE TO:
9. Test the connection using pan
pan
Technical Details
Message-ID: <lc4l0m$2fk$3@speranza.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail
References: <lc4bu9$ibu$1@speranza.aioe.org> <cpgbe9567dqstkj24vuqeb55vikgr297o7@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <lc4l0m$2fk$3@speranza.aioe.org>
Subject: Re: Is there obvious stunnel or mixmin DIY for Ubuntu/WIndows for free protect newsserver & client?
Date: Mon, 27 Jan 2014 03:49:42 +0000
From: Nuncio Tangafino <nuncio.tangafino@messina.invalid>
References: <lc4bu9$ibu$1@speranza.aioe.org> <cpgbe9567dqstkj24vuqeb55vikgr297o7@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail
Newsgroups: alt.free.newsservers,news.software.readers,alt.comp.freeware
Organization: Aioe.org NNTP Server
Lines: 64
NNTP-Posting-Host: JVvAQ8NXozHMiuQbWCXWpg.user.speranza.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
X-Notice: Filtered by postfilter v. 0.8.2
X-Original-Bytes: 2561