All Questions
70 questions
1
vote
2
answers
36
views
IPIP tunnel between two docker containers on separate servers
Thank you in advance for your attention to my question and your help.
I have a rather specific task. I need to set up an IPIP tunnel between two Docker containers located on different physical servers....
1
vote
1
answer
124
views
How can I non-interactively replace iptables with iptables-nft on Arch Linux?
I'm trying to create a Dockerfile for an Arch Linux image with iptables-nft installed. If I run the archlinux Docker image interactively and then pacman -Syu iptables-nft, I get asked iptables-nft-1:1....
2
votes
1
answer
477
views
How to enable direct connection to Tailscale's exit node with Gluetun
This is a Docker setup that runs a Tailscale node, routes traffic through Gluetun with NordVPN connected, and advertises the Tailscale node as an exit node.
services:
gluetun:
image: qmcgaw/...
0
votes
1
answer
87
views
Default to deny in iptables using Docker
I've been looking into tightening up firewall restrictions on Docker hosts and I'm having fits with Docker's default iptables behavior. To make this question as simple as possible. imagine the ...
1
vote
1
answer
83
views
Routing between 2 interfaces on a host
I seem to be having trouble reaching an application that is running on the 2nd interface on my Ubuntu workstation.
Kernel/OS
Linux 6.5.0-18-generic #18~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 7 11:...
0
votes
1
answer
58
views
NAT table skipped for server replies running inside Docker container
I have a Docker container running on a vanilla setup which listens on port 9999:
docker run --rm -it -p 9999:9999 busybox nc -vvl -p 9999 0.0.0.0
I added a LOG rule to the POSTROUTING table on NAT in ...
0
votes
1
answer
194
views
Marking packets in iptables based on output interface
I have an unusual setup on my server. We have three outgoing ethernet ports, all connected to a single bridge interface that we split into two VLANs:
ip link add veth type bridge
ip link set veth ...
3
votes
2
answers
7k
views
Launching docker daemon in Ubuntu 22.04 LTS on WSL-2 fails because of iptables
I'm trying to run docker inside of Ubuntu 22.04.3 LTS running in WSL-2 on my Windows 10 machine.
I have followed the instructions here. But it's still not working, I am getting the following error ...
0
votes
1
answer
262
views
Outgoing docker packets not respecting routing rules
I have a private docker host (A) connected via a Wireguard tunnel to a public "router" in a cloud environment (B).
Wireguard:
(Docker Container)
eth0 172.17.0.2
|
docker0 172.17.0.1
(A) eth0 ...
0
votes
1
answer
221
views
docker, iptables and wireguard: what approach to pick?
Thanks to some help in a previous thread, I have managed to track down a specific issue, but I am not sure how to approach the potential fix.
To summarize the issue: docker on my server seems to break,...
0
votes
1
answer
132
views
Firewall : firewalld with docker open port for local service
I'm trying to open port for ssh on non-standard port like 12452, i used these commands and non of them worked
iptables -I INPUT -p tcp --dport 12452 -j ACCEPT
iptables -I OUTPUT -p tcp --dport 12452 -...
1
vote
0
answers
67
views
Filtering in INPUT chain didn't work for docker forwarded ports
I have a Linux server running a docker application, it exposes the 80 port inside docker to 20080 on the host.
The server has IP address 10.10.10.10 and I need to block 10.10.10.11 from accessing the ...
2
votes
1
answer
730
views
VPN To a Specific Docker Network
My goal is to find a solution that would alow me to host specific ports and services publically on a VPS while having other administrative UI's that might interact with said public services buttoned ...
2
votes
1
answer
4k
views
Understanding packet flow through iptables rules for docker container bridge network?
Background
I want to understand the relationships between docker container networks and iptables, and generally understand how packets flow from the eth0 interface (in a container), through the ...
0
votes
0
answers
110
views
What is this process causing my CPU utilization to peak to 100%?
I have used CentOS 7. I updated the CentOS version recently to install docker. Then this problem arose. I think that this problem is caused by the docker and I tried to remove it,
yum remove docker
...