Making a VPN | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Making a VPN

Assume I want to code a VPN. will the procedure go like so? - code a client and a server. The client will run on my pc and the server on a remote pc that will be located at the wanted continent. - the client program will capture every packet and will send it over to the server, the server will modify the packet and change the source IP to his IP and send the packet from him. - the server will receive the response from the wanted destination and send it back to the client. - the client will display the given data from the server. Now, I'd like to know if this is the right approach and I'd like to know what python/java libraries I can use in order to capture the packets and display the packets on the client side? Thanks.

25th Aug 2021, 1:23 PM
Yahel
Yahel - avatar
1 Answer
0
Runtime Terror, Reffering to the transferring of the data: the data will be encrypted and monitored in order to know where does every packet belongs to... And I'm quite familiar with sockets, I'm planning to open a Github account soon and then you will be able to see some of my codes that use sockets in python :) BUT, so far I've only used sockets over LAN, now I need to learn how to use them over WAN. Thanks for your response 👍 and if you know any libraries that help capturing packets and displaying them - I'd like to know.
25th Aug 2021, 8:59 PM
Yahel
Yahel - avatar