Git Product home page Git Product logo

Comments (7)

UG40A avatar UG40A commented on June 15, 2024

This needs to be done on Android.*
I have already compiled a working binary.
Thanks!

from trojan-rs.

lazytiger avatar lazytiger commented on June 15, 2024

I am not sure if I can help. Could you give more details, like what you have done, and what's wrong?

from trojan-rs.

UG40A avatar UG40A commented on June 15, 2024

I'm getting a loop or 'connection refused' when trying to connect. I think, that the problem is in forwarding traffic, because server and client are on the same device. I tried to run the server on 127.0.0.1 and 0.0.0.0, but I understand that this is not correct in my case ... I also created a second isolated profile: in this case, I can connect, but I cannot correctly redirect/tether traffic after.
This is a common problem for all proxies in this case and I don't know how to properly configure routing or fix it differently...
Thanks.

from trojan-rs.

lazytiger avatar lazytiger commented on June 15, 2024

Which stage did 'connection refused' happen? Did trojan client get data? Or did trojan server get data?
And if it's ok, could you share your iptable config?

from trojan-rs.

UG40A avatar UG40A commented on June 15, 2024
  1. When I am trying to connect.
    2,3. No and No...
  2. My iptables config is empty now, but I tried to forward the trojan traffic with prerouting.
    Thanks.

from trojan-rs.

lazytiger avatar lazytiger commented on June 15, 2024

Well, if iptables config is empty, I am sure you will get connection refused problem, because trojan does not work now. Please try the iptables config in README.

from trojan-rs.

lazytiger avatar lazytiger commented on June 15, 2024

This issue is not directly related to the projet, I am closing it now.

from trojan-rs.

Related Issues (15)

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.