Say I have the following IPv6 prefix assigned to me by my ISP :
- 2a01:1000:1000::/48 with 2a01:1000:1000::1/48 assigned to my VPN server.
I set up a VPN with a /64 from that block to assign to my VPN clients :
Let's say all traffic (Internet included) is routed across my VPN gateway. What will be the source IPv6 address of the packet when exiting the VPN gateway and going to the server ? Will it be the VPN gateway's IPv6 (2a01:1000:1000::1), or will it use the client's VPN IPv6 (2a01:1000:1000:FFFF) ?
Taking the example of an IPSec VPN, will the Inner source IP in image 1. (when the packet from the client arrives on the VPN gateway) be used as the source IP in image 2. (when the VPN gateway sends to the server) ?