All Questions
Tagged with linux networking
4,763
questions
0
votes
0
answers
11
views
How do I configure 2 public IP addresses on Debian and enable NAT traversal on one?
I got 2 IP addresses from my hosting company, xx.xx.xx.109 and xx.xx.xx.110, both in the same subnet. The subnet mask is 255.255.255.192 and the gateway is xx.xx.xx.20
I have a Proxmox server and ...
0
votes
0
answers
10
views
How do you set up a system wide Proxy system for multiple SSH Dynamic Port (SOCKS5) Connections
What I'm trying to do is create a FoxyProxy type system wide proxy system for SSH Dynamic ports. My starting point is a OpenBSD Unix Based system, but has a lot of RedHat based additions. All of the ...
1
vote
0
answers
18
views
Hotspot connection SSH / Ping
I have a singleboard computer (Rock 4 SE) with a wifi that is hotspot capable. It is running linux Debian. I want to SSH into it with my laptop using the linux machines own wifi as a hotspot for ...
0
votes
0
answers
32
views
How to pull NMEA0183 traffic from a TCP-based "talker" and send it to a UDP-based listener?
I have one machine (192.168.11.100) that acts as an NMEA0183 "talker" via port 10110/TCP and I have another machine (let's say 192.168.11.110) that can only receive the NMEA strings it needs ...
0
votes
1
answer
11
views
Docker Compose network isolation mechanism in Linux
When I deploy Docker Compose services, I found that the Docker containers are all on one bridged linux segment; this much is expected. However, sometimes I have had problems connecting from one linux ...
0
votes
2
answers
43
views
One-to-one NAT on Windows 10
I have three computers:
Host A: Linux PC, with IP 192.168.1.50/24
Host B: Windows VM running on Host A, with IP 192.168.1.100/24 (host-only network) and 192.168.2.100 (vpn)
Host C: PC with any OS (...
0
votes
1
answer
49
views
Linux Docker compose container cannot ping another bridged Docker container
Overview
I need a Docker Compose zabbix host to ping a host on a containerlab docker network.
These two Docker networks run under a linux Docker host machine as below... This information comes from ...
0
votes
0
answers
46
views
No available connections in WSL2 + Ubuntu + KDE
I use:
Windows 10 Pro (ver. 22H2 19045.4529)
WSL2 (wsl --set-default-version 2)
Ubuntu 22.04
KDE Plasma 5.24.7 (sudo apt install kde-plasma-desktop)
Kernel 5.15.153.1-microsoft-standard-WSL2 (64-bit)
...
1
vote
0
answers
28
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 ...
0
votes
0
answers
12
views
Server sometimes not sending ACK in response to PSH, ACK
We've implemented a TCP server socket in C++ on a linux machine which is connected to another device, streaming data small packets at high rate (800 Hz). To do so without too much latency (which we ...
0
votes
1
answer
20
views
Basic kea-dhcp4 server setup failure, likely caused by wrong config file
Setup
Intended setup:
<router>----ethernet cable ---<linux PC>
Router IP: 192.168.1.1
(DHCP relay, DHCP Server IP: 192.168.1.2)
Linux PC (hosting the server) Static IP: 192.168.1.2
OS: ...
1
vote
1
answer
58
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
1
answer
82
views
WSL No Internet Connection (Ubuntu, Windows 11)
Clear Network/Internet Connection Problem:
ping google.com returns ping: google.com: Temporary failure in name resolution
pip install streamlit or other packages return network error message; same ...
0
votes
0
answers
51
views
Wifi randomly disconnects after some time & Never come back unless system restarted | Fedora 40
I recently purchased a new laptop and I am having a wifi disconnectivity issue in my lonovo machine (ThinkBook 16 G6 ABP with AMD processor). The wifi randomly disconnects after some time and never ...
0
votes
0
answers
27
views
How do i use IPTables to forward a port to a different local ip when using DMZ
My router software is garbage, it only allows forwarding certain ports, luckly i found out that DMZ works, i have a linux server, can i point DMZ to that linux server and just use it to forward ports ...
2
votes
1
answer
57
views
How to configure a VLAN as a part of a bridge on a Linux server?
I have my own private server on the Internet since years. At the moment it is running Linux 4.9.337. It serves as my router and as my WiFi access point and many more things.
On the machine I have 3 ...
0
votes
0
answers
16
views
Network Interfaces inexplicably dropping connection
I set up three machines as high-availability storage. I use two 10Gb Ethernet interfaces on each machine to create a fully connected network between the three of them and without using any switch. The ...
1
vote
0
answers
82
views
Wireguard server installed: works, but no connection from client
I have installed wireguard server several times and all times it did work, but client could not connect.
https://linuxiac.com/how-to-set-up-wireguard-vpn-with-docker/
and
https://www.linuxserver.io/...
0
votes
0
answers
41
views
mininet: Cannot find required executable (ref) controller
sudo mn --version
2.2.2
sudo mn --help
Usage: mn [options]
(type mn -h for details)
The mn utility creates Mininet network from the command line. It can create
parametrized topologies, invoke the ...
1
vote
0
answers
108
views
Problems with Ubuntu 23.10 on Asus Vivobook 16(X1605VA-MB957WS) [closed]
I'm using Ubuntu 23.10 on Asus Vivobook 16(X1605VA-MB957WS) and have the following problem:
The wifi card in the laptop Mediatek wifi card whose driver doesn't support the kernel of Ubuntu. So I don't ...
0
votes
0
answers
34
views
Is there a way to reserve bandwidth for ssh on linux / debian?
I ssh into my dev machine, and then start a download, for instance "ollama pull llama3"
This uses all of the available bandwidth for the network interface, which makes ssh unresponsive until ...
0
votes
0
answers
62
views
Systemd-resolved and ping
The question
Systemd-networkd succesfully requests an IP address for my computer and routes its traffic to and from the gateway as expected.
Systemd-resolved can correctly resolve FQDNs and IP ...
1
vote
0
answers
32
views
WIFI works, but wired connection does not on Linux
I have a simple network consisting of a internet modem/router supplied by my internet provider (Ziggo). This gives me WIFI and wired connections.
I also have a website (hosted somewhere else) that's ...
1
vote
2
answers
22
views
What is the purpose iproute2's nexthop object management utility?
I'm not sure how ip nexthop is used to affect the route taken by packets and its relationship with ip route and the nexthop parameter of ip route. Is there a standard way this is used within industry, ...
1
vote
0
answers
23
views
Is there anyway to disallow accessing local network devices through global IPv6 addresses in linux?
I realize that this question might sound kind of strange, but it is necessary for my situation as far as I can tell.
The root of it is that my ISP assigns IPv6 global addresses dynamically and ...
1
vote
0
answers
40
views
strange routing table entries
My Linux network device cannot be access outside my local network.
I checked the routing table, and found the following:
netstat -rn
Kernel IP routing table
Destination Gateway Genmask ...
0
votes
1
answer
105
views
How to resolve an asymmetric routing issue?
I have a network consisting of the following:
PfSense router with untagged network 10.1.0.0/23 and tagged VLAN 40 network of 10.1.40.0/24.
I have a wireless computer connected to the the 10.1.0.0 ...
0
votes
0
answers
81
views
Use the Windows PC as a middleware to access the restricted site
Assume my Windows PC has the ability to access the restricted.com site via a network adapter that only supports Windows. I want my other Linux PC to be able to access that site as well, but because ...
0
votes
0
answers
56
views
systemd-networkd gains ipv6 but not ipv4
hoping for some help debugging a systemd-networkd issue.
I have both systemd-networkd and wpa_supplicant.
I've enabled a [email protected] systemd unit that corresponds with an /etc/...
0
votes
0
answers
21
views
Ethernet devices on router cant ping or reach wireless devices
My homeserver pc is connected to router via ethernet and my wifi devices on the network cant reach it and they cant reach it. Wireless devices can contact each other and all devices can ping router ...
0
votes
0
answers
92
views
How to connect Linux to a WPA2-EAP-CCMP Wi-Fi network?
Summary: after having gone through tons of documentation pages, I still cannot connect my Debian to a WPA2-EAP-CCMP Wi-Fi
The NIC is correctly configured (driver-wise):
# iwconfig
wlx00e04c45ad46 ...
0
votes
0
answers
29
views
Docker container not recieving packets from specific port
So I have an instance in Oracle cloud, running OL7. In that instance I'm trying to setup some docker containers with multiple servers. These container should be reachable from the outside on different ...
2
votes
1
answer
202
views
How are `vti` and `xfrm` iproute2 interfaces supposed to be configured and used with xfrm states and policies?
XFRM states and policies enable configuring IPsec encryption without a virtual interface. The vti and xfrm interface types, however, I think make it possible to route traffic through a virtual ...
0
votes
0
answers
34
views
Wi-fi Multiband Router doesn't provide proper IP Adress to Linux
Recently my network provider changed my router to a "newer" one.
But I'm having issues to connect to the router from linux devices.
The new router has a technology that my network isn't ...
0
votes
1
answer
23
views
What is the difference/precedence of resolved.conf and a .network configuration?
There are two places where I can set up the DNS server for a systemd linux (static configuration):
in /etc/systemd/resolved.conf, in the [Resolve] section, a DNS= entry
in /etc/systemd/network/<...
0
votes
1
answer
68
views
Why doesn't ARP request over VXLAN network get response using simple two machine linux setup?
I am testing the native VXLAN functionality of iproute2 in linux network namespaces. The simulated setup involves 2 different namespaces with 1 bridge and 2 veth pairs.
The aim is to have a basic ...
0
votes
2
answers
47
views
VMware DHCP server (vmnet-dhcpd) rejects option "rfc3442-classless-static-routes"
I am trying to set up the VMware DCHP server to push a static route (192.168.248.0/24 -> 192.168.248.129) to DHCP clients (VMs) connected to a custom interface called vmnet14. I referred to this ...
2
votes
1
answer
614
views
How to explain sequences of FIN,ACK instead of FIN - FIN,ACK?
Context: newly installed Debian 12, I get a bunch of strange logs related to ssh:
root@square:~# journalctl -u ssh -f
May 07 11:13:00 yop-square sshd[766]: error: kex_exchange_identification: ...
0
votes
0
answers
52
views
NIC intermittently receiving many duplicate TCP ACKs?
I have been having intermittent spikes in response time with HTTP(S) traffic on WiFi that last varying amounts of time. (Or at the very least HTTP(S) traffic, I do not notice it with Spotify's audio ...
0
votes
1
answer
26
views
How does NetworkManager decide on default profile?
rg "Wired connection 1" /var/log/messages
1932:May 5 13:47:58 localhost NetworkManager[540]: <info> [1714884478.7331] settings: (enp0s3): created default wired connection 'Wired ...
0
votes
0
answers
25
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
46
views
How to prevent iptables NAT caused network jitter?
Background is as follows:
Currently, we have an OpenVPN tunnel that connecting from Point A to Point B (Point B has a public IP address), but if the internet route is suboptimal, the latency is quite ...
0
votes
0
answers
32
views
Why can I see many traffic forwarding on my machine
I'm working in a LAN, which is a cloud product. I have many Linux machines in this LAN. I deployed my whole web-service backend in this LAN.
Today, I executed tcpdump -i eth0 -nne -p on a machine, ...
0
votes
1
answer
68
views
Running soft AP and bridge mode on laptop for legacy connections, connection fails
Recently, I’ve resumed playing Mario Kart DS, an old (2005) Nintendo game available on the Nintendo DS console, including playing online. The online service has been closed by Nintendo for a long time ...
0
votes
0
answers
142
views
How to redirect requests to remote machine to localhost using nftables?
I have the following nftables configuration:
[root@localhost andrew]# nft list ruleset
table ip nat {
chain prerouting {
type nat hook prerouting priority dstnat; policy accept;
ip ...
0
votes
1
answer
26
views
Communication between 2 internal NICs when using ip tables to route internrt
My Setup:
In my home setup, I have 3 NICs one that is connected to the internet (enp1s0),
The other two forward internet access to local devices (enp2s0 & enp3s0).
PC1 is connected to enp2s0 with ...
0
votes
1
answer
103
views
Can't access internet after changing the router
I have a desktop running proxmox that I can ssh into. After moving houses and changing the router, I stopped being able to ssh into it. After connecting it to a monitor and keyboard to troubleshoot ...
0
votes
1
answer
72
views
Why do I observe an ICMP Destination Port Unreachable (Type 3, Code 3) when GRE tunneling with iproute2?
I am testing the native GRE tunneling functionality of iproute2 in linux network namespaces. The simulated setup involves 3 different namespaces with 2 bridges and 4 veth pairs.
Please see the section ...
0
votes
0
answers
57
views
Unable to Connect to VirtualBox Guest OS (Rocky Linux 8) from Host (Windows 11) Terminal and No Internet Connectivity
I am currently using Oracle VirtualBox
7 with Windows 11 as the host OS. Within VirtualBox, I have Rocky Linux 8 installed as a guest OS. Initially, I had configured the network settings to bridge ...
0
votes
0
answers
25
views
Why does traefik only work if containers are placed into the network traefik_default?
I've inherited some Docker host being used as reverse proxy for a public HTTPS entry-point, so that multiple different webapps can be hosted underneath the same HTTPS entry-point.
https://foo.example....