Skip to main content

All Questions

Tagged with
198 votes
13 answers
408k 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

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
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
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
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
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
2 votes
3 answers
1k views

Avoid corporate blocked URL's when on Cisco VPN

When I'm on my home PC and on my company VPN I can't get to sites that my company blocks. Is there a way to get around this? Why do my requests to facebook.com go through the VPN? Can you configure ...
Marcus Leon's user avatar
  • 3,075
2 votes
1 answer
7k views

OpenVPN without NAT

I'm trying to figure out how to route OpenVPN clients without using NAT/PAT. What I want to do is to route the IP address that they are assigned when clients authenticate to the OpenVPN server to the ...
jjmil03's user avatar
  • 21
1 vote
1 answer
56 views

OpenVPN Site to Side tunel with specific client

I have two networks. First network: 192.168.10.0/24 (router TP-LINK [192.168.10.10] and RPI [192.168.10.17]) Secound network: 192.168.15.0/24 (only one RPI [192.168.15.10]) I would like site-to-site ...
Rafal's user avatar
  • 11
1 vote
2 answers
10k views

How to prevent Windows 7 using VPN gateway by default?

Yes, I am aware of this question. However, I have tried following the answers to the question, and they don't work for me. If I uncheck "Use default gateway on remote network", RDP simply refuses to ...
Jez's user avatar
  • 2,998
1 vote
2 answers
2k views

What do the entries in my routing table actually mean?

I have a VPN connection (implemented via Open VPN) but am trying to route traffic to certain IPs / domains around it, so they just use my naked internet connection. From my research it looks like the ...
penitent_tangent's user avatar
0 votes
1 answer
480 views

Clients don't see each other on OpenVPN / IPFire

I'm setting up an IPFire Server with OpenVPN and I want my clients to see each other. For this I've set up the OpenVPN Configuration via the webinterface of IPFire and started the server. The OpenVPN-...
eraelpeha's user avatar
  • 101
0 votes
1 answer
124 views

OpenVPN I can't connect computers inside the server LAN?

I'm trying to set up an OpenVPN connection, I can connect to the VPN using my client, but I can't connect to other devices on the server network topology Network config IPEnableRouter Server router - ...
Andrew Brazil's user avatar
0 votes
1 answer
1k views

Tun device: How to avoid routing dead loop when write a transparent proxy?

I want to write a transparent proxy, setting a default route 0.0.0.0 for system, let all packets go through my tun(or wintun on windows) device. By doing this I can read Ip frame from tun device, and ...
weichao's user avatar
  • 123
0 votes
1 answer
2k views

Application / interface specific routing

I have a routing configuration whose intention is to route all traffic through a tunnel (utun3) into an openvpn client which then connects to the openvpn server (64.120.44.114) via my physical ...
lhunath's user avatar
  • 4,587
0 votes
3 answers
3k views

OpenVPN LAN Access in Windows 10

I have a simple home network(10.1.1.0/24), where few Windows 10 machines are connected to a wireless router and one of them is running OpenVPN server (Say PC1). Remote clients can ping PC1(10.1.1.8) ...
Pahan's user avatar
  • 13