Questions tagged [openvpn]

An open source virtual private networking application written by James Yoan and published under the General Public License (GPL).

Filter by
Sorted by
Tagged with
1
vote
1answer
38 views

Using iptables to set up a killswitch for openvpn: DNS requests are blocked but they shouldn't

I bought a subscription to a VPN service and I am using the openvpn 2.5.1 client to connect to it. I am using Ubuntu 20.10. I now want to emulate the "kill switch" feature of most ...
0
votes
0answers
30 views

OpenVPN certificates vs. SSO with MFA

I am wondering, is using certificates with OpenVPN gives any advantages vs. using SSO with MFA to authenticate to OpenVPN? Are there any disadvantages for combining both?
0
votes
0answers
46 views

Does an OpenVPN client attemtping to connect a wrong server IP poses a security risk?

I have an OpenVPN server setup at home and the public IP address I get from my Internet Service Provider is dynamic, not fixed. In the configuration file of a VPN client, the IP address of the server ...
0
votes
1answer
61 views

Internet privacy, VPNs, etc. Am I anonymous? [duplicate]

I am a member of a forum that recently disabled my account because their system picked up another account from my household. Anyways their terms of rectifying the situation are pretty invasive to my ...
0
votes
1answer
43 views

Limiting VPC subnet access for NAT OpenVPN clients

I'm currently testing OpenVPN to give developers limited access to AWS VPC's. Assuming I have 3 VPC's... VPC-A, VPC-B, VPC-C, each of these with private and public subnets. The OpenVPN server will be ...
0
votes
0answers
30 views

Firewall rule such that I can only acess a website with VPN

I want to create a firewall rule such that I can only access a Website with VPN enabled. But I can't seem to find an option in windows firewall to say if my protocoll is not openvpn I can't access the ...
0
votes
1answer
87 views

Mixing VPN Protocols

