Code Monkey home page Code Monkey logo

Comments (12)

arloor avatar arloor commented on September 25, 2024

情况1 使用选项3增加的转发规则会在重启后消失 使用1增加的则不会
情况2 麻烦截下图。。

from iptablesutils.

icloudu888 avatar icloudu888 commented on September 25, 2024

情况1
我用的就是选项1 增加到域名的转发,重启之后就这样
1

情况2
这次居然没有重复规则。。好尴尬。。。。。。。。。。

情况3 新的
添加第一个域名转发,在appnode面板,防火墙原文模式里面,改成编辑模式,什么也不改动,直接保存,重启vps,规则正常的。然后,添加第二个端口转发,脚本操作没有发现异常,但是,面板防火墙里面没有出现规则

from iptablesutils.

icloudu888 avatar icloudu888 commented on September 25, 2024

就是,,感觉这个appnode面板的防火墙,,和脚本,有点不是很兼容的意思。。
不好意思。我个人习惯appnode面板了。。
大家都用啥面板啊,不会都是命令行管理吧。。

from iptablesutils.

icloudu888 avatar icloudu888 commented on September 25, 2024

啊啊啊,试了好几次,情况2不出现了。。

from iptablesutils.

icloudu888 avatar icloudu888 commented on September 25, 2024

情况2确实看不到了。情况1会出现。。情况3,也会出现

from iptablesutils.

arloor avatar arloor commented on September 25, 2024

情况1 是一个bug,晚点会修复。
情况3 添加规则后 需要等待两分钟左右 才会生效

from iptablesutils.

icloudu888 avatar icloudu888 commented on September 25, 2024

谢谢回复,么么哒。你要是个妹子,我可以以身相许。

from iptablesutils.

arloor avatar arloor commented on September 25, 2024

情况1 是一个bug,晚点会修复。
情况3 添加规则后 需要等待两分钟左右 才会生效
情况一的bug已经修复,现在可以执行一次

wget -qO natcfg.sh https://raw.githubusercontent.com/arloor/iptablesUtils/master/natcfg.sh && bash natcfg.sh

来覆盖老版本

from iptablesutils.

icloudu888 avatar icloudu888 commented on September 25, 2024

嗯嗯,感谢,楼主好人。

from iptablesutils.

icloudu888 avatar icloudu888 commented on September 25, 2024

亲,又是我。测试了几天。有个情况反映一下。。
我添加了4个端口转发
发现,
排在前面的2个端口,转发稳定和流畅。。
排在后面的2个,经常不通。。重启一下,就好了。这个好的状态,也就保持几个,到十几个小时。。
比如说:
1111
1112
1113
1114
这是四个端口。。无论你,添加域名的顺序是怎样的,
1111和1112.。。。这2个端口,一直是丝滑稳定流畅,总之非常好
1113和1114.。。。这2个端口,就总是不通,重启服务器,就好一会儿。。

奥。。说明一下。。nat机器。。

from iptablesutils.

arloor avatar arloor commented on September 25, 2024

那目标端口和域名都是啥,有能力可以自己看dnat服务的日志,没能力就靠猜吧。

别问啦,再问就烦了

from iptablesutils.

icloudu888 avatar icloudu888 commented on September 25, 2024

OK,好的亲

from iptablesutils.

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.