run specific IP addresses or host names through OpenVPN connection

Adam

I have a PC connected to my OpenVPN server, while I'm streaming video games, the stream is interrupted, like its disconnect and reconnect again within no specific time range, sometimes it lasts for 10 minutes and some times 35 seconds, I don't know why even though:

  • I'm using my local VPN server (low latency).
  • I have a good internet connection with high speed.
  • I'm running OpenVPN over UDP
  • I'm not facing any lag while watching on e.g. youtube.

The first approach came up to my mind is running just the game through the VPN and keep everything else through my internet gateway.

Question:

How do I tell the openVPN to route e.g. only (IP.IP.IP.IP OR Hostname) through the VPN and ignore all the other connections?

davidgo

You add a "route IP.add.re.ss/netmask" line (eg route 100.1.1.1/24)for each IP address or range to your OpenVPN configuration file on the client side or "push route IP.adf.re.ss/netmask" on the server config.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Utility iptables lists host names and not IP addresses

From Dev

validate host names and IP addresses with single regex

From Dev

Multiple IP addresses and Host Names used by Spark Driver and Master

From Dev

How to use host names rather than ip addresses on home network?

From Dev

How to use host names rather than ip addresses on home network?

From Dev

Can ping IP address using wireless connection but not host names

From Dev

Tunnel specific traffic through OpenVPN

From Dev

OpenVPN: Route only specific subnetwork through vpn - works for single IP adresses

From Dev

OpenVPN Assign IP addresses with non-contiguous netmask

From Dev

Resolving IP addresses that correspond to multiple domain names

From Dev

How To Resolve IP Addresses To Domain Names?

From Dev

Multiple IP addresses through the same interface and iptables

From Dev

Only send openvpn ip private ip traffic through tunnel

From Dev

block ip addresses that request a specific url

From Dev

Lock down squid proxy to specific IP addresses

From Dev

Unable to allow specific ip addresses in ufw

From Dev

Termux: Connection to <ip> closed by remote host. Connection to <ip> closed

From Dev

Apache Virtual Host Mix IP and domain names

From Dev

How to run openvpn in a LXC container inside debian host?

From Dev

How do you specify IP addresses for TravisCI's host addon?

From Dev

How to Configure owin/Katana to listen on all host ip addresses

From Dev

mDNS/ZeroConf/Avahi and Multiple IP Addresses for the Same Host

From Dev

Is it possible to give two IP addresses for the same host name?

From Dev

OpenVPN on Ubuntu Linux, connection established, how to send data through vpn?

From Dev

How to avoid IP packets leaking when openvpn connection drops

From Dev

Network Manager does not set IP4.GATEWAY for OpenVPN connection

From Dev

Preserve connecting clients IP address through an OpenVPN tunnel

From Dev

Run daemon on startup in Debian once openvpn connection established

From Dev

If my server has multiple IP addresses, how can I run a script using each of the IP addresses?

Related Related

  1. 1

    Utility iptables lists host names and not IP addresses

  2. 2

    validate host names and IP addresses with single regex

  3. 3

    Multiple IP addresses and Host Names used by Spark Driver and Master

  4. 4

    How to use host names rather than ip addresses on home network?

  5. 5

    How to use host names rather than ip addresses on home network?

  6. 6

    Can ping IP address using wireless connection but not host names

  7. 7

    Tunnel specific traffic through OpenVPN

  8. 8

    OpenVPN: Route only specific subnetwork through vpn - works for single IP adresses

  9. 9

    OpenVPN Assign IP addresses with non-contiguous netmask

  10. 10

    Resolving IP addresses that correspond to multiple domain names

  11. 11

    How To Resolve IP Addresses To Domain Names?

  12. 12

    Multiple IP addresses through the same interface and iptables

  13. 13

    Only send openvpn ip private ip traffic through tunnel

  14. 14

    block ip addresses that request a specific url

  15. 15

    Lock down squid proxy to specific IP addresses

  16. 16

    Unable to allow specific ip addresses in ufw

  17. 17

    Termux: Connection to <ip> closed by remote host. Connection to <ip> closed

  18. 18

    Apache Virtual Host Mix IP and domain names

  19. 19

    How to run openvpn in a LXC container inside debian host?

  20. 20

    How do you specify IP addresses for TravisCI's host addon?

  21. 21

    How to Configure owin/Katana to listen on all host ip addresses

  22. 22

    mDNS/ZeroConf/Avahi and Multiple IP Addresses for the Same Host

  23. 23

    Is it possible to give two IP addresses for the same host name?

  24. 24

    OpenVPN on Ubuntu Linux, connection established, how to send data through vpn?

  25. 25

    How to avoid IP packets leaking when openvpn connection drops

  26. 26

    Network Manager does not set IP4.GATEWAY for OpenVPN connection

  27. 27

    Preserve connecting clients IP address through an OpenVPN tunnel

  28. 28

    Run daemon on startup in Debian once openvpn connection established

  29. 29

    If my server has multiple IP addresses, how can I run a script using each of the IP addresses?

HotTag

Archive