服务器ip映射端口,一个公网IP对应多台服务器端口映射问题

本文介绍了如何使用ACL和NAT技术,将一个公网IP映射到多台内网服务器的不同端口,以实现公网访问。详细配置包括了TCP和UDP端口的映射规则,并探讨了内网服务器如何通过公网IP进行互访的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

本帖最后由 晓霦 于 2018-07-31 12:04 编辑

acl name GigabitEthernet0/0/4 2999

rule 5 permit

acl number 3030

rule 5 permit tcp destination-port range 15000 19000

rule 6 permit udp destination-port range 15000 19000

rule 7 permit tcp destination-port range 20000 21999

rule 9 permit tcp destination-port eq 82

rule 10 permit tcp destination-port eq 83

rule 11 permit tcp destination-port eq 554

acl number 3040

rule 5 permit tcp destination-port range 15000 19000

rule 6 permit udp destination-port range 15000 19000

rule 7 permit tcp destination-port range 20000 21999

rule 9 permit tcp destination-port eq 82

rule 10 permit tcp destination-port eq 83

rule 11 permit tcp destination-port eq 554

rule 12 permit udp destination-port eq 10000

rule 13 permit tcp destination-port eq 10010

公网端口

interfac

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值