Skip to main content

All Questions

Tagged with
198 votes
13 answers
407k views

How can I make the Windows VPN route selective traffic (by destination network)?

I want to use a Windows VPN but only for a particular network, so that it doesn't take over my entire network connection. e.g., Instead of the VPN becoming the default route, make it only the route ...
Legooolas's user avatar
  • 5,910
3 votes
3 answers
12k views

How to run a web server on my PC without static ip

I have two related questions: 1- When I see my global IP address in a website like https://whatismyipaddress.com/, which is for example X.X.X.X, I think this is not only mine, and a lot of people who ...
Mahdi Mohammadpour Fard's user avatar
6 votes
1 answer
13k views

Routing a particular subnet into a VPN tunnel

My network looks like this: I'm trying configure my router so that the subnet (192.168.2.0/24) is routed over the VPN tunnel (tun0) on the gateway/router. While at the same time clients on the ...
moonmoon's user avatar
7 votes
2 answers
9k views

How to use a Windows PC to share multiple network connections?

I have a Windows PC (Win 7). It has a couple different network connections, including one that connects to a VPN, and one that connects to the Internet. I want to share both of those connections with ...
Tacony's user avatar
  • 171
6 votes
2 answers
25k views

Problem with persistent routes and VPN connection in Windows 7

My home PC has a VPN connection to my office. The office network is firewalled, with a secure zone on 192.168.0.* and a DMZ on 10.0.0.* From outside, www.mycompany.com routes to a public IP - say 1....
Dylan Beattie's user avatar
2 votes
1 answer
3k views

Route LAN traffic through eth0, not tun0, on my VPN access point

How can I make my Access Point send traffic to 192.168.1.0 through eth0 and all other traffic through tun0? I have set up a Raspberry Pi VPN access point. It sits on the same subnet as all my servers,...
SnabelaDotNet's user avatar
9 votes
5 answers
40k views

Linux: routing based on domain names

On ubuntu 16.04, I would like to route my traffic either through the direct internet eth0 or my VPN tun0 based on the domain name entered into the browser. The reason being local sites are either slow ...
Twifty's user avatar
  • 203
6 votes
2 answers
13k views

Setting up bridged OpenVPN server with single public IP NIC

I've been trying to set up a bridged OpenVPN server without much success. I've got VPS running Ubuntu with one NIC, which has assigned static public IP to it. I want to be able to have a couple of ...
Tomasz's user avatar
  • 163
6 votes
1 answer
9k views

Route only certain IP range with VPN connection

We are using FortiClient to connect to one of our client's VPN. Unfortunately, FortiClient is routing all the traffic over VPN as default. We have found a way around it, for Linux. After connecting ...
Atais's user avatar
  • 211
4 votes
2 answers
12k views

How to ensure Internet access is only via VPN [duplicate]

I have a Windows 7 machine with a regular wired Internet connection, configured via DHCP. It has a VPN connection set up. How can I ensure that Internet access is allowed only over the VPN? That is, ...
EM0's user avatar
  • 1,852
3 votes
1 answer
2k views

Can I set up Windows 7 VPN so that only sites blocked in China are routed through VPN?

I'm in China behind the Great Firewall using a VPN service provided by a friend so didn't get blocked in the VPN crackdown in January 2015. Since VPN can slow down traffic a lot I'd like to only ...
hippietrail's user avatar
  • 4,593
3 votes
1 answer
9k views

Route all internet traffic through Wireguard peer

I have a Wireguard server S and two clients : A & B. All are on different networks. Only S is reachable. A and B can only connect to S. I want to route the Internet traffic of B (an optionnaly S) ...
Dev0110's user avatar
  • 71
3 votes
3 answers
5k views

AWS OpenVPN Routing

I have a OpenVPN AS instance (AWS). I am trying to route traffic from my VPC (172.31.10.0/20) to home (192.168.5.0/24). What works: I can route ALL traffic from home (192.168.5.0/24) via 192.168.5.4 ...
Benjamin Jones's user avatar
3 votes
1 answer
2k views

How to Route traffic through a VPN that is only available through another computer on the network?

Network 1 has 2 computers, PC1 and PC2. PC1 has access to a VPN. PC2 Does not. Is there a way that PC2 can route its traffic through the VPN on PC1? a possible Idea that I came up with would be ...
JHixson's user avatar
  • 133
3 votes
1 answer
3k views

Raspberry pi as access point with vpn

I need to connect my phone to office network while at home. Installing a vpn client on the phone is not an option. I followed this tutorial to get an access point working with an rpi : Configure a ...
Gautam's user avatar
  • 93

15 30 50 per page