All Questions
345
questions
1
vote
0
answers
30
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
69
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
53
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
40
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
119
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
51
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
121
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
68
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
184
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
30
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
44
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
150
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
69
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
57
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
356
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
114
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
123
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
91
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
61
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
756
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
329
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
60
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
563
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
207
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
270
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
193
views
Port forwarding socks5 proxy across network namespaces
I've finally set up the netns veth openvpn connection that works, made overrides to systemd service files so openvpn depended on netns single shot service and tor of openvpn service. Tor works, at ...
0
votes
0
answers
165
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 ...