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

Connect from Lan to WAN public Address

Hecstevez
Level 1
Level 1

Hello all.

We have a 1941 configured like this:

Interface LAN: 192.168.0.1 /24

Interface WAN: 110.109.108.144 /29

We have several NATs working too. I.E: 110.109.108.146:80 --> 192.168.0.5:80

Everything works normally if I try to connect to 110.109.108.146:80 from outside my LAN network, but the problem comes when I try to connect to  110.109.108.146:80 from inside my LAN.

Is there any way to enable connections from my LAN to the WAN interface public address?


TIA

Cheers.

2 Replies 2

tjareen
Level 1
Level 1

Hi Hector,

May be your NAT  is not working so that the translation is not working correctly. Try to check the issue with "debug ip nat translation" command to check whether the translation is working correctly.

Can you please provide the NAT configuration?

Thank you.

Hi Tania, ty for answering. This is my nat conf:

Interface LAN

ip nat inside

Interface WAN

ip nat outside

ip nat inside source route-map ISP-2 interface WAN overload

access-list 7 permit 192.168.0.0 0.0.0.255

!

route-map ISP-2 permit 5

match ip address 7

match interface WAN

And we have several nat rules. Here are some:

ip nat inside source static tcp 192.168.0.122 80 110.109.108.146 80 extendable

ip nat inside source static tcp 192.168.0.127 81 110.109.108.146 81 extendable

ip nat inside source static tcp 192.168.0.132 8080 110.109.108.146 8080 extendable

ip nat inside source static tcp 192.168.0.199 50 110.109.108.147 50 extendable

ip nat inside source static tcp 192.168.0.132 80 110.109.108.147 80 extendable

The issue is when we try to acces our tomcat server (192.168.0.132) from our lan using its public IP (110.109.108.146)

Cheers.