cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1549
Views
5
Helpful
3
Replies

VPN encryption domain using private range

Sunny Banks
Level 1
Level 1

Hello all,

 

I'm setting up a VPN with a 3rd party who have suggested the use of 172.16.8.0/26 as the encryption domain on my side of the tunnel (happy to do this to avoid wasting public IP's). There side of the encryption domain is 70.0.0.x/27. I am planning on using the 192.168.1.0/24 range for my internal network. A requirement from the 3rd party is that there are 11 IP's configured as static NAT. My question is how would I implement this config so the static NAT's are in place and that the rest of the interesting traffic uses PAT? Also, can I actually NAT private to private and if so where does my public IP (213.0.0.x) come into the equation?

 

I have added what I believe is correct but i'm obviously not entirely sure :-

 

access-list internet_1_cryptomap line 1 extended permit ip host 192.168.1.0 70.0.0.1 255.255.255.224

nat (inside,outside) source static 192.168.1.0 172.16.8.0 destination static 70.0.0.0 70.0.0.0

 

1 Accepted Solution

Accepted Solutions

This should work.

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

3 Replies 3

Francesco Molino
VIP Alumni
VIP Alumni
Hi

The nat is correct because you're translating your original subnet to a xlated subnet and keep as is the destination.
However your acl should mention the xlated subnet to the destination subnet and here you're referring to the original source subnet.

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

Sunny Banks
Level 1
Level 1

Francisco,

 

Thanks for the prompt reply. So something like this :-

 

access-list internet_1_cryptomap line 1 extended permit 172.16.8.0 255.255.255.192 70.0.0.0 255.255.255.224

nat (inside,outside) source static 192.168.1.0 172.16.8.0 destination static 70.0.0.0 70.0.0.0

 

Also, if i'm trying to configure some static 1-to-1 NAT's (and leave the rest for PAT) would this be correct :-

 

nat (inside,outside) source static 192.168.1.1 172.16.8.1 destination static 70.0.0.0 70.0.0.0

nat (inside,outside) source static 192.168.1.2 172.16.8.2 destination static 70.0.0.0 70.0.0.0

nat (inside,outside) source static 192.168.1.3 172.16.8.3 destination static 70.0.0.0 70.0.0.0

nat (inside,outside) source static 192.168.1.4 172.16.8.4 destination static 70.0.0.0 70.0.0.0

.................

nat (inside,outside) source static 192.168.1.10 172.16.8.10 destination static 70.0.0.0 70.0.0.0

nat (inside,outside) source static 192.168.1.0 172.16.8.0 destination static 70.0.0.0 70.0.0.0 <<<<<<<<<PAT for the rest

 

Thanks in advance. Your help is greatly appreciated.

 

This should work.

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
Review Cisco Networking products for a $25 gift card