rejetto forum

General => Everything else => Topic started by: LeoNeeson on October 05, 2015, 04:24:36 PM

Title: How to tell if an OpenVPN Client runs on a router?
Post by: LeoNeeson on October 05, 2015, 04:24:36 PM
Hi there! Sorry for this offtopic and technical question:

> How to tell if an OpenVPN Client runs on a router?

I mean, every internet browser has an "User Agent", but I can't find any information related to OpenVPN having an "User Agent". So, is there any way an OpenVPN Server may know if some OpenVPN Client is running on Linux, Windows, Android, etc?...

Why I'm asking this weird question? Because my VPN provider doesn't like that their VPN service be used from a Router (mainly, to avoid misuse, and to avoid abuse by sharing the service with others). Not my case. I DO NOT want to do this to "circumvent" their terms in ANY way, because I would like to use the router ONLY to make the configuration easier on my devices (I mean, only have to configure the router, and not every single device). Of course, to make happy my VPN provider, I'll connect ONLY ONE device at a time to that router (after all, my speed connection doesn't allow me to use more than that, since it's a wireless connection).

Sorry if it's a confusing question, but this is not something I can ask my VPN provider directly (to avoid any misunderstanding, or worse yet, having my account cancelled). So, my question is: if I run an OpenVPN Client on a router (with OpenWRT firmware), can I be 100% sure my VPN provider doesn't detect it? Does an OpenVPN client have an "User Agent"? (or any hardware/system identification string when makes its connection?). Anyone have an idea about this?...

Thank you people... :)
Leo.
Title: Re: How to tell if an OpenVPN Client runs on a router?
Post by: bmartino1 on October 06, 2015, 06:37:28 PM
a little confusing on what info you are trying to obtain.

I have found that its the device that lets the "vpn" through that then becomes the "user agent" (mac address)

I'm familiar with setting up VPN with ddwrt router and other software to do this....
http://www.howtogeek.com/51772/how-to-setup-a-vpn-server-using-a-dd-wrt-router/

as for finding info on the VPN user agent(software / hardware specific), that something else...
This may help:
http://search.cpan.org/~sillymoos/Net-OpenVPN-Agent-0.01/lib/Net/OpenVPN/Agent.pm

It shouldn't matter though... I know of software VPN, but the good cooperate / enterprise VPN are a hardware device most likely a router....
The answer is yes, it is possible to "detect the device it is using it form..."  it in the packets that are sent, they can trace that to a mac address and possibly further info to the OS/hardware....

which is why i prefer open ssh(free) / ssh alternative and use putty to open tunnels when i need to...
best windows ssh i have found(not free, free ones available) : https://www.bitvise.com/ssh-server-download
Putty / ssh terminal: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
with a google code progrma ptman (gui tunel made easy): https://code.google.com/p/putty-tunnel-manager/downloads/detail?name=ptman.exe&can=2&q=

Brief overview:
https://www.getfilecloud.com/blog/create-your-own-virtual-private-network-for-ssh-with-putty/

hope this help :p
Title: Re: How to tell if an OpenVPN Client runs on a router?
Post by: LeoNeeson on October 07, 2015, 08:33:58 AM
What I'm looking for? It's nothin' fancy, just using a VPN provider with a TPLink MR3020 as VPN Client. My MR3020 is using a custom firmware, with OpenWRT, with LuCI and OpenVPN-SSL.

So, according to your answer, changing the MAC address in the router is enough to hide the fact you are using your router as VPN Client (my VPN forbids this setup, to avoid sharing the service, which is not my case).

Well, thank you bmartino1. :) I'll try this in few days and see if everything goes fine. Anyway, if anyone here knows more about this, feel free to leave a message here.
Title: Re: How to tell if an OpenVPN Client runs on a router?
Post by: Fysack on September 17, 2016, 02:49:08 AM
i love you