cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
399
Views
0
Helpful
2
Replies

Port Forward Config Cisco 1841

jwood1650
Level 1
Level 1

I am trying to have my domain (jjkkcc.org) get directed to my server from my Cisco 1841.  I have godaddy DNS configured to my static IP to my router, and I just want to make sure I have my router configured correctly so the WWW traffic is passed to my web server (192.168.1.250).

Cisco1841#show run

Building configuration...

Current configuration : 1715 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname Cisco1841

!

boot-start-marker

boot system usbflash0:c1841-advipservicesk9-mz.124-12.bin

boot-end-marker

!

!

no aaa new-model

clock timezone PSD -8

ip cef

!

!

!

!

ip domain name jjkkcc.com

ip name-server 68.105.28.16

ip name-server 68.105.29.16

ip name-server 8.8.8.8

ip name-server 8.8.4.4

ip name-server 192.168.1.250

!

!

!

username woodjl1650 privilege 15 password 0 henry999

!

!

!

!

!

interface FastEthernet0/0

ip address 192.168.1.6 255.255.255.0

ip nat inside

ip virtual-reassembly

duplex auto

speed auto

!

interface FastEthernet0/1

ip address 24.234.XXX.XXX 255.255.255.224

ip nat outside

ip virtual-reassembly

duplex auto

speed auto

!

ip route 0.0.0.0 0.0.0.0 24.234.XXX.XXX

!

!

no ip http server

no ip http secure-server

ip nat inside source list NAT interface FastEthernet0/1 overload

ip nat inside source static tcp 192.168.1.250 80 interface FastEthernet0/1 80

ip nat inside source static tcp 192.168.1.10 3074 interface FastEthernet0/0 3074

ip nat inside source static udp 192.168.1.10 3074 interface FastEthernet0/0 3074

!

ip access-list standard NAT

permit 192.168.1.0 0.0.0.255

!

ip access-list extended WEB

permit tcp any any eq www

!

snmp-server community public RW

snmp-server trap link ietf

snmp-server location Las Vegas, NV, USA

snmp-server contact Jonathan Wood - Network Admin

snmp-server chassis-id Cisco1841-Router

snmp-server host 192.168.1.155 version 2c public

!

!

!

!

control-plane

!

!

!

line con 0

line aux 0

line vty 0 4

login local

transport input ssh

!

scheduler allocate 20000 1000

end

2 Replies 2

Rejohn Cuares
Level 4
Level 4

Port forwarding looks good.

Please rate replies and mark question as "answered" if applicable.

Please rate replies and mark question as "answered" if applicable.

John Blakley
VIP Alumni
VIP Alumni

These two lines look incorrect because of the interface:

ip nat inside source static tcp 192.168.1.10 3074 interface FastEthernet0/0 3074

ip nat inside source static udp 192.168.1.10 3074 interface FastEthernet0/0 3074

F0/0 is your lan interface. Wouldn't you want those attached to fa0/1?

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card