Score:0

OpenVPN windows split tunneling - route 1 IP outside of VPN

ng flag
  • How do I change the config file in Open VPN (windows) to allow a particular IP to go outside the VPN tunnel?

  • I know that if I want only one particular IP to go through the Open VPN tunnel, I can use this command:

route nopull

route [IP address to use VPN]

  • However I don't know what commands to use to do the INVERSE i.e. only a particular IP does NOT use the VPN tunnel and all other IPs use VPN.

  • What commands would I add to the Open VPN config file in windows?

Thanks

Score:0
cn flag

To make OpenVPN route one specific IP through the default route, use the following line:

route [IP] 255.255.255.255 net_gateway

This will route [IP] through the system default gateway (instead of the VPN gateway) therefore not passing traffic to that IP through the VPN.

You can substitute net_gateway for vpn_gateway if you'd like to do the opposite, routing one specific IP through the VPN.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.