Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #211428
| From | peter@easthope.ca |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | stunnel as transparent proxy. |
| Date | 2019-07-16 21:30 +0200 |
| Message-ID | <ykBjc-3Rf-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi, stunnel is installed here with this configuration. "server" has been substituted for the real name of course. peter@joule:~$ cat /etc/stunnel/stunnel.conf # joule:/etc/stunnel/stunnel.conf [pop3] client = yes accept = localhost:110 connect = server:995 [https] client = yes accept = localhost:443 transparent = destination This is the /etc/default/stunnel4. # /etc/default/stunnel4 # Julien LEMOINE <...> # September 2003 # Change to one to enable stunnel automatic startup ENABLED=1 FILES="/etc/stunnel/*.conf" OPTIONS="debug=debug " # Change to one to enable ppp restart scripts PPP_RESTART=0 # Change to enable the setting of limits on the stunnel instances # For example, to set a large limit on file descriptors (to enable # more simultaneous client connections), set RLIMITS="-n 4096" # More than one resource limit may be modified at the same time, # e.g. RLIMITS="-n 4096 -d unlimited" RLIMITS="" Messages can be received from the pop server. stunnel is working for POP3. An attempt to open a page via HTTPS gives this report in the log. Jul 16 11:25:16 joule stunnel: LOG5[4]: Service [https] accepted connection from 127.0.0.1:36140 Jul 16 11:25:16 joule stunnel: LOG3[4]: getsockopt SO_ORIGINAL_DST: Protocol not available (92) Jul 16 11:25:16 joule stunnel: LOG5[4]: Connection reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket Appears the client application here has sent the request to port 36140 and stunnel doesn't have a configuration for that. Any ideas before I dig in the client software? Thanks, ... Peter E. -- https://en.wikibooks.org/wiki/Oberon Tel: +1 604 670 0140 Bcc: peter at easthope. ca
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
stunnel as transparent proxy. peter@easthope.ca - 2019-07-16 21:30 +0200 Re: stunnel as transparent proxy. Reco <recoverym4n@enotuniq.net> - 2019-07-17 10:10 +0200
csiph-web