01-24-2011 07:08 AM - edited 02-21-2020 05:07 PM
Hello,
I've been reading about GRE over IPSEC with PAT.
I found some places saying that PAT will not allow GRE to work. What is really going on ? I did a LAB and it did work passing ssh and telnet traffic all right.
What is the true behind it ? Is there some documentation about it ?
Thank you !
01-24-2011 07:13 AM
Hi,
I guess it is referring to the fact that GRE is IP Protocol 47 (does not have TCP/UDP port numbers) therefore would not work through standard PAT.
Same concept as IPsec requiring ESP (IP protocol 50) to pass traffic.
To overcome the IPsec problem, ESP can be further encapsulated in either UDP/TCP to be able to pass through PAT.
I know that improvements have been made to pass these protocols through PAT... can you describe your scenario?
Federico.
01-24-2011 07:23 AM
Hello Federico,
I have 2 simple scenarios:
1- scenario
Router A doing the GRE over IPSEC connected to internet doing PAT
Internet in between them
Router B doing the GRE over IPSEC connected to internet doing PAT
2 - scenario
Router A doing the GRE over IPSEC connected to private network
frame - relay in between them (I dont know if they may have a device doing PAT inside the FR network)
Router B doing the GRE over IPSEC connected to private network
Thank you!
01-24-2011 07:35 AM
Rodrigo,
Previously NAT didn't support GRE because of the fact of lacking TCP/UDP ports.
Now, GRE and NAT have been improved to overcome this problems.
For example, when setting up a PPTP tunnel, PPTP uses TCP to establish the tunnel and uses GRE to passes the traffic... so what happen to a PPTP session through PAT?
Here's an explanation:
PAT is only performed for the modified version of GRE [RFC 2637] when negotiated over the PPTP TCP control channel. Port Address Translation is not performed for the unmodified version of GRE [RFC 1701, RFC 1702].
Hope it helps.
Federico.
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