Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
177 questions with no upvoted or accepted answers
4 votes
0 answers
405 views

How can I connect a Linux box to an Azure AD-Authenticated VPN?

I've been tearing my hair out over this - a client is using an Azure VPN setup that seems to only play nicely specifically with the Azure VPN Client app. It works perfectly on that software, but I ...
user2979044'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
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 ...
FirePapaya's user avatar
3 votes
1 answer
2k views

wireguard client to client communication does not work

I had a CentOS 8 Stream wireguard server, which allowed me to play LAN games with friends. Since i updated to Rocky Linux 9, i cant communicate with other clients any more. To clarify: client to ...
Marc's user avatar
  • 403
3 votes
0 answers
657 views

How do I use OpenSSH network tunneling in Windows?

I want to use the OpenSSH tunneling capability that is described in this wiki entry, in which SSH tunnels all traffic at OSI level 2 or 3 via virtual network devices on both ends, a.k.a. tun/tap. I ...
Ethan T's user avatar
  • 434
3 votes
0 answers
2k views

Routing traffic through custom tap device en-route to internet on linux

I have a VM that is using a tap device (tap2) and my goal is to filter all the traffic in/out of tap2 using a custom program written by me that runs in userspace. The topology I came up with routes ...
Shriphani Palakodety's user avatar
3 votes
1 answer
2k views

How to avoid TCP/IP Fingerprinting

I have the following setup: +-----------+ SSH Tunnels Over Socks5 Proxy +--------------+ | | | | | Linux PC +-------------------------...
sashage's user avatar
  • 31
3 votes
0 answers
2k views

Connecting to wireguard on localhost

I want to be able having 2 wg interfaces on same machine and tunnel traffic from one to another. Every setup I found is basically begin with "setup your server peer on dedicated instance" but I need ...
gudvinr's user avatar
  • 53
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 ...
Thomas van Hesteren's user avatar
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 ...
user419541's user avatar
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 ...
Nix's user avatar
  • 51
2 votes
0 answers
125 views

Easiest way to set up a "proper" VPN on a CentOS server, allowing an Ubuntu or Windows client to connect to it

I am using Ubuntu at home. I have a server in the US with CentOS. With my system administrator days long gone (about 25 years ago), the question is: what's the easiest, least painful way to make a ...
Merc's user avatar
  • 250
2 votes
2 answers
3k views

How can I block internet access to certain Wireguard clients?

I have a working Wireguard setup, and multiple devices connect to it. I also set it up such that all the clients route their network/internet activity through the Wireguard server via "0.0.0.0/0, ...
yarun can's user avatar
  • 1,010
2 votes
0 answers
474 views

Missing route from docker interface to vpn

The current pandemic has forced me, like most of you I assume, to work from home. Working from home made me aware of a limitation with my setup. And my lacking networking knowledge is not enough to ...
Pär's user avatar
  • 121
2 votes
0 answers
273 views

OpenVPN use IPtables NAT without sending all traffic through VPN

I have a VPN connection between two servers that I want to use to allow one to connect to the other's ports and use IPtables Prerouting to make it accessible from the other server. I do not want any ...
Markel's user avatar
  • 21
2 votes
0 answers
736 views

Can't connect to L2TP/IPSec VPN with Linux but works on Mac OS

My university offers an L2TP/IPSec VPN, and I am trying to connect to it with strongswan (for IPSec) and xl2tpd (for L2TP). IPSec works just fine, but something weird happens when I try to establish ...
Morichika Maho's user avatar
2 votes
0 answers
66 views

Raspberry Pi OpenVPN - Clients unable to see network devices

I have completed the setup of OpenVpn on my raspberry pi. I am able to connect successfully and access the internet as if I'm browsing from home. My problem is that I have a network share that I want ...
A.F17's user avatar
  • 21
2 votes
1 answer
3k views

How to auto reconnect to openvpn upon reconnect to wifi on Linux terminal?

I'm on an Ubuntu 18.04 laptop and I always need to connect to an openvpn server. Since I'm unable to setup the VPN from the GUI I always need to manually run sudo openvpn --config theconfig.ovpn ...
kramer65's user avatar
  • 1,424
2 votes
0 answers
992 views

Networking: namespaces and vpn on raspberry pi

I recently installed openvpn on my pi so that pihole and a few other processes can run behind a VPN. While it's worked great so far, it obviously broke remote access to my Plex server, which relies on ...
Piplexed's user avatar
2 votes
0 answers
945 views

IKEv2 VPN connected but no Internet

There are a lot of questions on SE regarding this and I tried nearly all of them. Unfortunately none solved my problem. I followed the instruction on DigitalOcean, but adapted it a little to fit my ...
Ryan's user avatar
  • 131
2 votes
0 answers
642 views

How to route VPN traffic trough a different interface in linux

I have a Debian 9 LXC container with two NIC (eth0 and eth1) in a LAN, hosting a web server listening on eth0. I would like to connect the container to a VPN to retrieve files from some internet ...
greenLED's user avatar
  • 121
2 votes
0 answers
1k views

OpenVPN - Actual download speed is **exactly** half of bandwidth

While using OpenVPN, measurements on server-side upstream (tun0 and eth0) and client-side downstream (Networx) agree that my connection is at 16 Mbit/s. But, all of my PC applications are seeing ...
Aloha's user avatar
  • 197
2 votes
0 answers
1k views

How do I connect to an L2TP IPSec VPN in Ubuntu 16.04?

I have a clean install of Ubuntu 16.04 Linux hp 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Did an apt-get update and apt-get dist-upgrade I also ran:...
Andrew Arrow's user avatar
2 votes
0 answers
4k views

StrongSwan and Windows 10 & IOS

I'm been trying to build a small VPN server for while already. Its working well for iOS but I can't get Windows 10 to work correctly. I'm trying to do this using PSK rather than certificates due to ...
Dave Saunders's user avatar
2 votes
0 answers
774 views

Share a vpn connection from a virtual machine with windows 7 to the host

I need to connect to a Junos Pulse vpn and due configurations of the vpn this is possible only on windows and Mac the problem is I have Linux so I install virtualbox and virtual machine with Windows 7 ...
chejomolina's user avatar
2 votes
1 answer
4k views

Docker tunnel traffic on specific port via VPN

Not sure if this is docker specific or a general networking question. I'm running a Debian Jessie server with serveral docker containers. My understanding is that docker creates a virtual interface (...
fswings's user avatar
  • 893
2 votes
2 answers
3k views

configure iptables to block all(as much as possible) bittorrent traffic

good day all This is my current iptables setup # Generated by iptables-save v1.4.7 on Wed Apr 9 13:50:31 2014 *filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [0:0] :LOGDROP - [0:0] -...
user2699451's user avatar
2 votes
1 answer
504 views

Connected to vpn but can't connect to internet

I am using ubuntu 12.10 as a vps. And I am trying to configure a vps server on it. I can connect to the vpn but just can't get internet access. Maybe because I don't know how to write a iptables. ...
yong ho's user avatar
  • 121
2 votes
0 answers
1k views

Tunneling traffic through OpenVPN

Following the steps described here I've managed to configure both the VPN server and client(I can ping both ways). Their respective configuration files are: server: ;local a.b.c.d port 1194 ;proto ...
Sebi's user avatar
  • 1,134
2 votes
0 answers
1k views

How can I make Linux chain through 2 VPN connections?

I am looking to setup a WiFi access point for use in my Uni halls, except I have a problem and that is my uni require the use of a VPN. And I would like to mask my traffic by using another VPN. I'm ...
Joe Simpson's user avatar

15 30 50 per page
1
2 3 4 5 6