/ Forside / Teknologi / Netværk / TCP/IP / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
TCP/IP
#NavnPoint
Per.Frede.. 4668
BjarneD 4017
severino 2804
pallebhan.. 1680
EXTERMINA.. 1525
xou 1455
strarup 1430
Manse9933 1419
o.v.n. 1400
10  Fijala 1204
Nat på Cisco 806
Fra : Søren Sømand


Dato : 11-07-02 22:46

Er der en der kan hjælpe mig med at få min router til at route til min
webserver...Webserveren står på 192.168.1.20.
Der er et eller anden med den der NAT....

Router#show run
Building configuration...
Current configuration : 2251 bytes
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
hostname Router
enable secret 5 $1$d8ww$Vm/Jr.rZeO4NiFCMORznz.
username Router password 7 110C15131E01595E547E
ip subnet-zero
ip name-server 193.162.153.164
ip name-server 193.162.146.9
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 192.168.1.1 192.168.1.19
ip dhcp excluded-address 192.168.1.201 192.168.1.254
ip dhcp excluded-address 192.168.1.20
ip dhcp pool CLIENT
import all
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
domain-name xxxxxxxxx
lease infinite
vpdn enable
vpdn-group 1
request-dialin
protocol pppoe

interface Ethernet0
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip tcp adjust-mss 1452
no cdp enable
hold-queue 32 in
hold-queue 100 out

interface Ethernet1
no ip address
pppoe enable
pppoe-client dial-pool-number 1
no cdp enable

interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
dialer-group 1
ppp authentication chap pap callin
ppp chap hostname Router ppp chap password 7 01191F1651050E1E36
ppp pap sent-username Router password 7 05011F1D2B4246180E
ppp ipcp dns request
ppp ipcp wins request

ip nat inside source list 102 interface Dialer1 overload
ip nat inside source list 103 interface Dialer1 overload
ip nat inside source static tcp 192.168.1.20 80 interface Dialer1 80
ip nat inside source static tcp 192.168.1.20 21 interface Dialer1 21
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
ip http access-class 99

access-list 99 permit 192.168.1.0 0.0.0.255
access-list 99 permit 10.0.0.0 0.255.255.255
access-list 99 permit 172.16.0.0 0.15.255.255
access-list 102 permit ip 192.168.1.0 0.0.0.255 any
access-list 103 permit ip 192.168.1.0 0.0.0.255 any
dialer-list 1 protocol ip permit

line con 0
exec-timeout 120 0
password 7 0203084D02155D731C1A
login
stopbits 1
line vty 0
access-class 99 in
exec-timeout 0 0
password 7 110C15131E01595E547E
login local
length 0
line vty 1 4
access-class 99 in
exec-timeout 0 0
login local
length 0

scheduler max-task-time 5000
end




 
 
Christian Vad Peders~ (12-07-2002)
Kommentar
Fra : Christian Vad Peders~


Dato : 12-07-02 16:35

Hvis du aktiver http serveren i routeren, så kan du programere routeren vha.
din browser, så er det bare lige hokus pokus



Søg
Reklame
Statistik
Spørgsmål : 177560
Tips : 31968
Nyheder : 719565
Indlæg : 6408946
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste