Skip to main content

All Questions

Tagged with
1 vote
2 answers
4k views

Share VPN Connection on Linux over Ethernet

I'd like to share a VPN connection on my Linux Mint host, with a guest connected directly via ethernet. This seems to be trivial on a Windows host. However the only methods I've seen on Linux are ...
NutcaseBackwater16's user avatar
0 votes
1 answer
411 views

Linux to Azure Site-to-Site topology

I'm trying to figure out the topology of a VPN I'm being asked to set up and I've very little experience in networks at all so apologises if I get lost in the weeds. I need to connect to a clients ...
Jason is a robot's user avatar
0 votes
1 answer
623 views

Raspberry PI WiFi AP with VPN

I want to make portable Raspberry PI 4 WiFi AP with VPN, so once I connect to AP all my traffic should go through VPN. The official Raspberry Pi documentation helped me to setup working WiFi access ...
Evgheni Calcutin's user avatar
0 votes
1 answer
5k views

IPv6-only WireGuard VPN without NAT

Goal I'm trying to set up a WireGuard VPN with IPv6 only through which I (a) want to route all traffic and (b) with a server that is accessible from the internet. Since I couldn't even get (a) to work,...
TobTobXX's user avatar
  • 103
0 votes
1 answer
1k views

How to completely disable internet access on Linux with the exception of select Docker containers?

