Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot access webserver locally - Cisco 2514

Status
Not open for further replies.

CyrusB

Technical User
Joined
Apr 26, 2005
Messages
2
Location
GB
The problem I have is that although the ports are open to the outside world, I cannot seem to access them locally via my WAN IP, only via the LAN IP. Everyone else seems to be able to access them via my IP, though, which is weird.

I know I've probably done something wrong in the configuration seeing as this is my first time with Cisco. Is there anything I'm missing here?

Here's my config.

Code:
!
version 12.3
no service pad
service tcp-keepalives-in
service timestamps debug datetime msec localtime show-timezone
service timestamps log uptime
service password-encryption
!
hostname c2514
!
boot-start-marker
boot-end-marker
!
logging buffered 50000 debugging
logging console warnings
enable secret 5 ****
!
clock timezone GMT 0
clock summer-time BST recurring
no aaa new-model
ip subnet-zero
no ip source-route
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 192.168.1.2
!
ip dhcp pool iDHCP
   import all
   network 192.168.1.0 255.255.255.0
   default-router 192.168.1.1 
   dns-server 194.168.4.100 194.168.8.100
   lease infinite
!
no ip bootp server
!
!
!
interface Ethernet0
 mac-address 000c.7618.9785
 ip address dhcp
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip nat outside
 no cdp enable
!
interface Ethernet1
 ip address 192.168.1.1 255.255.255.0
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip nat inside
 no cdp enable
!
interface Serial0
 no ip address
 shutdown
 no cdp enable
!
interface Serial1
 no ip address
 shutdown
 no cdp enable
!
ip nat inside source list 111 interface Ethernet0 overload
ip nat inside source static tcp 192.168.1.102 21 interface Ethernet0 21
ip nat inside source static tcp 192.168.1.102 20 interface Ethernet0 20
ip nat inside source static tcp 192.168.1.102 80 interface Ethernet0 80
ip nat inside source static tcp 192.168.1.102 25 interface Ethernet0 25
ip nat inside source static tcp 192.168.1.102 110 interface Ethernet0 110
no ip http server
ip classless
!
!
access-list 111 permit ip 192.168.1.0 0.0.0.255 any
no cdp run
!
snmp-server community public RO
snmp-server enable traps tty
!
line con 0
line aux 0
line vty 0 4
 access-class 111 in
 login
!
ntp authenticate
ntp clock-period 17179980
ntp master
ntp server 192.43.244.18
!
end

Thanks, and I'm sorry for the long config.
 
What do you mean by "via my WAN IP" and "via my LAN IP"?

I believe 192.168.1.102 is the NAT inside IP address of your server which hosts several services like FTP, HTTP, SMTP...etc. Its NAT outside IP address should be the IP address on int e0 which is dynamic. I assume you got some DDNS clients on your server such that you got a URL that maps to this dynamic IP address.

"Everyone else seems to be able to access them via my IP"

Again I can't quite get what you mean here.

 
Sorry if I did not make myself clear.

I mean that I cannot access the servers (inside the LAN) using the IP assigned to me by my ISP. I can only access it with 192.168.1.102.


"Everyone else seems to be able to access them via my IP"

I mean that everyone outside of my LAN can access them fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top