Here's my setup:
Client ---> VPN 1 (my pc, same subnet of the client) --> VPN 2 (external VPN) --> Internet
Both VPNs are L2TP/IPSec and the first one is an Ubuntu server with Openswan.
I need to record the HTTP requests and responses of each client, so I need to be able to read them before they're encrypted and sent to the second VPN.
So, since the first VPN is on my PC, I thought that I could be able to log the packets here.
But how can I do it?
Is there any way to get them after they're decrypted by the first VPN and before they're encrypted to be sent to the second one?