ipt2socks icon indicating copy to clipboard operation
ipt2socks copied to clipboard

将 iptables/nftables 传入的透明代理流量转为 socks5 流量的实用工具

Results 6 ipt2socks issues
Sort by recently updated
recently updated
newest added

I'm trying to forward traffic across namespaces, basically I set up a transparent proxy inside a network namespace and forward the traffic to another one. I create namespaces and set...

如 Cobalt Strike 等工具目前还仅支持开启 socks4 的代理服务 (已引用该项目 https://github.com/L-codes/LTProxy)

enhancement

目前使用的openwrt用的fw4,基于hev-socks5-tproxy的nftables配置、rule/route配置,可以跑通,但还想对比下ipt2tables。 hst那边文档写得比较齐全,网络基础没那么好,没办法基于ss-tproxy的配置转化成nft配置,希望您能针对小白完善下全局代理的设置方法,万分感谢! 下面是目前的设置方法,启动ipt2tables后一直报错 > 2024-01-02 17:31:29 ERR: [new_nonblock_sockfd] socket(AF_INET, SOCK_STREAM): No file descriptors available > 2024-01-02 17:31:29 ERR: [set_tcp_nodelay] setsockopt(-1, TCP_NODELAY): Bad file descriptor > 2024-01-02 17:31:29 ERR: [set_tcp_quickack] setsockopt(-1,...

documentation

对于小白来说,readme中提供的iptables规则看起来完全无从下手,我尝试了将里面的规则拷贝出来,并导入到iptables中,但出现了问题,网络无法正常使用了。下面是我的iptables规则: ``` iptables -t mangle -N SSREDIR iptables -t mangle -A SSREDIR -j CONNMARK --restore-mark iptables -t mangle -A SSREDIR -m mark --mark 0x2333 -j RETURN iptables -t mangle -A...

Archlinux, 滚挂了, 内核移除了Extension MARK? https://gist.github.com/zfl9/d52482118f38ce2c16195583dffc44d2#file-ssredir_tproxy-sh-L44 v6版本添加失败. Warning: Extension MARK revision 0 not supported, missing kernel module? ip6tables v1.8.10 (legacy): unknown option "--set-xmark" Try `ip6tables -h' or 'ip6tables --help' for more...

lede最新版本,内核6.6,也下载使用了release最新版本,频繁出现__vm_enough_memory: pid: 5528, comm: ipt2socks_defau, not enough memory for the allocation