cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1183
Views
0
Helpful
1
Replies

how to NAT 192.168.10.0/24 to 192.168.11.0/29 segment

darwin_valdez
Level 1
Level 1

Hi,

How to NAT 192.168.10.0/24 to 192.168.11.0/29 segment for us to be able to use the VPN of 192.168.11.0/29?

Regards,

Darwin

1 Reply 1

Antonio Knox
Level 7
Level 7

Looks like 192.168.11.1 is your VPN gateway.  In this case you will need to NAT 192.168.10.0/24 to the address of your outside interface (traffic from 192.168.10.0/24 --> 192.168.11.1 will appear to be sourced from 192.168.11.2 here.

!----Define the gobal address (this will be, in this case, the existing address on the outside interface, which is perfectly doable any address in the 192.168.11.0/29 range (besides .1)will do , though)---

global (outside) 1 192.168.11.2

!----Define the traffic that will NAT to the global address when passing through the outside interface to the VPN gateway (192.168.10.0/24 --> 192.168.11.1)

access-list nat-to-vpn extemded permit ip 192.168.10.0 255.255.255.0 host 192.168.11.1

!---Apply interesting traffic to NAT

nat (inside) 1 access-list nat-to-vpn

Please rate helpful posts.