Jump to content
Not connected, Your IP: 3.22.61.246
Sign in to follow this  
Ellipsis

Suggestion for Client : Custom Routing of IP's to default non-vpn gateway.

Recommended Posts

I have some services that I do not want to connect over the VPN for.

Mainly a TeamSpeak in my instances.

In the OS, this can be done by manually setting routing tables.

Example on Windows (since it is a Windows Client):

route add XXX.XXX.XXX.XXX mask 255.255.255.255 YYY.YYY.YYY.YYY

Where XXX.XXX.XXX.XXX is the IP to the service wanting to not route over the VPN.

Where YYY.YYY.YYY.YYY is your gateway IP when not using the VPN. (many times the router ip)

OpenVPN Configs can append something similarly

route XXX.XXX.XXX.XXX 255.255.255.255 net_gateway

There is no need to know what the gateway was in advanced.

This post is requesting, when Expert mode is set in the client, there is a simple textbox, listbox, and add/remove button that will allow you to put in IP's and it will add it to the OpenVPN config or however parameters are passed prior to the application doing it's connections.

You could even have an option when a hostname is given it does a dns query of (sub)domain and www.(sub)domain for all A entries and cname (max 4 recursions) and add rules for those on connect. Query the AirVPN dns.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...