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
24 votes
1 answer
35k views

Does the traffic go through my company network when I browse when connected through SSL-VPN

I work for a company which is not in my country. The enterprise intranet is in a different country. We do not have many employees in my country - so everyone works from home. When we need intranet ...
user93353's user avatar
  • 583
16 votes
2 answers
19k views

Stop VPN being used on internet traffic on Win 7 [duplicate]

Possible Duplicate: How can I make the Windows VPN route selective traffic (by destination network)? How To Use Local Internet Connection To Access Internet While Still Connected with VPN I am ...
Jon's user avatar
  • 337
16 votes
3 answers
29k views

Is it possible to have 2 different VPN connections simultaneously on the same machine? maybe on different network interfaces?

I am setting up a new cluster in my new workplace, and I am still administering another cluster in my last work place. Basically I am "copying" the configuration of the first one to setup the new one. ...
Danduk82's user avatar
  • 248
13 votes
2 answers
62k views

Routing all traffic over VPN on Ubuntu Linux

After having spent now hours troubleshooting, trawling potential solutions on this site and others, and I am resigned to beg the advice of my betters. I am working to route all network traffic on an ...
deftfyodor'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
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
6 votes
1 answer
12k views

Using Wireguard to essentially give a machine in local network a public address from VPS

I am working on the home project and would like to give my machine essentially the public IP address that is assigned to my VPS in the cloud. At home I have a public IP address and I have set up the ...
JohnDow's user avatar
  • 175
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
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
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
2 answers
10k views

How to chain two OpenVPN servers?

I'm wanting to tunnel two VPNs, using OpenVPN. So, the client would connect to the first VPN and would be redirect to the second VPN. (These are all VPSs, I don't have physical access to it as it will ...
anonimou's user avatar
  • 121
6 votes
2 answers
1k views

How do I route requests for an entire subnet over a VPN connection on Ubuntu?

I have an Ubuntu machine connected to a VPN, with the IP address 172.16.1.250. I want to tunnel all the requests for 172.16.1.* through the VPN, but nothing else. If I try to use sudo route -net add ...
Joe Altair's user avatar
5 votes
2 answers
18k views

Access Client side LAN on VPN server

Till now I have managed to installed OpenVPN server on DigitalOcean and OpenVPN client on Raspberry Pi. My Raspberry Pi's OpenVPN IP is 10.8.0.6 which I can ping from OpenVPN server. Now this RPi is ...
Bhushan's user avatar
  • 113
5 votes
1 answer
8k views

In split-tunneling, how do I configure OpenVPN so that it uses domain instead of IP based routing rules?

I live in a place where Google/Facebook/Twitter and a few other websites are not available from accessing. OpenVPN is a great tool to overcome this. Originally, I must have OpenVPN running all the ...
xczzhh's user avatar
  • 151
5 votes
0 answers
10k views

DHCP option to control interface metric

For some reason Windows is using only one interface for local network broadcasting (the one with lowest metrics). When client connects to VPN network, i want it to make new network preferred for ...
Tomo's user avatar
  • 51
4 votes
1 answer
17k views

Wireguard Client With Two Interfaces - Use one Interface for Wireguard

I'm trying to configure a Wireguard client currently set to route all traffic through Wireguard to only route one network interface through Wireguard. Ex: The Client has both wlan0 and eth0 interfaces ...
Thomas F.'s user avatar
4 votes
2 answers
3k views

Route VM traffic through VPN, but not host traffic

I have a VPN service that I pay for, and I would like to route traffic for a (virtual box) virtual machine thorough it, but not traffic from the (linux) host. The VPN service uses openvpn. I have a ...
ben_re's user avatar
  • 93
4 votes
1 answer
5k views

Wireguard (Client) not working with Windows IP forwarding turned on

I have an issue using WireGuard client on windows. When I'm trying to connect to WireGuard server, there are no pings, no domain resolves - nothing. WireGuard shows that I do send like a 1GB/sec of ...
EasyMoney322's user avatar
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
4 votes
1 answer
7k views

LAN over wireguard?

As far as I understand, WireGuard is point-to-point and does not have a server/client architecture. However, I would still want to use a centralized server in order to by-pass firewalls and deal with ...
Tim's user avatar
  • 1,253
4 votes
1 answer
23k views

What is "push route" used for in OpenVPN?

I have an OpenVPN server set up on my Raspberry Pi, when I installed it the guide I followed said to add a line like: push "route 192.168.1.0 255.255.255.0" so that the server would let the client ...
DaRk_St0rM's user avatar
4 votes
1 answer
10k views

Linux ip route / ip rule with fwmark and iptables -j MARK --set-mark

I just need to re-route all user traffic directly to specified gateway (different from the default one) and bypass all VPN and other routing rules. Let's start it from scratch (reboot the system), No ...
iNio's user avatar
  • 63
4 votes
0 answers
3k views

Skype doesn't connect through OpenVPN [closed]

I have an OpenVPN server running on a VPS. When I connect to the VPN using the redirect-gateway option to route all traffic from the client through the VPN, Skype loses its connection. As soon as I ...
David Z's user avatar
  • 6,765
4 votes
1 answer
3k views

Access local network resources remotely using OpenVPN

I've been banging my head against the wall on this for a week, so thought I'd finally turn to the experts. Much appreciated for any help. [Note: originally posted this on ServerFault, was told this ...
Q A's user avatar
  • 41
3 votes
1 answer
356 views

Routing between 7 (seven!) subnets, 2 of them have dynamically assigned IPs

I am using RaspberryPi (Raspbian OS) in an extremely complex routing scheme, which I could manage until number of subnets was five :) Currently, I have the following interfaces, as shown by ifconfig: ...
xmp125a's user avatar
  • 223
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
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
3 votes
1 answer
10k views

Peering two sites in a VPN: DIY mode with twin Raspberry Pi

I have two sites, A and B, like shown in the diagram below +-+------------------------------------------------------------------+ | | |OTHER DEVICES | ...
usr-local-ΕΨΗΕΛΩΝ's user avatar

15 30 50 per page
1
2 3 4 5
13