GithubHelp home page GithubHelp logo

sunheiwa / luci-app-trojan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from frainzy1477/luci-app-trojan

0.0 0.0 0.0 1.8 MB

Luci interface for Trojan -GO Openwrt

Makefile 0.66% Lua 7.35% HTML 82.94% Shell 6.63% C 2.42%

luci-app-trojan's Introduction


Luci App For Trojan-Go

Proxy Client for Openwrt Based On Trojan-GO.

Install

  • Upload ipk file to tmp folder
  • cd /tmp
  • opkg update
  • opkg install luci-app-trojan_v1.1.2_all.ipk
  • opkg install luci-app-trojan_v1.1.2_all.ipk --force-depends

Uninstall

  • opkg remove luci-app-trojan
  • opkg remove luci-app-trojan --force-remove

Features

  • Config Upload
  • Create Config
  • TProxy UDP
  • IP Query
  • DNS Forwarding
  • Support Trojan(Trojan-Go)
  • Ping Custom Proxy Servers
  • Access Control

Dependency

  • curl
  • bash
  • pdnsd-alt
  • dnscrypt-proxy
  • libmbedtls
  • ipset
  • ip
  • iptables
  • luci
  • luci-base
  • wget
  • unzip
  • ca-certificates
  • iptables-mod-tproxy

Credits

License

Luci App For Trojan-Go OpenWrt is released under the GPL v3.0 License - see detailed LICENSE .

trojan-go uri

trojan-go://[email protected]:443/?sni=uk3.xxx.com&type=ws&host=uk3.xxx.com&path=/trojan&encryption=ss%3Baes-128-gcm%3BgAtla202#United%20States%7CB%7CNF%7C*TJ*

Upload Config.json Sample

{
    "api": {
        "api_addr": "127.0.0.1",
        "api_port": 57721,
        "enabled": true
    },
    "buffer_size": 32,
    "forward_proxy": {
        "enabled": false,
        "proxy_addr": "127.0.0.1",
        "proxy_port": 1086
    },	
    "local_addr": "0.0.0.0",
    "local_port": 51837,
    "log_level": 1,
    "log_file": "/usr/share/trojan/trojan.txt",
    "mux": {
        "concurrency": 8,
        "enabled": true,
        "idle_timeout": 60
    },
    "password": ["your_password"],
    "remote_addr": "your_hostname",
    "remote_port": your_server_port,
    "run_type": "nat",
    "shadowsocks": {
        "enabled": false,
        "method": "",
        "password": ""
    },
    "ssl": {
        "alpn": [
            "h2",
            "http/1.1"
        ],
        "cert": "",
        "cipher": "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA:AES128-SHA:AES256-SHA:DES-CBC3-SHA",
        "cipher_tls13": "TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384",
        "curves": "",
        "fingerprint": "firefox",
        "reuse_session": true,
        "session_ticket": true,
        "sni": "your_hostname",
        "verify": true,
        "verify_hostname": true
    },
    "tcp": {
        "fast_open": true,
        "fast_open_qlen": 20,
        "keep_alive": true,
        "no_delay": false
    },
    "transport_plugin": {
        "enabled": false,
        "type": "",
        "command": "",
        "arg": [],
        "env": [],
        "option": ""
        
    },	
    "websocket": {
        "enabled": false,
        "host": "",
        "path": ""
    },	
    "router":{
        "enabled": true,
        "bypass": [
                    "geoip:cn",
                    "geoip:private",
                    "geosite:cn",
                    "geosite:geolocation-cn"
        ],
        "block": [
                    "geosite:category-ads"
        ],
        "proxy": [
                    "geosite:geolocation-!cn"
        ],
        "default_policy": "proxy",
        "domain_strategy": "as_is",
        "geoip": "/etc/trojan/geoip.dat",
        "geosite": "/etc/trojan/geosite.dat"
		
    }
}

luci-app-trojan's People

Contributors

frainzy1477 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.