0

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!

larry
  • 4,037
  • 9
  • 36
  • 42
  • 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 00:59

1 Answers1

0

You can use command ' ngrep' in gateway.

ntrance
  • 382
  • 2
  • 2