Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
51 views

iptables: NAT bridge traffic

Background I have a linux machine with bridge interfaces as shown below... ---{prenat}--> ---{postnat}--> source: 172.25.0.3 source: 192.0.2.1 +---------------...
mc1's user avatar
  • 11
0 votes
0 answers
60 views

Docker container traffic through host iptables tproxy

Problem Docker container network does not go through the host TPROXY-configured tunnel. Setup I have a TPROXY-supported proxy server running on my machine (listening on 127.0.0.1:8080). I configured ...
xeptore's user avatar
2 votes
1 answer
4k views

What exactly does the br_netfilter kernel module control?

I'm trying to get a clear understanding of what exactly the br_netfilter Linux kernel module does (I know it has something to do with networking). My simple question I'm posing here is as follows: ...
user1015214's user avatar
2 votes
1 answer
213 views

nftables does not limit ipv6 traffic in rate limit rule in bridge and ip6 family

I have a wifi router where the wlan0 interface (radio interface) is bridged with the ethernet interface eth0 (connected to another server acting as DHCP) / # brctl show br0 bridge name bridge id ...
Haswell's user avatar
  • 141
0 votes
0 answers
371 views

Problem using Iptables for filtering traffic on a network interface which is a bridge port, on a specific tcp port

I am using iptables as firewall to filter traffic. I want to block traffic on a network interface on a certain tcp port (I'm testing on port 22). The network interface is a bridge port, so I'm using ...
foadk's user avatar
  • 1
1 vote
1 answer
792 views

packets are filtered via bridge using namespaced network card

trying to make local networking experiment, and unable to ping from within the namespaced network. I'm using Fedora 37. Linux dmitry-desktop 6.1.18-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 11 16:...
DmitrySemenov's user avatar
0 votes
1 answer
3k views

Virtual router in homelab Proxmox VM: how to send requests from main/home network to VM behind virtual router?

I have a homelab setup like this (diagram is also available here): One thing to note here is, my Proxmox host just has 1 NIC for ethernet cable. It has WiFi too but I decided not to use it because it ...
Zulhilmi Zainudin's user avatar
2 votes
1 answer
5k views

Setting IP forwarding with a bridge

I'm familiar with how to set IP forwarding between two interfaces, and it always worked. Now I have a different scenario where I want to set IP forwarding from a local network bridge to an output ...
Mellowcandle's user avatar
0 votes
0 answers
276 views

How do I bridge an ethernet device to the wireless network interface from within a VirtualBox Ubuntu 20.04 LTS VM?

I have a VirtualBox Ubuntu VM, the "VM", set up on my primary Windows machine, using bridged VirtualBox connections to the wireless interface and the ethernet port (i.e. Ethernet <-> ...
UrsTemp's user avatar
0 votes
0 answers
460 views

IPtables DNAT with linux bridges (no interface addresses)

I've been doing some experimenting with iptables and bridges, and this scenario is just in a lab, but I've encountered some interesting functionality and would like some explanation as to what is ...
user avatar
0 votes
1 answer
1k views

Transition from iptables to nftables in bridged setup

Given the move by many Linux distros from iptables to nftables as default, I am looking to migrate my iptables rules. I have a Ubuntu server that has two bridges (mainly to accommodate VMs and LXD ...
Greelan's user avatar
  • 11
2 votes
0 answers
149 views

Filter non-IP traffic on STA wlan0 interface

I want to filter inbound and outbound non-IP traffic going through the wlan0 interface of a Raspberry Pi 3B+ (connected via Wi-Fi to an AP). iptables / ip6tables only seem to affect IP traffic, so ...
Etan's user avatar
  • 183
3 votes
1 answer
630 views

Port forwarding with iptables and firejail sandbox

I try to run a HTTP server on port 8000 in a firejail sandbox, and make it accessible on all interfaces of the host on port 8888. The whole system can be represented as below: +----------------------...
nicop's user avatar
  • 51
1 vote
0 answers
178 views

Unable to block packets to Guest OS with iptables

My home workstation is running a windows OS Guest Machine with bridged connection to br-ex ( OVS bridge). enp0s25 is the LAN NIC connected to br-ex ovs bridge. Host OS has IP 194.168.1.4 and ...
Bharat's user avatar
  • 804
0 votes
1 answer
3k views

How to route between two bridge interfaces?

So I have a total of two bridges. One has the 10.0.0.1/24 subnet (br0), and the other has the 10.1.0.1/8 subnet (br1). I want to setup an NGINX reverse proxy that would run on a container connected ...
donghakim187's user avatar

15 30 50 per page