Coder Social home page Coder Social logo

Comments (9)

HynoR avatar HynoR commented on June 18, 2024

passwall里面是不是有什么内建dns模块 提前解析了域名

from hysteria.

nbMars1980 avatar nbMars1980 commented on June 18, 2024

passwall2分流模式是以域名请求的,但是passwall却不行
奇怪的是passwall所有设置没有改变的情况下,改成xray类型的节点,服务器收到的请求是域名的,只有使用hysteria2或者sing-box走hysteria2时服务器收到的才是IP请求,不知道是哪里出了问题

from hysteria.

nbMars1980 avatar nbMars1980 commented on June 18, 2024

查看一下类似“流量嗅探只供路由使用”的选项是否打开了,我印象里PassWall也可以用Xray分流节点,只要打开流量嗅探,关闭“流量嗅探只供路由使用”就可以,实在不行可以换PassWall2试试

感谢提醒,不是流量嗅探的问题,我把passwall中分流节点里的“域名解析策略”改成IPIfNonMatch,然后直接用hysteria2节点也能以域名请求了。这可能是passwall自身的bug吧

from hysteria.

nbMars1980 avatar nbMars1980 commented on June 18, 2024

但是现在仍然有一个问题,如果passwall中直接用hysteria2创建节点,当passwall设置里开启了TPROXY透明代理时,节点能测试通过,但是无法正常使用,应该是构成回路了。如果使用sing-box的hysteria2创建节点可以用透明代理。我看文档里对透明代理的使用有iptables设置的指导,但是没有尝试过,不知道有没有跟我遇到同样问题的朋友。我需要使用透明代理,且需要开启IPV6透明代理,不知道该怎么操作才能用原生hysteria2来创建节点,配合端口跳跃使用

from hysteria.

taskmgr818 avatar taskmgr818 commented on June 18, 2024

抱歉我没理解“创建节点”,你是想用PassWall搭建Hy2节点(服务器端),还是单纯用作客户端,给下挂设备提供透明代理

from hysteria.

nbMars1980 avatar nbMars1980 commented on June 18, 2024

抱歉我没理解“创建节点”,你是想用PassWall搭建Hy2节点(服务器端),还是单纯用作客户端,给下挂设备提供透明代理

我的表达可能不太合适,我的意思是:软路由里的passwall节点用原生hysteria2来配置客户端,然后开启passwall自带的TPROXY透明代理给下挂的主机使用

from hysteria.

taskmgr818 avatar taskmgr818 commented on June 18, 2024

我测试了一下,PassWall确实无法使用,服务器端没有收到连接请求(显示客户端已连接,但没有后续访问),暂时找不出问题原因,。如果没有特殊需求建议试试PassWall2,我目前使用效果很好

from hysteria.

nbMars1980 avatar nbMars1980 commented on June 18, 2024

我测试了一下,PassWall确实无法使用,服务器端没有收到连接请求(显示客户端已连接,但没有后续访问),暂时找不出问题原因,。如果没有特殊需求建议试试PassWall2,我目前使用效果很好

passwall2用原生hysteria2来配置客户端,并开启透明代理后,确实可以。倒也没有什么特殊需求,只是很久以来一直用passwall,就没有改过去。本以为passwall不行passwall2应该会一样不可以,没有尝试过...

from hysteria.

taskmgr818 avatar taskmgr818 commented on June 18, 2024

PassWall2似乎是将DNS交给Xray进行处理,1则是插件自带解析;总之解决就好 : )

from hysteria.

Related Issues (20)

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.