Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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!

share|improve this question
    
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

1 Answer 1

up vote 0 down vote accepted

You can use command ' ngrep' in gateway.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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