Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

New answers tagged

0 votes

How to port forward on firewalld to port listening on localhost?

I have the same problem. I need to redirect traffic from inner going to 9443 port to 127.0.0.1:9443. But everythig I doesn't wokr. This rule "firewall-cmd --permanent --direct --add-rule ipv4 nat ...
user avatar
0 votes

should a virtual interface clash with keepalived?

Keepalived has a builtin feature of adding a label to each VIP after the device. The same label value can be used for multiple VIPs if needed: virtual_ipaddress { 192.168.200.18/24 dev eth2 label ...
user avatar
1 vote

Busybox, netstat, no -p

Here's a complete awk script for it. It's ugly but it works. { cat /proc/net/tcp; lsof ; } | awk 'function addr(a) { return sprintf("%d.%d.%d.%d:%d", "0x" substr(a, 1, 2), &...
user avatar
0 votes

Setting cgroup limits to all users in network

Turns out all this is not needed. The groups created in the FreeIPA server are synchronized across clients without group merging. I created a group on the server portal and added users to it. Then, on ...
user avatar
0 votes
Accepted

Ubuntu 22.04 - Intel X550 - Run a pre-up command to set ethtool network interface parameters at startup

Since you are using Ubuntu Server 22.04 I am going to guess you are using netplan with systemd-networkd as the "renderer". You could try putting a script in /etc/networkd-dispatcher/...
user avatar
0 votes

CentOS 7 startup error - unregistered net_device

This error message seems to indicate that this card requires 57 interrupts to function at its greatest performance. This is probably related to the PCI bus installed on the mainboard. In particular ...
user avatar
  • 22.6k
0 votes

UDP broadcast with nc not received (Ubuntu)

It was the firewall. I had ufw enabled with the default setting to block everything. And for some reason, it allowed directed udp but was blocking broadcast udp. After doing sudo ufw allow 65001/udp ...
user avatar
0 votes

Ubuntu 22.04 - Intel X550 - Run a pre-up command to set ethtool network interface parameters at startup

The recent versions of ubuntu use the netplan network configuration tool. Unfortunately it lacks the setting of the advertising of speed modes. So you can switch to usage of networkd directly without ...
user avatar
0 votes

Nginx not listening at local address

There is some information missing to be sure what solves you problem. My guess is that you need the set the "default server" to get something from localhost. The servername option tells ...
user avatar
  • 316
0 votes
Accepted

Firewall / Ip rule issues between two hosts via vSwitch

I have managed to resolve this, using the following two rules on the QEMU host firewall-cmd --permanent --direct --add-rule ipv4 filter FORWARD 0 -o local -i virbr0 -j ACCEPT firewall-cmd --permanent ...
user avatar

Top 50 recent answers are included