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

With some safe reasons, I need to sniff pptp cleint request packets, then to get dst ip and src ip, for example 10.5.1.100 -> 218.100.211.100 , I want to know the correct rule in tcpdump

share|improve this question

1 Answer 1

up vote 0 down vote accepted

tcpdump -i ethN port 1723 -vvv

Assuming that you literally just want to see the connection information and not run a packet cap.

Replacing ethN with the appropriate interface.

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.