Guest
|
Posted: Fri Jul 20, 2007 3:46 am Post subject: NAT help |
|
|
Hi All,
I'm a bit lost atm and could do with some help.
Am trying to get static entries to function. These used to work but
stopped - cannot remember if I made any changes. At the mo any
incomming connections are not forwarded.
Any help appreciated.
Thanks,
S.C.
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 2611
!
boot-start-marker
boot-end-marker
!
enable password *******************
!
no aaa new-model
ip subnet-zero
ip cef
!
!
no ip ftp passive
ip ftp username *********************
ip ftp password *********************
no ip domain lookup
no ip dhcp conflict logging
ip dhcp excluded-address 192.168.0.1 192.168.0.60
ip dhcp excluded-address 192.168.0.70 192.168.0.254
!
ip dhcp pool dhcp1
network 192.168.0.0 255.255.255.0
default-router 192.168.0.254
dns-server 62.42.230.24 62.42.63.52
!
!
!
!
!
interface Ethernet0/0
mac-address 0010.c6e2.ac32
ip address dhcp
ip access-group 1 in
ip access-group 1 out
ip nat outside
half-duplex
!
interface Serial0/0
no ip address
shutdown
!
interface Ethernet0/1
ip address 192.168.0.254 255.255.255.0
ip access-group 1 in
ip access-group 1 out
ip nat inside
half-duplex
!
ip nat inside source list 10 interface Ethernet0/0 overload
ip nat inside source static tcp 192.168.0.61 80 interface Ethernet0/0
80
ip nat inside source static udp 192.168.0.61 69 interface Ethernet0/0
69
ip nat inside source static tcp 192.168.0.30 21 interface Ethernet0/0
21
ip nat inside source static udp 192.168.0.30 11025 interface
Ethernet0/0 11025
ip nat inside source static tcp 192.168.0.30 11025 interface
Ethernet0/0 11025
ip nat inside source static tcp 192.168.0.30 13454 interface
Ethernet0/0 13454
ip nat inside source static tcp 192.168.0.30 1025 interface
Ethernet0/0 1025
ip nat inside source static udp 192.168.0.30 1025 interface
Ethernet0/0 1025
ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 Ethernet0/0
!
!
access-list 1 permit any
access-list 10 permit 192.168.0.0 0.0.0.255
!
line con 0
line aux 0
line vty 0 4
password ********************
login
line vty 5 15
password *****************
login
!
!
end |
|