I am trying to build a setup akin to a "Qubes OS Lite", but using Docker containers on Arch. There will be several end-user applications running in Docker (with the help of https://subuser....
Ruslan's user avatar
  • 111
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
4 votes
2 answers
7k views

How can I prevent wireguard from leaking traffic?

Using wireguard VPN with a self-hosted VPN server. I learned of this "leak" when visiting family. I happened to be seeding a movie in my torrent list. A single movie, not a particularly ...
InfoMiner's user avatar
2 votes
2 answers
6k views

How to use SSH and VPN in combination in single ssh command?

In my setup, first I need to connect to a VPN and then I am required to ssh into a server. Currently I do like this: openvpn myconfig.ovpn ssh myuser@myserver which makes all my network traffic go ...
Marc Kees's user avatar
  • 131
0 votes
0 answers
674 views

Debian with VPN and firewall blocking web traffic

I have a VPN (IKEv2) set up on a Debian VM. I'm trying create a kill switch to stop all traffic when the VPN goes down. I've followed the guidance of this post. It seems to work fairly well (torrent ...
furnaceX's user avatar
  • 111
1 vote
0 answers
1k views

Networking with local devices while using VPN

In my home network, I have Linux Mint 20.3 on my laptop and Android 11. They both use Wireless LAN created by my router. Sometimes when I switch on VPN on either of the device, then I am unable to ...
Porcupine's user avatar
  • 473
1 vote
1 answer
240 views

Strongswan & Windows client: connection freezes in a few minutes

On an AWS VPS, I installed Strongswan to use it as a VPN. It works fine with iPhone client. However, when I try to connect from a Windows client, the SA connection gets established successfully and ...
m. vokhm's user avatar
  • 186
0 votes
0 answers
450 views

Why is ssh timing out on systems in the same network?

I'm using ssh to connect my laptop to my workplace computer, the command I'm using is: ssh [email protected] The thing is, outside the workplace network, while using their vpn, it works perfectly, ...
Edups's user avatar
  • 1
0 votes
1 answer
66 views

Linux firewall policies not working as expected when connecting two VPNs

I have to VPNs joint together with an route: ip route add 10.6.0.0/24 via 10.6.1.2 All Servers on both networks are able to ping each other. However I cannot connect to a service from the client 10.6....
peer's user avatar
  • 123
0 votes
0 answers
245 views

IP Forwarding not working as intended

I have a Wireguard VPN configured on a Raspberry PI. All VPN peers have a 10.8.0.0/24 address and my home network is 192.168.1.0/24. I have setup the main gateway to route 10.8.0.0/24 through the ...
Jager's user avatar
  • 1
0 votes
0 answers
202 views

Access to FTP server tunnelled through two remote servers

I have a remote server, which has a VPN connection to a Raspberry running as a home server, connected to my local LAN. I can SSH into this with a tunnel through my remote server to wake up my desktop, ...
TemporaryName's user avatar
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
0 votes
1 answer
1k views

Create virtual network interface on host bridged from Wireguard namespace

I want to set up Wireguard in a way where I only route specific processes (like qBittorrent) through the tunnel, while other processes default to the physical interface. Since my VPN provider only ...
nixigaj's user avatar
1 vote
1 answer
3k views

Port forwarding using IPTABLES to vpn client

I have been struggling for almost half a year now and I read almost all of the internet's solutions but none have worked. The current solution which is also came from different articles is this: ...
Rexsovel Melgar's user avatar
1 vote
1 answer
4k views

Connection too slow using RPi 4 and Wireguard

I setup a local home VPN on a Raspberry Pi 4 Model B 2019 Quad Core (4GB of RAM) running Ubuntu 20.04 connected to my home router using ethernet. I used PiVPN with Pihole for the setup. I setup the ...
Pablo's user avatar
  • 111
1 vote
0 answers
222 views

Ubuntu 20 GDM (login screen) freezes after disconnecting from cisco anyconnect VPN

I use cisco anyconnect on my work laptop (Ubuntu 20) to connect to the network at work. If I lock my screen before connecting to the VPN, I can unlock it and login without issue. If I am connected to ...
samjarvis's user avatar
0 votes
1 answer
508 views

How to route VPN traffic through two gateways?

I would like to be able to establish a VPN tunnel from the internet to my OpenVPN server on address 192.168.1.45. My home network setup is a bit complex since I am using a Raspberry pi as a gateway to ...
Zarp's user avatar
  • 1
0 votes
2 answers
435 views

My vpn is connected but i cannot browse internet

i have problem with vpn recently i can connect with vpn but not with internet, ping shows up to 200ms more. mtr -rw api.protonvpn.ch Start: 2021-11-20T16:49:27+0700 HOST: nonely ...
DotSlash's user avatar
0 votes
1 answer
3k views

VPN server on Debian 10 using L2TP with IPSEC PSK not working

I am trying to make a VPN server on Debian 10 server that would enable Windows 10 and Android clients to connect using L2TP over IPSEC with pre-shared key (PSK). The same client(s) work successfully ...
mt42's user avatar
  • 186
0 votes
0 answers
5k views

How to install ProtonVpn on Ubuntu 20.04?

The initial steps of installation 1. Get the DEB setup package for the ProtonVPN repository Download the ProtonVPN DEB package 2. Install the ProtonVPN repo Double-click downloaded DEB package to ...
user1604338's user avatar
0 votes
1 answer
1k views

Route host traffic through WSL

I am using WSL2 instead of a kali vm to do some hacktheboxes. To do this, I use openvpn in the kali machine. The problem is that I want my windows machine to also route through the vpn. Is there a way ...
JavaNoob's user avatar
0 votes
0 answers
45 views

Routing Private Networks over VPN

I have a private network in my workplace that I would like to connect to through my laptop. The network 192.168.26.0 is added to my office desktop through an IP Alias. I am connecting from my laptop ...
Jalal Mostafa's user avatar
1 vote
1 answer
2k views

Keep the original IP after forwarding through iptables

EDIT: I've made a post on Medium about how I did these things: Link I've been trying to forward trafic from my VPS with public IP to my home server (behind CGNAT) using wireguard VPN. I want to ...
RPochyly4's user avatar
0 votes
1 answer
1k views

Overriding OpenVPN's DNS Settings to Dorm Network DNS Settings

I use OpenVPN smoothly with Windows 10 behind my dorm network's http proxy. When I use Linux Mint with same client.ovpn, I can Auth successfully.But when I inspect traffic with wireshark, I see that ...
Baryon Bozon's user avatar
1 vote
0 answers
42 views

VPN to VPN gateway

So I have two computers. We'll call them Bob and Alice. Bob is a client on two VPN, one my own private, the other a publicly available one. Alice hosts a private VPN and a DHCP server. Now we have a ...
anonasksthsi420'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

15 30 50 per page
1 2
3
4 5
12