Questions tagged [openvpn]
OpenVPN is a free and open source software SSL VPN solution. It allows secure point-to-point or site-to-site connections with routed or bridged configurations and remote access facilities.
989
questions with no upvoted or accepted answers
7
votes
0
answers
367
views
How to route OpenVpn traffic through another server?
I have a server (ubuntu 22.04) with Openvpn on it on port 443 (with docker image kylemanna/docker-openvpn). It is working with no problem and the clients can connect to it. The problem is that the ...
6
votes
0
answers
2k
views
Route traffic selectively through OpenVPN as a SOCKS proxy
Is it possible to convert OpenVPN traffic into a SOCKS proxy locally, so that applications can use the VPN only when needed by connecting to the SOCKS proxy?
I'm aiming for something like Underleech ...
5
votes
2
answers
25k
views
OpenVPN does not work on Wireless
On some connections I have issues with OpenVPN accessing the internet and my internal network at home. I can do it at home but when I go to public wifi places I can't access my local network or even ...
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 ...
5
votes
1
answer
2k
views
VPN DNS configuration bug in OS X
I am using TunnelBlick to connect to an VPN (OpenVPN) with OS X 10.9.2. I can authenticate and pass traffic but the DNS entries injected from the VPN do not work.
Here is the output of scutil --dns (...
4
votes
0
answers
97
views
Site-to-site VPN with consumer hardware
I'm trying to use OpenVPN to set up a routed site-to-site VPN to connect two NAT-ed networks, roughly following the instructions here.
Network A uses the IP range 192.168.1.0/24. The router and ...
4
votes
1
answer
5k
views
Only allow access to specific IP address on LAN with VPN
I have a Raspberry PI running PiVPN and would like to restrict the LAN IP addresses that can be accessed through the VPN, so that only one service is available.
I have searched, but all I have found ...
4
votes
0
answers
891
views
How to import Cisco AnyConnect configuration into openconnect?
I have to use two Cisco AnyConnect VPNs together, which is not possible, so I want to try to import one of their settings into OpenConnect? I am on Windows 10, I don't have VPN connection settings, ...
4
votes
1
answer
13k
views
OpenVPN - TLS key negotiation failed to occur within 60 seconds
I'm having troubling connecting to my home VPN via my laptop which is connected to a mobile hotspot.
The client OpenVPN log is as follows:
trevor@xps:~$ sudo openvpn --config ~/dev/net/vpn/vpn.sears....
4
votes
2
answers
5k
views
DNS fails when 'Use this connection only for resources on its network' is checked
It seems I can only have DNS or Routing working. Not both.
I imported my client's ovpn file and when I connect (with the defaults) I can access resources behind their firewall, their DNS servers take ...
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 ...
4
votes
1
answer
2k
views
Capturing android network traffic by setting up a VPN?
I'm trying to capture an app's network traffic, the proxy option in the Android OS is not proxying everything the app is sending/receiving. Would it be possible to setup a VPN server and analyze all ...
4
votes
3
answers
10k
views
How to force Google safesearch on entire network
I've a problem filtering web searches on Google domains.
Currently I've a linux openVPN Server running with openDNS "family block".
I can block a lot of websites with dangerous content and ...
4
votes
1
answer
7k
views
Using OpenVPN, yet netflix.com blocks access
I have set up an OpenVPN server on a VPS in the USA and configured it to route all clients traffic through it. Everything seems to work fine regarding the VPN connection in gerneral. All ip lookup ...
4
votes
1
answer
718
views
OpenVPN routing issue
Building 1:
10.1.0.0 255.255.0.0
Building 2:
10.10.0.0 255.255.0.0
192.168.0.0 255.255.0.0
Buildings are connected by 1G metro ethernet.
I reside in building 1.
192.168.0.0 is firewalled from ...
4
votes
1
answer
8k
views
OpenVPN connection breaks time to time: TLS Error: local/remote TLS keys are out of sync
We have our own VPN in my workplace. Everyone has its own key. However I am the only one who works on linux, the rest use either Macs or Windows machines. Unfortunately I have not found any good ...
4
votes
2
answers
14k
views
Check Point VPN client alternatives
On Windows I can connect to a VPN with the Check Point Endpoint Security client.
However, since my main desktop is Ubuntu 18.04 I found an alternative client (SNX) which worked until some weeks ago. (...
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 ...
3
votes
0
answers
2k
views
Per-application split tunneling with self-hosted VPN or proxy
What's the easiest way to split tunnel individual processes, not just CIDR ranges, with self-hosted VPNs or SOCKS proxies? Mainly applies to Windows, but it would be nice if it works similarly on ...
3
votes
0
answers
874
views
OpenVPN Internet Sharing OSX
I have an OSX Mac mini running with OpenVPN. The basic setup works fine. Using the Mac mini I can easily connect via my own OpenVPN setup on AWS/EC2.
Now I want to share this (cable-Ethernet) ...
3
votes
0
answers
75
views
FTP Connectivity issues while connection is fine
I use the FTP-client FileZilla to transfer my files via FTP. However, recently I noticed many problems with FTP-activities such as listing some directories.
My server is behind VPN, so I doubted the ...
3
votes
0
answers
841
views
OpenVPN with Smartcard 2FA
I have a working OpenVPN setup, which uses X.509 certificates for authentication. In order to implement two-factor authentication I want to enroll new keys/certificates on smartcards. Aventra MyEID ...
3
votes
0
answers
4k
views
Turn SOCKS to VPN using OpenVPN
I'm on Windows 10 and I have a local SOCKS connection (Psiphon 3) and I want to share this connection via Wifi Hotspot.
I know how to share an OpenVPN connection via wifi hotspot but I don't know how ...
3
votes
2
answers
6k
views
iptables rules to allow devices on VPN to access internet
I have a linux firewall setup as my home network gateway that is correctly leasing IP addresses to devices on my network, and those devices have internet access.
I also setup OpenVPN on the same ...
3
votes
0
answers
374
views
Bypass OpenVPN Tunnel for Specific Devices (IPs) on Tomato Router Setup
My setup is pretty straight forward.
ISP Modem - 192.168.1.1
|
Router - 10.0.0.1
/ | \
Devices
I've setup OpenVPN on the router so that all trafic is tunnelled over VPN. I'd like for certain ...
3
votes
2
answers
767
views
linux routing - how to switch PCs between multiple gateways
I have a linux router with multiple gateways (cable modem, ppp, vpn, etc). What's the best way to forward all internet traffic for individual users through different gateways?
Here's an example:
...
3
votes
0
answers
851
views
How to configure Let's encrypt for a server with openvpn
I want to make my Rails app SSL available, but I failed to configure it.
I'm using Let's encrypt for SSL and the server is using Nginx. There is also openvpn service that is installed by openvpn-...
3
votes
0
answers
869
views
OpenVPN connecting two networks with the same local segments
I have two networks in 2 different physical locations (A, B).
Both have lots of things sitting on the 192.168.1.x segment.
I wish to connect to Network A from a Windows PC on Network B and "see" all ...
3
votes
0
answers
786
views
OpenVPN server to use another VPN tunnel to forward internet traffic (listen tun0)
How to create VPN tunnel to tunnel? On my my server 1 there is working OpenVPN server but I would like to redirect traffic to another VPN.
Client can already connect to Server1 by VPN but how to ...
3
votes
1
answer
3k
views
How to configure OpenVPN to access local clients
EDIT2: Per my first edit below, I determined OpenVPN connects just fine in a public environment and routes all traffic through it. The real question is, how do I configure my files so my desktop ...
3
votes
0
answers
2k
views
How does Name Resolution actually work in the latest version of macOS?
Current version: macOS Sierra 10.12.3
I administer an OpenVPN server for my company. I have set the following:
# Send client instructions to use our internal DNS
push "dhcp-option DNS 172.31.5.39"
...
3
votes
0
answers
461
views
How to selectively bypass TUN OpenVPN client for VNC service?
I have a Mac Mini connected to internet via an ASUS router running ASUS's modified WRT firmware. All devices have latest software/firmware.
The Mini does scheduled connections to the internet via a ...
3
votes
0
answers
551
views
Iptables/Route with 2 ssid hostapd and subnets and openvpn setup
I'm struggling to setup iptables/routing in the correct way.
Objective is:
- Traffic from clients connected to wifi-KK to not use the tunnel but go via eth0 to router
- Traffic from clients ...
3
votes
3
answers
1k
views
How to tell an instance of firefox to use eth0 instead of tun0 while OpenVPN is running and connected to a VPN server?
sometimes I need to connect to websites without passing through VPN, is it possible to open an instance of Firefox and tell it to use the plain eth0 interface instead of the tun0 ?
3
votes
0
answers
1k
views
Forwarding traffic on Linux virtual machine received through GRE tunnel connected over OpenVPN
I'm trying to route traffic destined for the public Internet through an OpenVPN network, where the traffic will exit the VPN through another client on the network (that happens to be a VirtualBox VM).
...
3
votes
0
answers
802
views
Nginx + OpenVPN (proxy) and access.log
I currently have an Nginx server running on 444
and an OpenVPN on 443 with the port-sharing feature.
Both applications run well,
but the IP written into /var/log/nginx/access.log is, thereby, 127.0.0....
3
votes
0
answers
7k
views
OpenVPN Connect (Android): How to allow local traffic to bypass VPN
I use the OpenVPN Connect app on my Android devices to route my internet traffic through commercial VPN Service providers (Private Internet Access and IPVanish).
I can access the internet through the ...
3
votes
1
answer
1k
views
openvpn connection without forwarding all traffic
I am trying to connect a client to a vpn network without openvpn forwarding all my traffic into the network. The point being is I want to be able to connect and communicate with all the other ...
3
votes
0
answers
2k
views
OpenVPN client fails to activate pushed DHCP options for DNS and DOMAIN
OpenVPN client is connecting to OpenVPN server OK.
During connection, we see the options pushed contain dhcp-option of DNS 10.0.0.2 and DOMAIN prd1.o2:
Sun Aug 2 17:31:06 2015 PUSH: Received ...
3
votes
1
answer
430
views
Routing traffic around VPN
I recently setup a OpenVPN client on my HTPC, however once I connected to the VPN server I was no longer able to remotely SSH or connect to the other servers I had running on the HTPC.
I followed ...
3
votes
1
answer
2k
views
After disconnecting my vpn, why do I have to reset my network adapter to revisit certain sites?
If I create an encrypted connection to my VPN host (via openVPN) and tunnel all internet traffic through it everything seems to work fine (i.e. Websites think my ip is that of the remote server).
...
3
votes
1
answer
1k
views
How can I route all traffic coming in to an OpenVPN server through an Apache proxy on the same machine?
I was following the instructions here to set up mod_pagespeed as a proxy for my phone. As the security note suggested, I set up OpenVPN and got that much working on my phone, but OpenVPN isn't letting ...
3
votes
1
answer
5k
views
iptables config blocks OpenVPN with udp error "Operation not permitted (code=1)
With iptables cleaned out using the following, my OpenVPN client fires right up with no errors:
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -F
As soon ...
3
votes
1
answer
855
views
Using Raspberry PI as OpenVPN router for Asterisk
So, I've been banging my head with this for quite some time.
I have the following configuration:
OpenVPN server, IP 1.2.3.1
Asterisk server, connected to OpenVPN server, IP 1.2.3.3
Raspberry PI, ...
2
votes
0
answers
132
views
Can I access multiple OpenVPN connections, each accessed through socks proxy?
I have a piece of software, I'll call it "FooSoft" here, which needs to connect to multiple devices on networks protected by a variety of third party VPNs. Each VPN is independent and I have ...
2
votes
0
answers
79
views
From client side only, show all options pushed from server to OpenVPN client
I have no access or control over the server. How do I view the list of options pushed to my client?
2
votes
1
answer
349
views
How to tunnel one OpenVPN to another OpenVPN
How can I do this? I searched but did not find any thing related or at least light a fire in my mind what to do:
Me --> connects to OpenVPN server A --> Server A connects through another ...
2
votes
0
answers
857
views
No connection to client network via OpenVPN site-to-site connection
I am trying to connect two of my homes (and maybe more than that later) via an OpenVPN site-to-site connection. My goal is so that all clients on all sites are able to talk to eachother.
But for some ...
2
votes
0
answers
190
views
Can OpenVPN create multiple tunnels?
I have a single Linux machine with 10 network interfaces, none of which support port forwarding. I am trying to find a solution where I can expose all 10 interfaces publicly, and I considered using ...
2
votes
0
answers
736
views
Proxy Switchy Omega extension on Chrome: How to set up with OpenVPN
I use OpenVPN to connect to my university account from home (Win 10 laptop). I was thinking of using Proxy Switchy as a Chrome extension to automate this process for certain websites.
I'm getting ...