11-01-2011 03:54 AM
i cant resolve one problem in may 1921 ISR router, i have a web server in my internal lan , i set up static nat for accessing that web server from outside and it works fine but i cannot view that site from internal workstations can you suggest me what to do. i need packets to go out the outgoing interface of router and then come back and enter the static nat wich will direct to the web server is it possible?
static nat is
ip nat inside source static tcp <local web server adress> 80 <global address> 80
also i have set up dinamic nat for outgoing trafic
ip nat inside source list <access-list> interface <outgoing interface>
and it is working fine too.
on external interface i have nat outside
on internal interface i have nat inside
11-01-2011 07:37 AM
i made some tests and i found out that when i am trying to open that web site from internal host router is not performing nat
11-06-2011 05:49 AM
This is not working because your router has a direct to your web server that is not through the outside interface which is needed for nat to occur, for this to work you need to setup a loopback interface as nat outside and policy route traffic to there for your server traffic
Bu if your server is internal why do you need nat at all? Can you not use bind with views that might be simpler
M
Sent from Cisco Technical Support iPad App
11-06-2011 08:27 AM
thenx for relplay i will test that, but i dont undersand what do you meen under can you not use bind with views? I should use that stuff on my dns or should
not, or something else?
11-08-2011 06:04 AM
Config what i set up
int loopback 0
ip address 10.10.10.10 255.255.255.252
ip nat outside
ip access-list extended (name)
permit 80 any x.x.x.x (i tryed both global adress and server local)
roure-map (name) permit 10
match ip address (access-list name)
set ip next-hop 10.10.10.10
Int g0/1
ip policy route-map (name)
But it does not helped
11-12-2011 04:28 AM
Hi Nika,
Are the internal server and end users in the same subnet? In that case, no need to send traffic to gateway, right? It should work perfectly fine.
Please let me know if I misread your topology.
Cheers
Arun
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide