OK, here goes:
I have a CentOS server set up to accept PPTP connections and tunnel the users traffic through my server.
I am sharing this with my friends and family, and everytime they want to connect they have to go into control panel, and connect to the network manually. To set up the network, they go through a wizzard that Windows has to set up a new VPN connection for them, and they put in the IP address, username and password.
I wanted to make a really simple client for them to use. When it's first installed and they click "Connect", the program must make the new network (like they were going through the wizard), and every time after that just swap over to use the VPN network. If they click "Disconnect", it will go back to using their regular LAN network.
I would ideally like to code this in .NET, as that is where I have a lot of experience, but I have no idea where to start.
Could anyone point me in the right direction? Maybe some code samples?
Help would be greatly appreciated, thanks. =]
Ah, much easier to understand - thanks for the clarification!
At the risk of sounding like I'm an OpenVPN fanatic, look at openvpn, particularly the Access Server here. I think you'll find it does exactly what you need.
OpenVPN is open source, so it's 100% code samples and as customizable as you like. (Be careful what you ask for! :-) )
Good luck!
Related
So I'm thinking of building an application that acts like a VPN of sorts. So, the idea is my application should collect all traffic going from the device it is running on and handles them on it's own instead of forwarding them into the internet. My application will forward all this traffic/packets to an external server that performs whatever the original request was intended on. The same should apply in reverse also.
This thread Routing all packets through my program? gave me a few places to start with...
So far my idea is to use a packet capturing library and capture all packets and pass them on to another section of my program where another header is added on top of the existing packets, then sent to my external server. To server parses the header and determines the destination address and action and gets a response. This response is then wrapped with another header and is sent to my application. With help of netfilter PREROUTING hook I can forward the packets to the required application...
So this is as far as I thought of this. But you see I'm relatively new to network concepts and very much interested to move forward. So any suggestions on how-to's, or this might not work instead try this, is welcome. Even if my entire idea is faulty, please convey it. I'm not expecting you to explain things entirely, just point me some stuff that could be useful
And lastly note that the result I'm intending to get out of this is to demonstrate how I can unblock content within an organizational network. So most administrators block based on domains and stuff. So most one won't block connections to servers. But worry not I'm seriously not going to use this. This is just to improve my knowledge and out of my own interest...
So any help is appreciated. Thanks in advance...
I am trying to make a Mini-Game Library with some multiplayer games. I would like to do it so everyone can just create a lobby which runs on their PC and other people can connect to it.
I am really unsure on how to approach it because I'm not experienced with Godots High-Level Networking and everything else network related I did was in Node.js with a public server always running and handeling all the connections.
I would just like some tips on how to start setting something like this up.
Thanks in advance ^^
Checkout the example(s) on https://github.com/godotengine/godot-demo-projects of which /networking/multiplayer_bomber fits your needs best I guess
I need your help.
I have had to install the ZeroTier One client to be all together in one serv. But also the idea is to change our IP from ZeroTier to work more comfortably from home. From Windows it is quite easy because you go to system resources and modify it on the network. But in MacOs I have spent several days looking for how to change the private IP only of the ZeroTier. Does anyone know how to do it?
Thanks in advance
A ZeroTier IP address is virtual and is thus assigned from the network controller. In order to change this you need to log into your account at https://my.zerotier.com/, go to the Network tab and navigate to the network in question and edit the assigned addresses. Once edited the changes will propagate to the nodes on the network automatically.
In practice if you are not experienced with this sort of concept it is best to choose a managed routing scheme that works best for your scenario and let ZeroTier automatically assign addresses for you.
Sorry for i can't precisely specify the title.
I want to ask that i have created a server using ServerSocket class in java. and i am able to run it easily using 127.0.0.1:7896 and can fetch page from the browser. You can check out this using http://stackoverflow.com/questions/4655355/small-http-server-using-java
But when i try to run this with my external ip address it doesn't worked. So can anyone please tell me whether i am conceptually wrong or it is possible. if it is then how to?
Thanks
Are you behind a router or somekind of firewall ? Your own Operating system may be blocking the call.
there is no reason why you shouldnt be able to do it by using the external ip, as long as the DNS knows it and your machine and infrastructure allows the call
I want to see what a application send to network and if is possible to edit or stop them. thanks ;)
I would definitely recommend WireShark. But be careful, if this is a corporate network you will need permission. Sniffing traffic can sometimes be cause for instant termination, so get it in writing!
Changing and editing traffic are much more complex tasks. That answer really depends on what you want to do.