Cisco 887va 端口转发

Cisco 887va 端口转发

只是尝试在 Cisco 887VA 上进行一些端口转发,结果发现这很麻烦。我尝试将 8080 等端口转发到互联网接口

首先,我要说的是,我一直在浏览这个地方和许多其他支持论坛,但出于某种原因,无论我得到什么解决方案,它似乎都不适合我。我在这里和思科支持论坛上发现了一些问题。

最烦人的是,我几乎 100% 确定这是最简单的事情。

事情是这样的。我有一台 Cisco 887VA,负责将我的 VDSL 连接路由到一个 VLAN。它还支持 DHCP,但仅此而已。我当前的拓扑只有一个主机直接连接到板载交换机端口。

这是配置;我希望有人能帮忙:)

仅供参考:它有 C880 V15.1(4)M4 Universal-K9

!
! No configuration change since last restart
version 15.1
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname VDSL
!
boot-start-marker
boot-end-marker
!
!
enable password 7 ***********
!
no aaa new-model
memory-size iomem 10
crypto pki token default removal timeout 0
!
crypto pki trustpoint TP-self-signed-949938359
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-949938359
revocation-check none
rsakeypair TP-self-signed-949938359
!
!
crypto pki certificate chain TP-self-signed-949938359
certificate self-signed 01
**************
quit
ip source-route
!
!
!
ip dhcp excluded-address 192.168.0.0 192.168.0.10
ip dhcp excluded-address 192.168.0.100 192.168.0.255
!
ip dhcp pool dhcp1
import all
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8
!
!
ip cef
no ip domain lookup
ip dhcp-server 192.168.1.1
no ipv6 cef
!
!
!
!
username admin privilege 15 secret 4 *******************
!
!
!
!
controller VDSL 0
!
!
!
!
!
!
!
!
interface Ethernet0
no ip address
!
interface Ethernet0.10
encapsulation dot1Q 10
pppoe-client dial-pool-number 1
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
!
interface FastEthernet0
description Internal Switching between various switches and AP's
no ip address
!
interface FastEthernet1
description Internal Switching between various switches and AP's
no ip address
!
interface FastEthernet2
description Internal Switching between various switches and AP's
no ip address
!
interface FastEthernet3
description Internal Switching between various switches and AP's
no ip address
!
interface Vlan1
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1380
!
interface Dialer1
ip address negotiated
ip access-group 103 in
ip mtu 1492
ip nat outside
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap pap callin
ppp chap hostname [email protected]
ppp chap password 7 *************
ppp pap sent-username [email protected] password 7 140713181F13253920
hold-queue 224 in
!
ip forward-protocol nd
no ip http server
ip http secure-server
!
ip nat inside source list 102 interface Dialer1 overload
ip nat inside source static tcp 192.168.1.2 8080 interface Dialer1 8080
ip route 0.0.0.0 0.0.0.0 Dialer1
!
access-list 102 permit ip 192.168.1.0 0.0.0.255 any
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
password 7 **********************
login
transport input all
!
end

提前致谢 :)

答案1

事实证明,我尝试进行端口转发的网络上主机丢失了其 IP 地址和网关。

nat 似乎运行良好。抱歉给您添麻烦了。

再次感谢你,战术。

相关内容