cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
598
Views
0
Helpful
4
Replies
Highlighted
Beginner

GRE NAT through ASA

For certain traffic, I need to build a GRE tunnel sourced from a router behind my ASA to a remote vendor.  My office only has 1 public IP, and it is on the ASA outside interface.  Do I need to have a second public IP, dedicated to GRE, on my ASA?  Or can GRE work off the existing public IP used for everything today?

4 REPLIES 4
Highlighted
Hall of Fame Guru

If you had a second public IP it would simplify things. But I do not think it is required. You should be able to do a static address translation on the ASA that is specific to GRE. You should know the source address of the packet (your router interface address), the destination address (the vendor device address) and the protocol (GRE is IP protocol 47). So if the ASA receives an IP packet on its inside interface with the specified source address, specified destination address, and GRE protocol then the ASA translates the source address using its public IP. And if the ASA receives an IP packet on its outside interface whose source address is the vendor address, destination address is the ASA public IP, and GRE protocol then the ASA translates the destination address to be your router interface address. 

HTH

Rick
Highlighted

What you describe makes sense.  However, when I tried that, I get an error message - "Translated Source Address overlaps with the IP address for the interface outside."

Highlighted

Instead of putting the IP address of the interface into the translation statement try using the word interface.

HTH

Rick
Highlighted

Thanks Richard.  I setup this in a lab but I can't seem to get the correct command.  Any suggestions?

 

I have these objects

object network gre-source-private
host 192.168.2.2
object network gre-source-public
host 10.200.30.

object service ip-protocol-gre
service gre


When I issue this command

nat (guest,outside) source static gre-source-private interface service ip-protocol-gre ip-protocol-gre

I get >> ERROR: real service object includes protocol that doesnt match SCTP, TCP or UDP.

Content for Community-Ad