I hava 2 VPN servers, one is pptp, one is openVPN, I need to capture the VPN response packets for

the VPN client, and later I need to forward these packets to vpn clients by another linux server. I

want to know is it possible? if possible, how to capture these packages by libpcap ? what is the

filter ? thanks!

  • I'm not very clear on what you mean by "response packets" - do you mean with VPN encapsulation, or the payload inside? – pjc50 Nov 29 '10 at 16:01
  • I mean the VPN encapsulation which can be handled by VPN programe – larry Nov 30 '10 at 0:59

You can use command ' ngrep' in gateway.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.