Skip to content
This repository was archived by the owner on Aug 2, 2023. It is now read-only.
This repository was archived by the owner on Aug 2, 2023. It is now read-only.

How to use it? #28

Open
Open
@vladns

Description

@vladns

I read this manual (https://hamy.io/post/0011/how-to-run-stunnel-on-your-android-device/), added my certificate, added part of the config, pressed start, but nothing happens. I don't see anything in the logs on my stunnel server. I also have a stunnel-cli for android with the same config and certificate, which I run from the terminal, it works. Well, the most incomprehensible thing is how the browser on android should use this proxy? When I use stunnel-cli from the terminal, I create a new access point (APN) in the network settings (not wifi) and specify the proxy server 127.0.0.1:8443 there.
My config (to be added to what is already suggested):

cert = /data/local/tmp/etc/stunnel/stunnel.pem
CAfile = /data/local/tmp/etc/stunnel/stunnel.pem
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1

[server]
accept = 127.0.0.1:8443
connect = XX.XX.XX.XX:8443
verify = 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions