From Caddy v2.6.0, The experimental_http3 option has been deprecated, please update your configuration
i386 amd64 arm32v6 arm32v7 arm64v8 ppc64le s390x
$ docker pull pocat/naiveproxy
$ mkdir -p /etc/naiveproxy /var/www/html /var/log/caddy
$ cat > /etc/naiveproxy/Caddyfile <<EOF
{
admin off
log {
output file /var/log/caddy/access.log
level INFO
}
servers :443 {
protocols h1 h2 h3
}
}
:80 {
redir https://{host}{uri} permanent
}
:443, your_domain.com #Modify to your domain
tls [email protected] #Modify to your email address
route {
forward_proxy {
basic_auth user_name your_password #Modify to your user name and password
hide_ip
hide_via
probe_resistance rP7uSWkJpZzfg5g2Qr.com #Modify to a secret domain, like password
}
file_server {
root /var/www/html
}
}
EOF
$ docker run --network host --name naiveproxy -v /etc/naiveproxy:/etc/naiveproxy -v /var/www/html:/var/www/html -v /var/log/caddy:/var/log/caddy -e PATH=/etc/naiveproxy/Caddyfile --restart=always -d pocat/naiveproxy
$ cat > /etc/naiveproxy/config.json <<EOF
{
"admin": {
"disabled": true
},
"logging": {
"logs": {
"default": {
"writer": {
"filename": "/var/log/caddy/access.log",
"output": "file"
},
"level": "INFO"
}
}
},
"apps": {
"http": {
"servers": {
"srv0": {
"listen": [
":443"
],
"routes": [
{
"handle": [
{
"handler": "subroute",
"routes": [
{
"handle": [
{
"auth_pass_deprecated": "your_password",
"auth_user_deprecated": "user_name",
"handler": "forward_proxy",
"hide_ip": true,
"hide_via": true,
"probe_resistance": {
"domain": "rP7uSWkJpZzfg5g2Qr.com"
}
}
]
},
{
"handle": [
{
"handler": "file_server",
"hide": [
"./Caddyfile"
],
"root": "/var/www/html"
}
]
}
]
}
]
}
],
"protocols": [
"h1",
"h2",
"h3"
]
},
"srv1": {
"listen": [
":80"
],
"routes": [
{
"handle": [
{
"handler": "static_response",
"headers": {
"Location": [
"https://{http.request.host}{http.request.uri}"
]
},
"status_code": 301
}
]
}
]
}
}
},
"tls": {
"certificates": {
"automate": [
"your_domain.com"
]
},
"automation": {
"policies": [
{
"subjects": [
"your_domain.com"
],
"issuers": [
{
"email": "[email protected]",
"module": "acme"
},
{
"email": "[email protected]",
"module": "zerossl"
}
]
}
]
}
}
}
}
EOF
$ docker run --network host --name naiveproxy -v /etc/naiveproxy:/etc/naiveproxy -v /var/www/html:/var/www/html -v /var/log/caddy:/var/log/caddy -e PATH=/etc/naiveproxy/config.json --restart=always -d pocat/naiveproxy
SagerNet supports its UDP Over TCP Protocol from version 0.8-beta02, if you want to use this feature (Now Only Support in SagerNet), you can replace pocat/naiveproxy to pocat/naiveproxy:latest-uot when starting the server
i386 amd64 arm32v7 arm64v8
$ docker pull pocat/naiveproxy:client
$ mkdir -p /etc/naiveproxy
$ cat > /etc/naiveproxy/config.json <<EOF
{
"listen": "socks://127.0.0.1:1080",
"proxy": "https://user:[email protected]"
}
EOF
$ docker run --network host --name naiveproxy -v /etc/naiveproxy:/etc/naiveproxy --restart=always -d pocat/naiveproxy:client
| Clients | Platform | Supported Protocols | Status | Home Page |
|---|---|---|---|---|
| Qv2ray | Windows/MacOS/Linux | https/quic | Inactive | Client & Naive Plugin |
| Nekoray | Windows/MacOS/Linux | https/quic | Maintained | Link |
| V2rayN | Windows | https/quic | Maintained | Link |
| SagerNet | Android | https/quic | Inactive | Client & Naive Plugin |
| Matsuri | Android | https/quic | Inactive | Client & Naive Plugin |
| NekoBoxForAndroid | Android | https/quic | Maintained | Client & Naive Plugin |
| AndrProxy | Android | https/quic | Inactive | Link |
| Sing-box | Windows/MacOS/Linux/Android/iOS | https/quic | Maintained | Nekoray & V2rayN & Android & iOS |
| Shadowrocket | iOS | https | Maintained | Link |
You can set up Naiveproxy on server side within 5 minutes, please look up Here
For the security aspect, you can browse This Page from Github to scrutiny what has been compiled and how this worked
Content type
Image
Digest
sha256:fc0f8766e…
Size
34.7 MB
Last updated
13 days ago
docker pull pocat/naiveproxy:v150.0.7871.63-1