07-01-2023 01:33 AM - edited 07-01-2023 01:38 AM
So, I have local server grafana that being nat to public ip, it can be accessed if I access from external network. Here I want to access my public grafana server from inside/internal network. Here is the example we say :
Local server grafana ip 192.168.10.70
Public ip that being nat to grafana local 201.10.10.100
here's the config:
object network IP_Local_Grafana
host 192.168.10.70
object network Local-IP_Grafana
host 192.168.10.70
object network Public-IP_Grafana
host 201.10.10.100
object network Local-IP_Grafana
nat (inside,outside) static Public-IP_Grafana
object network IP_Local_Grafana
nat (inside,inside) static Public-IP_Grafana
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object-group service DM_INLINE_SERVICE_1
service-object icmp
service-object icmp echo-reply
service-object tcp destination eq ftp
service-object tcp destination eq www
service-object tcp destination eq 3000
access-list outside_access_in extended permit object-group DM_INLINE_SERVICE_1 any object Local-IP_Grafana
I still cannot access my grafana's public ip, what's wrong? Please someone help I really appreciate.
07-01-2023 01:38 AM
07-01-2023 01:55 AM
Yes sir, from that pic LAN cannot access Public's ip server. I want to local network can access to public ip that being nat into my local grafana server. Is there no solution?
07-01-2023 02:04 AM
change the NAT from objec to manual nat
object network Local-IP_Grafana
nat (inside,outside) static Public-IP_Grafana <<- remove this
object network IP_Local_Grafana
nat (inside,inside) static Public-IP_Grafana <<0 remove this
add this
nat(INSIDE,OUTSIDE) .....
nat(INSIDE, INSIDE).....
07-01-2023 03:16 AM
Oke sir I will try and inform if solved thank you
07-01-2023 02:44 AM
Hi
Why you want to access to the public or NATted IP address? Why not on the real ip address? Is there a reason?
07-01-2023 03:15 AM
Because that Public IP resolved to my domain and I want to access through my domain sir. Is there any solution sir?
07-01-2023 03:18 AM
Do you have internal DNS or is it external?
07-01-2023 03:23 AM
Yes I have Internal DNS sir
07-01-2023 03:29 AM
Have you considered create an entry for the graphana server resolving internally and then use "no-nat" feature when the traffic were from inside to graphana interface?
object network inside
host x.x.x.x
object network IP_Local_Grafana
host 192.168.10.70
nat (inside,IP_Local_Grafana) source static inside inside destination static IP_Local_Grafana IP_Local_Grafana
07-02-2023 06:18 PM
Isn't this config wrong sir?
ASA(config-network-object)# nat (inside,Local-IP_Grafana) source ?
ERROR: % Unrecognized command
Current available interface(s):
any Global address space
inside Name of interface Ethernet1/2
management Name of interface Management1/1
outside Name of interface Ethernet1/1
07-01-2023 04:26 AM
Hello
object network internal_real
network 192.168.10.0
object network internal_public
host 201.10.10.101
object network external_public
host 201.10.10.100
object network external_internal
host 192.168.10.70
nat (inside,outside) source static internal_real internal_public destination static external_internal external_public
access-list OUT-IN extended permit ip host 201.10.10.100 host any
access-group OUT-IN in interface outside
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