All Questions
348
questions
0
votes
0
answers
13
views
WANem Emulator and two VM hosts configuration
enter image description here
The below are the configurations I made ,
`
WANEM IP - 192.168.1.111
255.255.255.0
Client
Windows IP - 192.168.1.10
255.255.255.0
Default gateway - 192.168.1.111
It is a ...
0
votes
0
answers
19
views
Allowing use of nebula mesh network and commercial VPN simultaneously (Linux -- Ubuntu 22)?
I'm attempting to configure a server that can access the web over VPN (specifically Mullvad VPN) while simultaneously allowing access to other nodes on a nebula mesh network.
I've made some decent ...
0
votes
1
answer
18
views
fail2ban iptables rule has no effect for SoftEther VPN ... unless sshd rule is place
I am completely perplexed as to why this doesn't work.
This is my bare iptables ruleset:
# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain ...
0
votes
0
answers
21
views
Chaining two WireGuard interfaces
I have an Ubuntu VPS running WireGuard server (set up with algo). I connect this server to another VPN (Hide.me).
I want clients of my VPN to have IP of Hide.me VPN, but clients of my VPN lose the ...
1
vote
0
answers
37
views
Linux - Preserve client IP Addresses when connecting to game server over wireguard VPN tunnel from VPS
My question is almost perfectly summarised here:
Preserve connecting clients IP address through an OpenVPN tunnel
And the solution provided in that post hints at what I need to do, and have been ...
1
vote
1
answer
76
views
How can I setup FIREWALLD with IPSEC (StrongSwan) Site-to-Site to make PING work on Debian 12?
I have 3 nodes with public and local IP address, each:
Node A: edge router #1 (10.41.1.0/24)
Node B: edge router #2 (10.48.2.0/24)
Node C: VMS with Debian 12, docker containers and firewalld (ex. 172....
0
votes
0
answers
68
views
DockOvpn: TLS key negotiation timeout
I am running alekslitvinenk/openvpn (aka "DockOvpn") with the following docker-compose.yaml:
version: '3'
volumes:
dockovpn:
networks:
frontend:
services:
dockovpn:
...
0
votes
0
answers
42
views
How can i setup a proxy to redirect traffic to VPN
For work i need 2 use 2 differents VPN to access 2 differents networks.
Switching beetween VPN each time I need to one or the other context is very painfull because of double factor auth etc...
I can ...
0
votes
0
answers
120
views
How to Split Tunnel Specific Server Traffic Through a VPN
I intend on hosting a number of services on a single NAS-like device and so was wondering if there were an easy way to set up a reliable VPN connection for only certain services while leaving others ...
0
votes
1
answer
53
views
Routing a cgroup to a different table and back to the main table
I want to have the following setup. There are two interfaces: wlan0 and wg0. wlan0 is the default, wg0 is a wireguard interface, configured manually.
By default traffic goes to wlan0. But if a process ...
0
votes
1
answer
131
views
UFW settings for a VPN on a Rasperry Pi
I have recently set up a headless Rasperry Pi, using Raspberry Pi OS Lite.
I set up Wireguard and some UFW rules.
The outcome that I would like to have:
all network traffic is blocked except for ...
0
votes
0
answers
41
views
Unable to Ping Remote Database Server from Home WiFi Network
I am encountering a network connectivity issue when attempting to ping a remote database server from my home WiFi network. The server, identified by the IP address 192.168.100.91, is accessible via a ...
0
votes
0
answers
75
views
Debian how to route traffic from/to a web app through eth0 instead of tun0 (VPN)
I have a web app which calls some public APIs which block VPN connection. I would like to route all traffic coming/going to the web app through eth0 and not through the default tun0 which is the ...
0
votes
1
answer
216
views
Tunneling all TCP/UDP traffic through one port
My PC doesn't have a public IP, so I want to use a VPN with support for port forwarding for the following applications:
Remote access software
Home Assistant
SSH
LM Studio
A1111 (gradio)
... and ...
0
votes
0
answers
32
views
Network Namespaces security issues
So I created a network namespace for running a vpn only for selected applications, let's call it "myvpn".
I understand I need root to set a different namespace, which by default will start ...
0
votes
0
answers
52
views
Route all TCP traffic from port to another host:port
I have a wireguard config, creating a VPN between a remote server (10.0.1.1) and my local machine (10.0.1.2), so that the server can reach the local machine and vice versa.
I'd like the server to ...
0
votes
0
answers
157
views
Connect to VPN working inside WSL from Windows environment
I have a remote VPN set up, to which I can only connect to via Linux machines. As of now, I do have access from WSL to this VPN, meaning I can ping and interact with the hardware that is only visible ...
0
votes
0
answers
70
views
No internet connection after setuping OpenConnect server on ArchLinux
ip tuntap add mode tun dev vpn0
ip addr add 192.168.2.2/24 dev vpn0
# systemctl restart ocserv
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 8443 -j ACCEPT
iptables -...
0
votes
0
answers
60
views
VPN connected but routing tables unchanged
I'm trying to understand how does a VPN I'm using works.
In this case it's nordvpn, but the question should be vendor neutral focusing on the underlying Linux mechanisms and tools to check what's up ...
0
votes
0
answers
366
views
SSH Connection Timed Out - TryHackMe Linux Walkthrough
I am a beginner trying to learn Linux from TryHackMe's Linux Fundamentals. I ran out of time on the attack box and have been trying to connect to my active machine using a VPN over OpenVPN Connect.
...
0
votes
0
answers
119
views
How can i change Policy Modes from Exclude mode to Include mode in cloudflare warp-cli?
I'm using Linux server. How can I switch from Exclude mode to Include mode in warp-cli? If this functionality isn't available in warp-cli, can I accomplish this using iptables?
2
votes
0
answers
124
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 ...
0
votes
1
answer
93
views
Inexplicable performance degradation on Linux VPN gateway
I run a personal VPN network with Wireguard for my family and me. It started some years ago out of curiosity, but then became quite useful and started to grow. I created an overview of it, it's linked ...
0
votes
1
answer
64
views
Can reach VPN peer only after ping from this peer
Problem
I have two linux PCs connected to a local network and to a WireGuard VPN network. (let's say VPN subnet = 10.66.66.0/24 and PC A=10.66.66.9 and PC B=10.66.66.10).
The problem is that I can't ...
0
votes
1
answer
828
views
Make server not to use VPN as a default gateway
I have a local server connected to a remote WireGuard VPN. The server routes all its traffic through the VPN (wg0 interface), but I need it to use the VPN only to communicate with other members of the ...
0
votes
1
answer
349
views
How to avoid integrated KDE vpn to redirect all traffic through the VPN?
I just setup a VPN server with OpenVPN. It seems to work so far.
I created a client configuration and keys on my Debian/KDE computer and when I start the VPN client through command-line:
sudo openvpn -...
0
votes
0
answers
61
views
Single network interface with multiple IPs
I'd like to implement multiple VPN protocol tunnels on the same virtual interface.
My VPN tunnel is implemented on top of UDP connection so basically I can use this connection to send packets to ...
0
votes
1
answer
593
views
route all traffic through vpn, on the fly
I just installed openvpn on my server and my client. It seems to work fine.
Now, I would like to route all the traffic from my client through my VPN server, over internet, on demand, just in some ...
0
votes
0
answers
210
views
Mullvad VPN WireGuard several interfaces on the same machine
Not sure what I am trying to do is even possible. I am trying to create a web crawler with about 20 threads and I am trying to route each thread requests (using python requests) through a different ...
0
votes
1
answer
275
views
Implement pmtu discovery on udp connection that serves as vpn tunnel
I've created a socket programmatically which is bound to virtual interface, and receive all outgoing traffic due to default routing table rule setting.
Once outgoing packet arrive, it will be ...
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 ...
0
votes
1
answer
95
views
How do Ubuntu-server network interfaces work?
Yesterday I installed "Cockpit" on my Ubuntu-Server 23.04 (which is running on a Raspberry 4) so I can manage it from my Windows 10 PC. So far the Management interface is quite clear and ...
0
votes
0
answers
169
views
OpenVPN multihop over tun0 device between two servers
What I have is
A in my region, and B in another region (both servers are CentOS 7).
The reason of this question is
I can connect from A to B and from B to A, but the final goal is to have internet via ...
1
vote
1
answer
512
views
Allowing world access to a Raspberry PI behind a home router
I have a Raspberry Pi connected to a number of sensors in my house. It has a random IP address, and for a number of reasons I can't change that. At the moment, to connect to it I make it send an email ...
0
votes
0
answers
356
views
How to host a game-server through a VPN Linux?
I have an ubuntu server home server set up on proxmox and I want my home ip address to be forwarded by vpn.
What I mean here is that, for example, to connect to a server, e.g. minecraft, VPN address ...
1
vote
1
answer
300
views
VPN changes IP Address/Geo Location successfully however the content blocking applied by my ISP persists only on Fedora Linux distribution
My ISP blocks many different websites. To bypass this I use a VPN service.
The VPN service works perfectly on other Linux distributions that I have tried like Ubuntu and openSUSE however it does not ...
0
votes
1
answer
209
views
Outgoing UDP packets don't reach the host from VM after certain time
I am trying to connect to my WireGuard VPN server that is inside a VirtualBox VM. I normally can connect without any problem. But when there isn't any connectivity for a certain time, I can't connect ...
0
votes
0
answers
180
views
Options error: Unrecognized option or missing parameter(s) in /etc/openvpn/server.conf:17: ecdh-curve (2.3.10)
I'm getting line no 17 which is ecdh-curve prime256v1 can anyone help me to solve this problem. Thanks in advance
Options error: Unrecognized option or missing parameter(s) in /etc/openvpn/server....
1
vote
0
answers
704
views
"SIGUSR1[soft,connection-reset] received" when connecting vpn
I followed this tutorial : https://fedoraproject.org/wiki/OpenVPN
Then I followed this tutorial : https://gist.github.com/gangsta/679e224900003f51ec184b7b8e56968b
This is the conf file :
#Template ...
0
votes
0
answers
521
views
How to remove a vpn interface upon disconnection?
It used to work before (in Ubuntu 18.04): I connect to a vpn (openconnect) through the GUI (KDE network manager), it creates a new vpn0 interface, and when I disconnect from the vpn, the interface ...
1
vote
0
answers
1k
views
WireGuard VPS dual network interface to allow all traffic to two different locations (peers)
I have two Raspberry Pi's in two different locations (Germany & France), which I want to use as VPN servers to access internet from different devices.
To avoid port forwarding from my local ...
1
vote
1
answer
50
views
Is it possible to connect to one VPN by temporary connecting to the other (due to the regional blockage of the first one)?
I have access to 2 VPN services: A via application — paid and unlimited and B via openvpn file (ovpn) — free but limited. The problem is that ISP blocks A but not B (well, some ovpn files do work and ...
0
votes
2
answers
202
views
Is it safe to have public ip server with access to local network?
I have server (vpn) with public IP. This server also connected to the local network and provides access to this network for users connected via openvpn (openvpn hosted on this server). Let's say this ...
0
votes
0
answers
58
views
VPN and internet access on Linux
My aim is to connect through a VPN via L2TP to my 4G router at home to exploit an SSH connection. I have linux KDE installed. The connection is established correctly but most of the most heavy ...
1
vote
0
answers
302
views
Router/Proxy: What to use to force all traffic from one specific device through VPN?
I've been googling for a solution to my case and tried some stuff, but the solutions I found didn't fit very well. Also, if this is not the correct place to ask, please let me know.
Currently, I have ...
0
votes
2
answers
6k
views
Wireguard isn't working, 'wg0' doesn't exist
I've got an issue with wireguard. I have a debian-based VPS, and a Manjaro client.
Here is my /etc/wireguard/wg0.conf of a server:
[Interface]
Address = 10.0.0.1/24
ListenPort = 194
PrivateKey = <...
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, ...
1
vote
1
answer
790
views
Ip route : access ip on different interface trough Wireguard VPN
I would like to access from my Windows PC a KNX interface that is wired to a Linux PC trought my wireguard VPN but the interface is on a different subnet. The KNX interface use UDP protocol on port ...
3
votes
3
answers
2k
views
IPTables how to nat 10.8.a.b to 10.0.a.b?
The problem -- Translate 10.8.a.b to 10.0.a.b ?
I have a VPN setup to a bastion host. I'm attempting to map 10.8.0.0/17 into 10.0.0.0/17 so that the IP address 10.8.1.1 gets mapped to 10.0.1.1 in my ...
0
votes
0
answers
164
views
How do I allow users to connect to private IP through static public IP address?
Before ignoring, please just read through. None of the previously asked questions helped.
I have 3 VMs set up in a local data center that are running the following OS:
VM1: Red Hat Enterprise Linux 9
...