08-15-2024 01:57 PM
I have a VTI tunnel with a client.
I want to translate their address (VTI, inside)...something similar to
nat (outside, inside) source dynamic CLIENT_SOURCE NEW_ADDRESS
Is this viable, or am I going to need to employ twice nat, since I cannot source the nat translation from the VTI interface?
08-15-2024 02:02 PM - edited 08-15-2024 02:16 PM
check below
MHM
08-15-2024 02:08 PM
These are tunnels that come one way into my network. Im wanting to translate their source address into my internal scheme.
Is this too much? or can I just go (OUTSIDE, INSIDE) dynamic , like I do for our static crypto maps?
----------------
object network DESTINATION_ADDRESS
host x.x.x.x
!
object network SRC_REAL_ADDRESS
host x.x.x.x
!
object network SRC_TRANSLATED_ADDRESS
host x.x.x.x
!
object service DEST_PORT
service tcp destination eq 1234
!
object service SRC_PORT
service tcp source range 1025 65535
!
nat (any,INSIDE) source static SRC_REAL_ADDRESS SRC_TRANSLATED_ADDRESS service SRC_PORT SRC_PORT destination static DESTINATION_ADDRESS DESTINATION_ADDRESS service DEST_PORT DEST_PORT
08-15-2024 02:15 PM
friend
policy VPN need twice NAT (exemption NAT) where VTI router based VPN not need this NAT
MHM
08-15-2024 02:20 PM
Thank you for the explanation.
If the client is coming from an address I cannot route through my network, how would I NAT their address from the VTI on my ASA to my inside network?
08-15-2024 02:25 PM
it better if you can do NAT in peer not in your ASA
but if you cannot that then
I think your NAT work
run it and do show nat <<- see the hit count
nat (any,INSIDE) source static SRC_REAL_ADDRESS SRC_TRANSLATED_ADDRESS service SRC_PORT SRC_PORT destination static DESTINATION_ADDRESS DESTINATION_ADDRESS service DEST_PORT DEST_PORT
08-15-2024 02:28 PM
I will lab it tonight and get back to the thread. Thank you so much for the help so far.
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