Coder Social home page Coder Social logo

Comments (7)

bjdgyc avatar bjdgyc commented on August 23, 2024

docker 启动的时候 可以通过环境变量设置

-e IPV4_CIDR=192.168.10.0/24

from anylink.

lihaiz avatar lihaiz commented on August 23, 2024

嗯,希望能自动根据server.toml去生效,这样通过配置文件就可以生效会更好

from anylink.

taiwan-king avatar taiwan-king commented on August 23, 2024

2024/03/18 22:29:15 link_tun.go:55: [Error] running [/sbin/iptables -t nat -I POSTROUTING 1 -s 192.168.10.0/24 -o eth0 -m comment --comment AnyLink -j MASQUERADE --wait]: exit status 1: Warning: Extension comment revision 0 not supported, missing kernel module?
iptables: No chain/target/match by that name.

開機自動設定NAT沒有生效變成每次重開機都要自己設定

-e IPV4_CIDR=192.168.10.0/24
測試過沒用

from anylink.

bjdgyc avatar bjdgyc commented on August 23, 2024

@taiwan-king 麻烦发下 系统版本,系统架构,系统内核,anylink版本,iptables 版本

from anylink.

taiwan-king avatar taiwan-king commented on August 23, 2024

@taiwan-king 麻烦发下 系统版本,系统架构,系统内核,anylink版本,iptables 版本

synology NAS DS1621+ DSM7.2

1710930645946

1710930631846

1710930726120

from anylink.

bjdgyc avatar bjdgyc commented on August 23, 2024

在宿主机执行 modprobe xt_comment
并且开启docker的特权模式运行 anylink

使用 v0.11.4 测试一下

from anylink.

taiwan-king avatar taiwan-king commented on August 23, 2024

在宿主机执行 modprobe xt_comment 并且开启docker的特权模式运行 anylink

使用 v0.11.4 测试一下

感謝您的快速處理,
更新新版本即正常使用不需要特別去宿主機安裝xt_comment

from anylink.

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.