腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
GRE隧道信源
linux
、
iptables
、
tunneling
在
Linux
上,我创建了一个名为gre1 172.17.1 -> 172.17.2的GRE隧道。
Linux
为10.10.100.100,端点IP为10.10.101.101。我正在尝试做一个源NAT (而不是目的NAT)隧道,从
Linux
机器到隧道的流量实际上是80。我试过这样的方法,但没有成功:iptables -t nat -A FORWARD -p tcp --dport 8
浏览 0
提问于2009-08-12
得票数 1
回答已采纳
1
回答
使用
Linux
的netfilter来反映数据包
linux
、
iptables
、
ip
、
forwarding
我被困的地方是让
DNAT
和
SNAT
同时工作。看起来,如果一个数据包是由
DNAT
处理的,那么它会自动被标记为跳过
SNAT
规则:
DNAT
工作正常,但是源地址没有被翻译。
浏览 0
提问于2013-09-13
得票数 2
回答已采纳
1
回答
通过防火墙的iptables路由
iptables
、
routing
desktopiptables -t nat -A PREROUTING -p tcp --dport 80 -j
DNAT
浏览 0
提问于2014-12-25
得票数 -1
3
回答
IP6Tables中的
SNAT
linux
、
iptables
、
ipv6
Netfilter说他们支持
SNAT
,
DNAT
支持ipv6。我在ip6tables的手册页下查看,并看到有
SNAT
和
DNAT
列出。所以我的问题是你是如何为他们制定规则的?我尝试为iptables使用相同的规则结构,但是ip6tables没有nat表,
SNAT
/
DNAT
是虚拟状态。因此,我不知道从这样的例子中可以做什么修改:适用于ip6tables。谢谢你的帮助!
浏览 0
提问于2013-01-17
得票数 3
1
回答
Iptables未能将流量重定向到透明代理
iptables
、
transparent-proxy
、
socks
我发现了一个类似于我的案例,其中雇用了
SNAT
(透明NAT表),但无法让它与以下内容一起工作:iptables -t nat -A REDSOCKSREDSOCKS -d 240.0.0.0/4 -j RETURN iptables -t nat -A POSTROUTING -s 192.168.50.2 -p tcp --dport 80 -j
SNAT
浏览 0
提问于2014-10-10
得票数 1
回答已采纳
1
回答
管理本地局域网路由的iptables
iptables
、
routing
、
nat
一本Macbook - 192.168.0.10 (连接到网具路由器)我正试图通过电脑传送所有Macbook如何管理
Linux
上的NAT表,将Macbook的流量路由到路由器(也就是互联网)?我试着做这样的事情,但它不能正确地工作: iptables -t nat -A PREROUTING -s 192.168.0.10 -j
DNAT
--to-destination 192.168.0.1iptables -t nat -A POSTROUT
浏览 0
提问于2013-10-24
得票数 1
2
回答
CentOS 7转发端口到另一个IP:端口
linux
、
centos
、
iptables
、
bash
我有CentOS 7,它使用IPTABLES将端口30120转发到windows服务器 iptables-t nat -A POSTROUTING -p tcp -d 192.168.1.3 --dport 30120 -j
SNAT<
浏览 0
提问于2020-05-14
得票数 1
1
回答
在
Linux
NAT背后赢得RDP
iptables
-j
DNAT
--to-destination <IP of win machine>我也试过 iptables -t nat -A POSTROUTING-p tcp -s <IP of win machine> --sport 3389 -
浏览 0
提问于2016-11-07
得票数 0
回答已采纳
1
回答
如何将相同
Linux
上相同数据包的出站NAT和端口转发结合起来?
linux-networking
、
nat
我想用
Linux
代替旧的ASA盒。对于同一个数据包,我将出站NAT和端口转发结合在一起--别名两次NAT (如描述的这里)。
浏览 0
提问于2020-11-15
得票数 0
回答已采纳
1
回答
如何在MongoDB中合并结果和重新格式化
mongodb
、
aggregation-framework
我有这样的文件: "si" : "10.131.6.79", "n" : "
snat
", "dp" : 443{ "
浏览 2
提问于2019-10-19
得票数 1
回答已采纳
1
回答
可以使用伪装自动移植前向端口吗?
centos
、
iptables
、
64-bit
当用户想要移植前向端口时,我使用
DNAT
。我听说过一些化妆舞会能做到的事。
浏览 0
提问于2013-01-02
得票数 -1
回答已采纳
1
回答
ubuntu 12.04上的iptables和CONNMARK
iptables
、
ubuntu-12.04
、
multi-homed
我有Ubuntu12.04在一个多家主机上。我正在尝试使用iptable来重新路由HTTP数据包到某个IP地址到另一个IP地址。然而,当我试图使用短语'-j CONNMARK‘时,我被告知没有这样的链条。 如何在Ubuntu12.04上使用“-CONNMARK”?
浏览 0
提问于2014-01-09
得票数 0
1
回答
在相同的服务器问题中,在两个ips之间转发iptables端口
iptables
、
nat
、
port-forwarding
443,这样我就可以连接A:443-A PREROUTING -d A/32 -p tcp -m tcp --dport 443 -j
DNAT
--to-destination C:443如果我使用( B:443 NAT到C:443),我可以连接B:443,但这不是我想要的 -A PREROUTING -d B/
浏览 0
提问于2017-10-26
得票数 0
1
回答
Iptable规则不起作用
linux
、
iptables
我已经配置了这些规则 iptables -t nat -A PREROUTING -p tcp --dport 9443 -j
DNAT
--to-destination10.21.2.31:443iptables -t nat -A POSTROUTING -p tcp -d 10.21.2.31 --dport 9443 -j
SNAT
--to-source 10.10.8.33:9443
浏览 0
提问于2017-06-15
得票数 -2
1
回答
使用iptables到本地服务器的NAT外部IP
iptables
、
nat
1.1.1.1 我可以用iptables:iptables --table nat --append PREROUTING -i ppp0 --dest 1.1.1.1 -p tcp --dport 80 -j
DNAT
不起作用):iptables --table nat --append PREROUTING --in-interface eth1 --dest 1.1.1.1 -p tcp --dport 80 -j
DNAT
to-destination 192.168.1.101:80和iptables -t nat --append OUTPUT -
浏览 0
提问于2015-03-04
得票数 1
回答已采纳
1
回答
iptables规则-使用nat表的前向/伪装服务
networking
、
iptables
、
nat
、
ipv4
、
dnat
'jumpbox' SSH (on 2222 port)iptables -t nat -A PREROUTING -s 10.9.0.2 -p tcp --dport 2222 -j
DNAT
--toconnection to 'jumpbox' TELNET iptables -t nat -A POSTROU
浏览 0
提问于2023-05-31
得票数 0
1
回答
1:1 NAT和ARP发行iptable
linux
、
iptables
、
nat
prot opt source destination 的 target prot opt source
浏览 0
提问于2013-07-19
得票数 0
1
回答
如何使用iptables重定向ip地址
linux
、
redirect
、
iptables
因此,我必须在我的路由器(
linux
系统)上进行重定向,这将重定向真实的ip地址(194.187...)到我在提供商网络中的ip地址(10.12.205.26)。
浏览 2
提问于2013-02-05
得票数 3
回答已采纳
1
回答
使用iptables转发多个端口
iptables
、
port-forwarding
以了解我想要实现的目标:D )我使用下面的命令来设置iptable:iptables -t nat -A POSTROUTING -p tcp -d 1.1.1.1 --dport 30000:32000 -j
SNAT
--to-source 2.2.2.2iptables -t nat -A PREROUTING
浏览 0
提问于2017-10-01
得票数 3
1
回答
Linux
:使来自同一主机的通信似乎来自不同的IP地址。
linux
、
iptables
、
linux-networking
我使用客户端库(https://github.com/Beckhoff/ADS)通过TCP从
Linux
计算机连接到PLC。但是,库只能在源IP和PLC的目标IP地址之间执行单个连接。我希望通过一些聪明的iptables规则来实现这一点;或者,也许
Linux
网络命名空间也能工作。远程PLC: 192.168.1.10/24
Linux
: 192.16
浏览 0
提问于2022-01-23
得票数 4
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Iptables防火墙
技术-网络系统-centos搭建net服务
Iptables防火墙应用示例
10.IPTABLES防火墙(下)
Linux操作系统的防火墙iptables
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券