Created
December 2, 2011 04:57
-
-
Save hplc/1421820 to your computer and use it in GitHub Desktop.
Ruijie RJ-RSR20 ADSL and NAT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Building configuration... | |
Current configuration : 1183 bytes | |
! | |
version RGOS 10.3(4b1), Release(53844)(Mon Apr 13 14:50:04 CST 2009 -ngcf31) | |
! | |
! | |
! | |
! | |
! | |
! | |
dialer-list 1 protocol ip permit | |
! | |
! | |
username helloit.info password helloit.info | |
username helloit.info privilege 15 | |
no service password-encryption | |
service dhcp | |
! | |
ip dhcp excluded-address 192.168.100.1 192.168.100.100 | |
ip dhcp excluded-address 192.168.90.1 192.168.90.100 | |
! | |
ip dhcp pool DHCPPOOL | |
network 192.168.90.0 255.255.255.0 | |
dns-server 8.8.8.8 8.8.4.4 | |
default-router 192.168.90.1 | |
! | |
ip dhcp pool 9qi | |
network 192.168.100.0 255.255.255.0 | |
dns-server 8.8.8.8 8.8.4.4 | |
default-router 192.168.100.1 | |
! | |
! | |
! | |
! | |
! | |
! | |
! | |
! | |
! | |
! | |
ip access-list standard 1 | |
10 permit any | |
! | |
! | |
! | |
! | |
! | |
! | |
! | |
! | |
! | |
! | |
interface FastEthernet 0/0 | |
pppoe enable | |
pppoe-client dial-pool-number 10 no-ddr | |
duplex auto | |
speed auto | |
! | |
interface FastEthernet 0/1 | |
ip nat inside | |
ip mtu 1488 | |
ip address 192.168.90.1 255.255.255.0 | |
duplex auto | |
speed auto | |
! | |
interface FastEthernet 0/2 | |
ip nat inside | |
ip mtu 1488 | |
ip address 192.168.100.1 255.255.255.0 | |
duplex auto | |
speed auto | |
! | |
interface dialer 1 | |
mtu 1488 | |
encapsulation PPP | |
ppp pap sent-username helloit.info password helloit.info | |
ip nat outside | |
ip address negotiate | |
dialer pool 10 | |
dialer idle-timeout 300 | |
dialer-group 1 | |
! | |
ip nat inside source static udp 192.168.90.2 10005 interface dialer 1 10005 | |
ip nat inside source static tcp 192.168.90.2 10005 interface dialer 1 10005 | |
ip nat inside source static udp 192.168.90.2 10004 interface dialer 1 10004 | |
ip nat inside source static tcp 192.168.90.2 10004 interface dialer 1 10004 | |
ip nat inside source static udp 192.168.90.2 10003 interface dialer 1 10003 | |
ip nat inside source static tcp 192.168.90.2 10003 interface dialer 1 10003 | |
ip nat inside source static udp 192.168.90.2 10002 interface dialer 1 10002 | |
ip nat inside source static tcp 192.168.90.2 10002 interface dialer 1 10002 | |
ip nat inside source static udp 192.168.90.2 10001 interface dialer 1 10001 | |
ip nat inside source static tcp 192.168.90.2 10001 interface dialer 1 10001 | |
ip nat inside source list 1 interface dialer 1 | |
! | |
! | |
! | |
! | |
! | |
ip route 0.0.0.0 0.0.0.0 dialer 1 | |
! | |
! | |
! | |
ref parameter 50 400 | |
line con 0 | |
line aux 0 | |
line vty 0 35 | |
login local | |
! | |
! | |
end |
Author
hplc
commented
Dec 28, 2011
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment