Page 1 of 1

How to create adapter and cmd

Posted: Thu Jun 30, 2022 2:03 pm
by Liam21
Am trying to make something like gameranger lan app.

Main purpose of use of this vpn is for lan connection gaming so that in multilayer screen game detects hosted games.

Main question now I created a chat client in visual basic people will create rooms and create host them self and who ever opens a new room is a host and people that join are users.

I tested the vpn using vmware without vpn and this is the results.

Vmware opens a game as host and pc game as user can't see the host in game lobby.

If pc user host a game than vmuser can see host of pc user.

If vpn used both host can be seen at each time of of them host.

I need the vpn to be part of my application the command line so that I can install the virtual adapter and run some cmd command to create users no password and connect vpn to main target ip.

So in command prompt how do I create virtual adapter and assign my main ip.
Create user with no password and rest default settings that's it

Re: How to create adapter and cmd

Posted: Tue Sep 19, 2023 3:42 am
by Frost751
Liam21 wrote:
Thu Jun 30, 2022 2:03 pm
Am trying to make something like gameranger lan app.

Main purpose of use of this vpn is for lan connection gaming so that in multilayer screen game detects hosted games.

Main question now I created a chat client in visual basic people will create rooms and create host them self and who ever opens a new room is a host and people that join are users.

I tested the vpn using vmware without vpn and this is the results.

Vmware opens a game as host and pc game as user can't see the host in game lobby.

If pc user host a game than vmuser can see host of pc user.

If vpn used both host can be seen at each time of of them host.

I need the vpn to be part of my application the command line so that I can install the virtual adapter and run some cmd command to create users no password and connect vpn to main target ip.

So in command prompt how do I create virtual adapter and assign my main ip.
Create user with no password and rest default settings that's it
Creating a VPN application like GameRanger LAN involves complex networking tasks. Here are simplified steps:
Create Virtual Adapter: Use netsh to create a virtual network adapter.
Create Users: Use net user to create user accounts without passwords.
Configure VPN: Use rasdial to connect to your target IP.
Implement Routing: Set up routing for VPN traffic.
Port Forwarding: Handle port forwarding for hosting games.
Error Handling and Security: Implement error handling and security measures.
Building a VPN app requires networking expertise and legal compliance.