I need to capture non-http traffic from my iPhone. Using a proxy will only capture port :80 and :443 traffic which will not work for me as the traffic I am trying to capture is not from either of these ports. I believe that if I have a VPN I will be able to capture this traffic. Both my virtual machine and my iPhone are on the same network.
I am trying to run a PPTP VPN on a Kali Linux VirtualBox virtual machine using PPTPD. My network adapter settings are as such
I have tried following several tutorials but every time I get an error on my iPhone saying the server is unreachable.
I am confused as to how to go about this. In my pptpd conf file what should be my localip and my remoteip be? What should my network settings be for my virtual machine? How do I set up PPTPD just for LAN?
Any help would be very appreciated. This is my first time asking a question on serverfault so sorry about any mistakes (i.e. formatting).