Is there any benefit to mixing vpn protocols as far as obfuscating your traffic. Would a multiple hop setup like (openvpn(server1) + wireguard(server2)) be better or is (openvpn(server1) + openvpn(...
1
vote
0answers
43 views

Openvpn not hiding dns, using tcp

I am using same configuration files for OpenVPN, same operating system (ubuntu 20) on two different laptops, but I notice with Wireshark, then on one of them, the VPN connection goes through UDP, ...
0
votes
0answers
59 views

Routing a site-to-site VPN through my regular VPN service

currently engaged in live competitive red vs blue team exercises in an enterprise style Windows AD environment. My device runs a modern Debian Linux OS. cscotun0 We typically connect to the lab/domain ...
0
votes
0answers
33 views

Difference between IKEv1 and IKEv2?

Can someone tell me the difference between IKEv1 and IKEv2 in terms of security functionality? Wherever I refer it was mentioned as IKEv1 has 9 messages while IKEv2 has 4 messages, IKEv2 has less RTT ...
0
votes
1answer
101 views

How VPN works internally [closed]

The VPN is used to establish a secure connection (creating a tunnel) to another network over the Internet. It masks our IP address and geographical location and also when the information enters the ...
0
votes
1answer
320 views

How does openvpn work for only certain servers?

I got a *.openvpn from work and I monitored the traffic on wireshark. On my normal vpn every traffic is routed via the vpn (as expected). But with this work vpn only the traffic that uses the work ...
0
votes
0answers
55 views

Undetectable Proxy or VPN Protocol

Is there a safe way for creating a proxy, tunnel, or VPN that cannot be detected by the datacenter or ISPs? I'm living in an oppressing country, but I've access to a VPS with less regulated access to ...
0
votes
0answers
125 views

OpenVPN: test security from external point of view

How would I test an OpenVPN environment from external, kind of black box pentest. I have the public server-IP (port 1194, udp, tun). I have found NO online ressources on how to do that, or whether ...
3
votes
1answer
240 views

OpenVPN Key Size 1024 vs 2048 and Eavesdrop vs Access?

OpenVPN recommends using a 2048 RSA key size for greater security, however, the hardware I'm using is somewhat weak and defaults to using a 1024 RSA key size. I'm trying to determine if it's worth ...
2
votes
3answers
2k views

Using OpenVPN on Windows instead of VPN apps: missing certificate

Sorry this might be a noob question, but I subscribed to a VPN provider which ships its own app on Windows. Now I thought I'd prefer to use the OpenVPN client app instead. I create a profile by ...
0
votes
0answers
93 views

How secure is /dev/stdin in UNIX systems?

Is decrypting secrets with ccrypt and piping the result via stdin to openvpn secure? I've written the following alias to start an openvpn client more easily than before: sudo bash -c 'cd ...
0
votes
1answer
56 views

Which methods should I connect a VPN, via that-vpn-app or through an VPN configuration on network manager linux?

I saw there are 2 available methods (that I know of and currently focusing on) to connect to a vpn. The first one is through their application based of that vpn provider. The others is by configuring ...
0
votes
2answers
111 views

How to avoid leaking your public IP to installed applications like browsers when using a vpn?

What is the easiest setup to hide your public IP from installed applications and prevent things like WebRTC leaks on a common Linux distro?
0
votes
1answer
30 views

Combine router VPN with Client VPN

I would like to combine my router's default VPN with another one I run on my laptop. Here is what I currently have : Here is what I would like to have : Both router (DD-WRT) and laptop use OpenVPN ...
0
votes
0answers
20 views

Does installing and routing OpenVPN DNS queries through a local resolver make any difference to the IP address seen by the eventual DNS server?

This is related to my previous question - When pushing a DNS resolver to an OpenVPN client, does the resolver see the IP address of the client or the OpenVPn server?. If an OpenVPN server ...
0
votes
1answer
50 views

When pushing a DNS resolver to an OpenVPN client, does the resolver see the IP address of the client or the OpenVPn server?

When configuring an OpenVPN server, you have the option of pushing DNS resolvers to the client - like so: push "dhcp-option DNS " If this approach is used and a public DNS resolver is defined, will ...
1
vote
1answer
229 views

ecdh-curve and tls cipher do not work together

most of my question are already answered by reading in this forum, but "one last thing" is still open. I am running a OpenVPN server with the following security characters: SERVER (Raspbian Buster)...
1
vote
1answer
112 views

Antivirus/DPI Solution with openvpn server

I wish to set up a system that I log into with openVPN on my Raspberry Pi 4. I have already set up an openVPN server with a PKI infrastructure as well as other services that run on the Pi (like pi ...
1
vote
1answer
844 views

Block WireGuard clients' access to specific websites

I have installed a WireGuard VPN server on a Raspberry Pi (running Raspbian) using PiVPN and I would like to either block the VPN clients to access specific websites (i.e. block them access https://...
0
votes
0answers
95 views

Opening OpenVPN to the world

I built my own private network with OpenVPN. I bought a VPS at hosting provider A(closer to home) and another two at hosting provider B(cheaper). Using openvpn I connected the two to the OpenVPN ...
1
vote
2answers
131 views

Meterpreter Session over OpenVPN [closed]

Last month I made a pentesting course and now they opened a lab for us to practice before we apply for the certification exam. We connect to the lab over OpenVPN in our Kali Linux machine. I'm trying ...
-1
votes
1answer
231 views

Does OpenVPN encrypt my traffic between my computer and VPN server?

I set up my own VPN by installing OpenVPN on a Ubuntu server, then I download client.ovpn file from Ubuntu server to my Windows laptop. And then, I import that client.ovpn to OpenVPN GUI app on ...
-4
votes
1answer
509 views

Which VPN offers more security conceptually, SSL VPN or L2TP/IPSEC?

Aside from possible implementation bugs, which VPN concept aims to offer more protection by design? SSL VPN (implementation example - OpenVPN) L2TP/IPSEC (implementation example - Strong Swan) After ...
0
votes
1answer
100 views

Can't tell If The OpenVPN Server I Setup Is Encrypted using Wireshark?

This might sound dumb, but I set up an OpenVPN server on a Synology NAS. When I connect via the client at home to the server, everything works for. I know you can read packets in Wireshark. If I ...
2
votes
1answer
750 views

How to generate an OpenVPN 4096 or 8192 bit static key?

How to create an OpenVPN static / pre-shared key with key size 4096 or 8192 bit? openvpn --genkey Creates 2048 bit strong keys only. Static key. Not CA.
1
vote
1answer
357 views

How can I hide my mac address when using a public wifi? [duplicate]

As a new student of cyber security, I have started to see in real-time how an individual can actually scan and view the mac addresses on a public wifi connection. How can I hide my mac address when ...
-4
votes
1answer
570 views

Wireguard vs. OpenVPN [closed]

Which is better in what scenario? What cons and pros do they have? (optional question) Which is more secure? (optional question) Best use case of each one? Isn't WireGuard based on OpenVPN?
1
vote
1answer
543 views

Tunnel Openvpn traffic through ssh?

I know similar question have been asked but none of them are explained thoroughly. I have setup a VPS and setup openvpn using https://github.com/Nyr/openvpn-install on tcp and port 443(I have access ...
1
vote
1answer
85 views

If I use a VPN, can an enterprise proxy insert itself in the middle?

I'm using the guest Wi-Fi at a large corporation, and connecting to a commercial VPN provider via the OpenVPN client. I do not know one way or another if a proxy is used on the guest wi-fi, but I ...
0
votes
1answer
423 views

For security purposes, can I use vpn with ufw to allow traffic only from the vpn on ubuntu?

Is this possible? If not through ufw then some other software or iptables? How should I set up the ip tables? Assuming my public ip is known (and I don't want to change it), would it provide complete ...
2
votes
1answer
2k views

how to force openvpn client to use TLS instead of SSL connection [duplicate]

i'm trying to use openvpn client to connect TLS VPN server here is my .ovpn file client tls-client dev tun proto tcp remote example.com 443 resolv-retry infinite auth-user-pass persist-key ...
0
votes
1answer
177 views

Is it safe to use RPC with sensitive data through an encrypted VPN connection instead of SSL/TLS?

I have an application where there I'm planning the following setup: user <-----------------> layer 1 server <------------------> backend server internet (https) ...
0
votes
1answer
479 views

What's the drawback of enabling auth-nocache in OpenVPN?

Using a "default" configuration, OpenVPN clients show the following warning when connecting to a VPN server in red, attention-seeking letters: WARNING: this configuration may cache passwords in ...
2
votes
2answers
2k views

What are the risks of installing a CA on the same machine as OpenVPN server?

Digital Ocean states in one of it's tutorial about OpenVPN server : While it’s technically possible to use your OpenVPN server or your local machine as your CA, this is not recommended as it ...
2
votes
1answer
369 views

Meterpreter and OpenVPN

During a meterpreter session, is it possible to deliver a payload that creates a connection request to a local OpenVPN connection? For example: I have a payload. Whenever that payload runs on the ...
0
votes
1answer
1k views

Are ARP attacks possible on OpenVPN and Wireguard connections?

I am curious if it is possible for users connected to a VPN to perform ARP spoofing / poisoning attacks against other users on the same subnet of an OpenVPN or Wireguard server. Does OpenVPN & ...
2
votes
0answers
97 views

Loosing internet connection while connected to specific VPN server?

I have noticed a strange behaviour earlier today on my VPN on a specific server. When I run a trace route command while connected to VPN (on a specific countries server) my internet will not work for ...
1
vote
1answer
158 views

Is my VPN leaking or is this normal?

Hi when I am not connected to my VPN and do a route print I get one 0.0.0.0 entry in the Network Destination column. It has a gateway of 192..... When I connect to my VPN and do a route print I get ...
0
votes
0answers
588 views

Filter/Block OpenVPN clients' access to a specific website

As stated in the title I would like to restrict VPN clients' access to specific websites. More specifically, I push the route for 5 websites to the clients via the server config. However, I would ...
2
votes
3answers
373 views

Using a VPN for privacy?

Say I am only using a vpn for privacy (as is recommended by many people, especially on public wifi etc). How I understand it is that many people are using the same servers and have the same ip online. ...
1
vote
1answer
2k views

Why is my VPN behaving like this and should I be concerned?

I recently started using NordVPN and have noticed something strange. Sometimes when I connect to the VPN service in my system tray it will show a wifi connection and other times an ethernet ...
-2
votes
1answer
1k views

Is Private Internet Access (PIA) VPN safe to use? [closed]

As said in the PIA website they pretend to have the following VPN features: PPTP, OpenVPN and L2TP/IPSec SOCKS5 Proxy Included No traffic logs So my question are: Is Private Internet Access VPN ...
7
votes
6answers
3k views

Difference between SSH Tunnel / Proxy and VPN in terms of security

What benefits does a VPN have over just using a regular SSH Tunnel? I'm considering setting up OpenVPN on a server, but was wondering what benefits that would have over just using that same server as ...
0
votes
3answers
1k views

Does a self-hosted VPN (openvpn) at home encrypt traffic for my ISP? [duplicate]

Title says it all. If I host my own VPN at home (using openvpn), and connect my devices to it, will my ISP be able to see the contents of my traffic?

1
2 3 4 5