hostus 发表于 2019-3-21 16:28 iptables -t nat -A POSTROUTING -s 192.168.10.100(内网静态) -j SNAT --to-source 219.142.217.161(外网) 我上午折腾了无效,还有其他问题 |
板凳 发表于 2019-3-21 16:38 随便搜下仅供参考 https://serverfault.com/questions/515849/how-to-make-incoming-and-outgoing-ip-same-on-a-multiple-ip-binding-server/515869 |
我也曾经折腾过,累死。 建议楼主开个aws玩玩, aws的2版本镜像,基于centos7定制,多ip时会自动添加链路,达到想要的结果。 开个aws看看里面的设置是啥样的 |
ghyghoo8 发表于 2019-3-21 16:45 谢谢,我在看, |
michelleman 发表于 2019-3-21 16:48 aws还有这功能? |
我曾经用docker做过, 太坑, 最后还是pve解决的, |
ssehzt 发表于 2019-3-21 16:54 pve是什么方式? 可以付费帮我一下不 |
ssehzt 发表于 2019-3-21 17:01 不是富强,国内小鸡,昨天和工单搞基了半天,给出了指定route add -host+ip+网卡策略 不适用 |
板凳 发表于 2019-3-21 17:04 那祝你好运吧, |
板凳 发表于 2019-3-21 17:04 走A还是B 有区别吗 大佬这是要开买卖啊 |
GMT+8, 2024-5-6 18:57 , Processed in 0.045067 second(s), 23 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.