******************************************************************************
* Copyright (c) 2004-2013 Hangzhou H3C Tech. Co., Ltd. All rights reserved. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
Login authentication
Username:admin
Password:
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]interface Ethernet 0/0
[H3C-Ethernet0/0]dis this
#
interface Ethernet0/0
port link-mode route
nat server 1 protocol tcp global current-interface 9702 inside 192.168.1.62 338
9
pppoe-client dial-bundle-number 10
#
return
[H3C-Ethernet0/0]undo nat server 1 protocol tcp global current-interface 9702 in side 192.168.1.62 3389 --删除NAT
[H3C-Ethernet0/0]dis this
#
interface Ethernet0/0
port link-mode route
pppoe-client dial-bundle-number 10
#
return
[H3C-Ethernet0/0]save --保存
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait....................
______________
******************************************************************************
* Copyright (c) 2004-2013 Hangzhou H3C Tech. Co., Ltd. All rights reserved. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
Login authentication
Username:admin
Password:
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]interface Dialer 10 --登陆dialer 10 拔号
[H3C-Dialer10]dis this
#
interface Dialer10
nat outbound
nat server 1 protocol tcp global current-interface 9700 inside 192.168.1.66 370
0
link-protocol ppp
ppp chap user ls122995999
ppp chap password cipher $c$3$B1YibgQsg5C8VwoK6qQbre92+dW
ppp pap local-user ls1995999 password cipher $c$3$UELq/Z6Bjw8LeO/MLkvniP4FRNiS
Xi7S/Pub
ppp ipcp dns admit-any
ppp ipcp dns request
mtu 1492
ip address ppp-negotiate
tcp mss 1024
dialer user username
dialer-group 10
dialer bundle 10
#
return
[H3C-Dialer10]undo nat server 1 protocol tcp global current-interface 223 insid
e 192.168.1.66 9700
[H3C-Dialer10]nat server 1 protocol tcp global current-interface 333 inside 192
.168.1.62 3389