Accept Inbound Traffic To Servers Behind NAT

Written by Yanurmal on November 12, 2008 – 8:09 am -

This config to make inbound traffic to a web server in local network behind NAT.

Req:
- Private IP Address plan (eg. 192.168.1.0/24)
- Public IP Address plan (eg.100.1.2.3/30)
- Web Server (port 80) IP Address (eg.192.168.1.10)
- Standard NAT Config work properly

All incoming web traffic from the Internet that comes to 100.1.2.3 will be forwarded to 192.168.1.10

hostname CiscoNAT
!
enable secret 5 KjhKJGkj$57JHkkl98KJH
!
ip subnet zero
!
interface FastEthernet0/0
description LAN Interface
ip address 192.168.1.254 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface Serial0
description WAN Interface
ip address 100.1.2.3 255.255.255.248
ip nat outside
ip access-group 101 in
!
ip nat inside source static 192.168.1.10 80 interface Serial0
!
access-list 101 deny ip any host 255.255.255.255
access-list 101 permit tcp any any eq 80
!
line con0
line vty 0 4
login
password cisco
!
end

Popularity: unranked

Share This Post

Cisco Router Simulator

December 30, 2007 – 3:22 am

Cisco router simulator is a software installed in your pc act as a router or switch like a real cisco device. You can setup several devices to create virtual LAN, WAN, ...

TCP/IP Protocol

December 29, 2007 – 11:13 pm

Before configure your cisco device, you have to understand well TCP/IP protocol. This is must and never touch your cisco device without concept of Network ID, Host ID and Network Musk in ...

Create Load-Balancer with Cisco Router

December 29, 2007 – 10:32 pm

Requirement: - Cisco router IP CEF support - Dual WAN connection - You understand cisco basic configuration (Go to Beginer Section) ROUTER-A hostname Router-A ! enable password cisco ! ip cef ! interface Ethernet 0 ip address 10.10.1.1 255.255.255.0 ! interface Serial0 ip address 10.10.253.1 ...

Cisco Career Certifications & Paths

December 29, 2007 – 10:21 pm

ROUTING & SWITCHING Associate: CCNA/CCENT Professional: CCNP Expert: CCIE Routing & Switching DESIGN Associate: CCNA & CCDA Professional: CCDP Expert: CCDE NETWORK SECURITY Associate: CCNA Professional: CCSP Expert: CCIE Security STORAGE NETWORKING Associate: CCNA Professional: none Expert: CCIE Storage Networking VOICE Associate: CCNA Professional: CCVP Expert: CCIE Voice Source: Cisco ...

Setup Windows Hyper Terminal to Access Cisco Console

December 29, 2007 – 8:42 pm

From WindowsXP: Click Start - All Programs - Accessories - Communications - Hyper Terminal If it does not appear on the list of accessory programs, then go to Add Remove Progran in ...

Ads

Find entries :