Questions tagged [networking]
Managing and using network connectivity on a unix system
7,616
questions
0
votes
1
answer
31
views
Unable to block traffic with iptables
Router1 is gateway for another router(2).
Router1 has set 10.0.0.1/8 lan network to which router2 is attached. 10.0.0.1 is obviously the bridge ip address of lan as well as assigned gateway ip for ...
2
votes
1
answer
23
views
In which order is routing of packets defined if VRF and ip rules are defined?
On a system are VRFs, multiple routing tables and rules defined. A local service (SSH) is not reachable via one interface (WAN interface that is in a VRF) while it is reachable from other interfaces. ...
0
votes
1
answer
40
views
Router configuration. Sharing the same network over two interfaces
I have a router, R, and two hosts, A and B. They are all running Ubuntu 22.04.
I have both physical access and necessary permissions to all machines involved in the setup and I would like to ssh from ...
0
votes
0
answers
14
views
Winexe error NT_STATUS_LOGON_FAILURE executing script from Linux to Windows Server 2012
I've installed winexe on my linux machine. I want to use it to execute some script on a Windows Servre 2012. It doesn't work, the error is NT_STATUS_LOGON_FAILURE.
I've followed this guide to install ...
0
votes
0
answers
10
views
igmpproxy not routing SSDP between interfaces
I have hostapd running on two wireless devices in isolated and bridged mode: wlp1s0 is behind the bridge wan, and wlp5s0 is behind the bridge iot. The exact configuration for each bridge is the one ...
0
votes
0
answers
12
views
What exactly does a sk_buff struct store?
I am beginning to work with BPF programs for implementing some networking features in kernel and one of the confusions that I have is - what exactly goes into the sk_buff struct?
While on the receive ...
0
votes
0
answers
14
views
NFS mount fails on kernel boot but not bootloader
I'm trying to network boot a Beaglebone Black (rev C3) using TFTP and NFS, the network connection is provided via the serial cable. I'm using U-boot version v2018.05 with am335x_boneblack_defconfig. I'...
1
vote
0
answers
28
views
Create WiFi 6(E) hotspot / access point
Is there a way to create a WiFi 6(E) hotspot (or AccessPoint) in Ubuntu (or Linux in general).
I was previously using nmcli but it only supports a and bg but because I use an Intel AX210 I would like ...
1
vote
0
answers
59
views
KVM vm network performance is super slow compared to host
I am running a KVM Windows 11 VM guest with an arch linux host. I have tried across multiple windows and linux guests and the network performance is the same across the guests, so this is not a guest ...
-1
votes
0
answers
20
views
What do I need to do with/in/for virt-manager so my VM gets an IP from my router?
I have virt-manager up and running on openSUSE Tumbleweed. I can create VMs.
I can't figure out what I need to do so my VM can get an IP from my router so my VM is accessible from my LAN.
When I read ...
0
votes
0
answers
13
views
iwd not reporting virtual devices
Using iw I've created a virtual interface called wlan1.
iw dev wlan0 interface add wlan1 type __ap
This leaves me with the following two interfaces:
~> iw dev
phy#0
Interface wlan1
...
0
votes
0
answers
14
views
Getting a Huawei E3327 USB 4G modem to work with Raspberry Pi 4 running DietPi (Debian)
I want a Huawei E3327 to work as a fallback on a Raspberry Pi 4B.
The modem shows constant cyan light, which means that there es a 4G connection established (I previously configured APN using a ...
-2
votes
2
answers
28
views
Connecting to network via another pc. Without requiring credentials
My Question is regarding this comment.
I read about bridge on wikipedia and I understood that IT just extends the network. Does it mean that, connected 2nd computer will need credentials to access the ...
0
votes
0
answers
24
views
Only able to fix rclone certificate error over ethernet (it won't work over wifi) Why?
rclone will run fine for months at a time. The command I run most often is:
rclone sync {{path/to/file_or_directory}} {{remote_name}}:{{path/to/directory}}
Then - seemingly out of nowhere - I run my ...
1
vote
0
answers
52
views
TCP/IP client-server slow communication
I made some network application.
It is a client-server solution using the TCP/IP protocol.
Clients connect to the server.
They make several connections every second.
Communication consists of units of ...
0
votes
0
answers
14
views
Parrot OS Wi-Fi connectivity issues
I’ve just installed parrot 5.3 on my laptop and am having issues connecting to Wi-Fi. The SSID for my network shows up and prompts me for the password. I enter the correct password, however it will ...
0
votes
0
answers
16
views
How can I make my routers DHCP server issue a IP so my QEmu VM can be accessed anywhere from the network?
I have an Ubuntu 20.04 machine running Docker and LXD. Therfore it has a Docker0 bridge and a LXDBR0 bridge.
I need to connect a QEMU VM (vManage) to my local network so I can access it from any ...
0
votes
0
answers
35
views
turning an embedded linux system into a router LAN/WLAN/WWAN
I am attempting to establish communication among a network of embedded Linux devices over a small local network. One of the devices, serving as the DHCP server, should have an interface with the ...
1
vote
0
answers
35
views
Can tun packets be forwarded?
I experimented with code from https://blog.oddbit.com/post/2023-02-14-whos-got-the-packet/
Here is my setup:
VM A (eth1: 10.223.0.2) ================> VM B (eth0: 10.23.56.200)
Reason for making &...
0
votes
0
answers
6
views
Freezing Issue Related to Connectivity
I'm running Kali on a VirtualBox machine. I send a TPLINK USB wi-fi adapter through to the VM, and when connected it works pretty much as expected. However, sometimes the Wi-Fi will randomyl ...
0
votes
1
answer
26
views
Issue with network initialization on headless Debian 11 server with USB NIC
edit
What I did is the following (hoping it will not bite me in the bottom):
created an restart_network.sh in my /root dir. In it:
#!/bin/bash
while ! (grep -q "ttl" <<< "$(...
0
votes
1
answer
22
views
Getting IPv6 packages when setting a newly created TAP device up
I'm trying to learn how to TCP works by creating a TCP/IP stack, and as the title says, I'm programmatically creating a TAP device in Rust as follows
pub struct Tap {
fd: i32,
}
#[repr(C)]
struct ...
2
votes
1
answer
61
views
Why can I capture all incoming packet even the promiscuous mode is not enabled?
I use the command below to capture the bypass packet on interface ens160 :
tcpdump -i ens160 -w test.pcap
During this time, I use commands below to check if the promiscuous mode is enabled on ens160 :...
0
votes
0
answers
12
views
Connecting to local Linux server from iOS through USB only
What I want to achieve
I have a VNC server running on Linux laptop and I want to connect to it from my old iPad 3 running iOS 9 (kinda a second screen). The problem is that it can't connect to WiFi at ...
0
votes
0
answers
58
views
Linux bridge and vlan configuration with Qemu/Libvirt VM
I am trying to forward traffic from my Qemu VMs to my pfSense VM with the help of vlan tagging.
I know that libvirt has no direct support for vlan traffic in conjunction with Linux bridges which is ...
0
votes
1
answer
30
views
Wine http port not responding (Multi-port application)
we have a long term problem with our wine-docker game server. The Game is running fine but it offers a remote client on a http port (8080) which does not respond. I thought maybe someone here who is ...
1
vote
1
answer
17
views
Having trouble with TRON 2.0 WAN multiplayer on Proton
So, I'm trying to do WAN multiplayer in TRON 2.0 (Windows-only game released decades ago and is now on Steam), but I can't see any servers (listed on GameSpy), and my friend can't connect to me with ...
-1
votes
1
answer
50
views
Why is rsync/scp slow from one server but fast from another?
I have 300 GB of large files located in server A. I am at home trying to copy those files, and both scp and rsync are painfully slow (80 KB/s or less).
I also have access to another server B. I can ...
0
votes
1
answer
42
views
OpenVPN Error: Connection activation failed: Could not find source connection
I am using Debian on a VPS and now I need to connect it to my university vpn using OpenVPN. I have .ovpn file imported and I can see the connection in nmcli c. But when I issue nmcli c up myvpn I get ...
0
votes
0
answers
21
views
tc filter action tunnel_key unset to terminate a GENEVE UDP tunnel
I want to terminate a GENEVE UDP tunnel coming from an AWS Gateway load balancer which is mirroring traffic. The idea is to decap the packet into its original form.
sudo tc qdisc add dev eth0 handle ...
0
votes
0
answers
17
views
Can no longer ping containers after setting TBF qdisc on Docker0
I am trying to use the tc command to manipulate traffic on the docker0 interface.
I run the commands
tc qdisc del dev docker0 root
tc qdisc add dev docker0 root handle 1: tbf rate 100mbps burst 1600 ...
1
vote
2
answers
34
views
Debian wifi adapter unrecognized after install network-manager
When I first installed debian I used wpa_supplicant and dhclient to connect to my wifi which so far has worked great, but now I installed network-manager (nmcli) which right away when it finished ...
1
vote
0
answers
34
views
tc filter - error talking to the kernel
I am trying to add a tc flower filter for the geneve protocol and I am getting this error:
% sudo tc filter add dev gnv0 protocol ip parent ffff: \
flower geneve_opts 0108:01:020000000000000000/...
0
votes
0
answers
35
views
PiHole running in docker cannot reply IPv6 connections from ULA address
After reading few guides on how to setup PiHole with docker and IPv6 I tried to do it in my network. First things first, my ISP provides me with a Prefix Delegation which is then used to provide ...
1
vote
1
answer
59
views
How to configure port forwarding with nftables for a Minecraft server on Raspberry Pi?
Since I'm using a transparent proxy service, I use a raspberry pi as my home router. Its OS is plain Raspbian. Now I'm setting up a Minecraft server on 192.168.2.28, and am exposing it to WAN using ...
0
votes
0
answers
31
views
Mwan3 replacement on debian
I have just moved from openwrt to debian 11 on my x86 system for network management because i need some debian's stuffs. I cannot find out a replacement for mwan3 in load balancing my pppoes. Can ...
1
vote
0
answers
9
views
How can I tell iwd to prefer a network over another?
I use iwd as wireless deamon, and it automatically connects to available networks for which I've inserted the password in the past.
How can I instruct it to prefer a SSID over another when more than ...
1
vote
1
answer
31
views
ss or ip equivalent to netstat -gn to show multicast memberships?
Is there a modern Linux tool that will show the equivalent of netstat -gn to show multicast group memberships? This old command shows output like this:
IPv6/IPv4 Group Memberships
Interface ...
0
votes
0
answers
7
views
Macvlan first connection delay?
I have a docker container which uses the macvlan network type with a static IP (10.0.0.17). Inside the container I setup another macvlan + macvtap like this:
ip link add link eth0 vlan type macvlan ...
0
votes
1
answer
57
views
Block every website but one specific one
I want to set up some laptops for a contest. For that contest, the users should only be allowed to visit one specific website.
Are there good tools on Linux to accomplish that.
Ideally, they should ...
0
votes
1
answer
48
views
gpg cannot resove/connect to keyserver
Environment
OS is Artix Linux 6.0.11
GPG is 2.2.40
libcrypt is 1.10.2
keyserver is any (ubuntu , sks, mit, etc.)
Problem
I wanted to update my system via pacman -Syu and needed to import a key by ...
0
votes
0
answers
17
views
Behaviour of networking after activating ip forwarding
Lets say I have two NICs in my computer. If I do something like sysctl -w net.ipv4.ip_forward=1 does the network stack start immediatelly forwarding packets from one NIC to the other NIC? Like kind of ...
1
vote
1
answer
76
views
How to completely disable network interfaces in Ubuntu 16.04
On my Ubuntu 16.04 server, I need to disable the onboard NIC for troubleshooting before upgrading to 22.04. It's important that the entire NIC no longer shows up as a network controller in my device ...
0
votes
0
answers
34
views
Redirect specific requests to a specific interface in linux
I have two networking interfaces on my Linux machine, eth0 and eth1.
eth0 is the default interface that some addresses are blocked on this interface.
How can I redirect the requests to blocked ...
1
vote
0
answers
57
views
Is there way to print IPv6 address selection precedence in command line?
I can print address' label via ip addrlabel and override label and precedence in /etc/gai.conf, but how to print current precedence in command line?
In https://man7.org/linux/man-pages/man8/ip-...
0
votes
0
answers
31
views
Cloud-Init systemd-networkd bridge configuration incomplete/incorrect
When using Cloud-Init on ArchLinux, which uses systemd-networkd to configure network interfaces, for bridge interfaces, the configuration files generated are incomplete/incorrect. After a very long ...
0
votes
0
answers
32
views
Uplink-less Bridge with systemd-networkd
I am trying to configure several Linux bridges, all without physical uplinks, for use as isolated virtual networks with KVM/QEMU. I am running Archlinux, which uses systemd-networkd to configure ...
0
votes
0
answers
23
views
Impairing ingress traffic with TC on Docker without using IFB
my understanding of Linux networking is rudimentary, but I'm hoping someone can at least point me in the right direction.
A common technique for impairing ingress traffic with Linux Traffic Control is ...
0
votes
1
answer
27
views
Enable NAT with TCPMSS using UFW
I could enable NAT using UFW with following configuration.
*nat
:POSTROUTING ACCEPT [0:0]
-A POSTROUTING -s 192.168.141.0/24 -o ens192 -j MASQUERADE
COMMIT
If I want to enable TCPMSS, I have to run ...
0
votes
2
answers
49
views
No wireless network option / network hardware is not working properly on Debian "bullseye" stable
I have a fresh install of Debian "bullseye" stable but I am unable to connect to the internet wirelessly. As you can see in my settings under "Network", "wireless" is not ...