本帖最后由 晓霦 于 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
公网端口
interface GigabitEthernet0/0/4
ip address 60.219.115.110 255.255.255.252
nat server global interface GigabitEthernet 0/0/4 inside 192.168.1.252 acl 3030
nat server protocol tcp global current-interface 10010 inside 192.168.1.253 10010
nat server protocol udp global current-interface 10000 inside 192.168.1.253 10000
nat outbound 2999
内网vlan1端口
interface Vlanif1
ip address 192.168.1.1 255.255.255.0
nat server global interface GigabitEthernet 0/0/4 inside 192.168.1.252 acl 3030
nat outbound 3040
dhcp select interface
dhcp server dns-list 192.168.1.1
在公网可以访问到内部两台服务器。
内网使用公网IP访问服务器时出现问题
内网服务器:服务器一:1.252,内网和公网上都可以使用公网IP访问。服务器二:1.253公网上都可以使用公网IP访问,如何配置能让内网服务器192.168.1.253能在内网使用公网IP访问呢
请大神帮忙! 谢谢