cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2388
Views
0
Helpful
1
Replies

ACL, port forwarding and NAT?

ashgaming
Level 1
Level 1

Hi,

I have created new access list on my Cisco 1841 router, in order to give an accees to our webserver. Only external network with IP i.e.1.2.3.4 should have an access to our internal (92.168.0.244) web server using port 80 with external IP i.e.5.6.7.8.

Port 80 is already enabled in NAT, however it points to webmail server, therefore whenever I try to open 5.6.7.8:80 form network 1.2.3.4 it takes me to webmail instead to webserver. I'm not really familiar with CISCO therefore I would appreciate any advice.

I have attached below sample of my ACL and NAT configuration:

NAT:

ip nat inside source static tcp 192.168.0.3 80 4.5.7.8 80 extendable

ip nat inside source static udp 192.168.0.3 80 4.5.7.8 80 extendable

ACL:

30 permit ip host 1.2.3.4 host 192.168.0.244

40 permit tcp host 1.2.3.4 host 192.168.0.244 eq www

Thank you for your help.

1 Reply 1

With PAT you cannot use same PORT (80) mapped to two different internal addresses. Either use a different public address of change the port, maybe port 8080 or change the server port to listen at 8080.

-

Sebastian

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