Questions tagged [networking]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
18 views

How to Save and Restore the Iptables rule and configuration from file?

I want to save the current iptables configuration to a file and restore it from a file. I have a lot of rules and modifying the rules really hard for me. So, how can i do that?!
1
vote
1answer
30 views

Sending HTTP requests to private EC2 DNS from other EC2 host works, but not from container on EC2 host

I want to make a container hosted on one EC2 host communicate with another container hosted on another EC2 host. Currently, if I send an HTTP request from host A to host B using host B's private DNS ...
1
vote
1answer
22 views

How to create a second IP just for dockers

Problem: my server is already using port 80 and I would like launch another service that uses port 80 on another address (I don't want to remember ports or force my wife to use non-default ports). I'...
1
vote
0answers
18 views

Why I cannot access k3s service from pod in rasbian?

I have installed K3S kubernetes on rasbian, and created a following mysql deployment on it: apiVersion: v1 kind: PersistentVolumeClaim metadata: name: mysql-data spec: accessModes: - ...
1
vote
0answers
23 views

Can't set up basic k3s cluster on raspberry pi setup

I apologize in advance if this is trivial as I am an undergrad and quite new to kubernetes, raspberry pis, and networking in general. I only included the fact I am working on Raspberry Pi for ...
0
votes
1answer
11 views

Blacklist network ranges Docker is allowed to use for its containers (swarm mode)

Basically I need to blacklist an IP range (and maybe multiple ranges) so that Docker can use any other IPs for its containers BUT IPs in this range. Assume I have my docker nodes in a swarm of n ...
1
vote
1answer
16 views

How do I setup an OpenShift route that will allow both 80 and 443 traffic to my app?

I'd like to setup a route that will pass both 80 and 443 traffic to the same service in OpenShift. When I try to create a second route it errors out. I want this to be in a yaml like would be used ...
1
vote
1answer
53 views

Mapping Outbound IPs to 1 IP in Azure App Services

I have 3 components of my architecture running in 3 separate Azure App Services. Each app service has 4 outbound IPs. So whenever I have to deploy my app onto the client's premise, I have to whitelist ...
2
votes
2answers
127 views

Does Kubernetes internal networking keep traffic to co-located Pods where possible?

In Kubernetes, if I run a Service Foo on every Node, and also Service Bar on every Node, i.e. with DaemonSets. If a Pod from Service Foo needs to make a request to Service Bar, does Kubernetes ...
1
vote
1answer
29 views

Kubernetes: How to expose a Pod/Deployment to the Nodes Network

Ok, let's assume I've got the following theoretical setup: I want to somehow assign IP-Addresses accessible by the PCs on the left to my pods. I can set routes etc. as I need since this setup is ...
2
votes
2answers
79 views

localhost Pod to Pod communication k8s

I am trying to transfer an old legacy system to k8s. I have a custom server that client apps connect to in order to communicate with one another. Both the server and clients were originally created ...
1
vote
0answers
74 views

Proxmox/QEMU: Should I mount storage within VM/CT or should I create a Proxmox Mount and share it as a virtual disk?

I'm considering whether or not I'm mounting my remote storage all wrong. Currently my VMs and CTs are stored on an NFS mounted storage and so is my backup location. This makes migrating the VMs in ...
2
votes
0answers
17 views

Connecting to MySQL Remotely on Azure VM

I am having trouble connecting remotely to my MySql install that runs on an Azure VM. Here is what I did: Ubuntu VM with MySql 5.7 installed Bind Address set to 0.0.0.0 User granted rights with ...
0
votes
1answer
78 views

How to connect to postgres container from a node container using docker-compose?

I'm trying to connect from a node app container to a postgresql container using docker-compose but I'm not able to do it. This is my docker-compose.yml file: version: '3.7' services: db: image: ...
1
vote
1answer
102 views

Kubelet config file — > clusterDNS

clusterDNS: - "10.32.0.10" The above is a flag passed to the kubelet file, i dont know what it refers to clsuter DNS ? Is it refers to VPC CIDR or any subnet CIDR ?
3
votes
1answer
494 views

Bridged network adapter for Packer + VirtualBox?

So, I load an .ova image with packer of a minimal ubuntu linux installation. I realized after everything went through (Provisioners etc) and it successfully exported the output file. However, when ...
2
votes
1answer
67 views

Check connectivity of 5000 + servers from ansible and get list of hosts which are connectable and which are not

I need to check connectivity of hosts on port 43. I can manually login and check connectivity by: nc -v `hostname` 43 nc -v `hostname_1` 43 Is there any ansible script that goes through all the ...
0
votes
1answer
24 views

Docker container and their IPs on overlay (swarm) networks

I have a Docker overlay network which includes 2 containers and the loadbalancer for this network: "Containers": { "0ece6b958aa6b451478b5004ba1b1681ec91b718b99a0c2c88b79d5e8e135a66": { ...
1
vote
0answers
30 views

OpenVPN in Docker has weird networking

I have OpenVPN server alongside with DNS server and Nginx proxy. The problem is when I assign both networks to openvpn container, I'm only able to access dns network, not proxy network. I am able to ...
1
vote
1answer
156 views

Docker bridge network Configuration for containers

I have an Angular application deployed in the container . If I log in to the container I can curl to the port 4200. I have mapped to port 9001 to connect from my host . But I can't curl from my host ...
1
vote
1answer
299 views

IOS_Command Module - Delayed Prompt Issue (Cisco 3850 - IOS XE)

I'm new to the Ansible world, so I'll do my best to explain everything. If I leave something out or need to clarify, just let me know. So, I've been working on upgrades for various Cisco switches/...
1
vote
1answer
113 views

aws - Connect two private subnets?

I'm testing some cloudformation infrastructure templates, and I noticed that most of the examples include routing tables to connect private subnets to public subnets, but my question then is: if two ...
1
vote
1answer
53 views

How to perform low-level inspecting of a Docker network traffic?

I'm currently in a scenario that requires Docker container C to be able to intercept communication between docker containers A and B, without their knowledge. I am basically attempting to do a ...
1
vote
0answers
336 views

Docker-compose for tomcat, nginx and node webapp does not connect to backend

I have made a docker-compose.yml file where I use 4 images to create a tomcat backend with postgress database and a frontend website using nginx. The backend exposes a rest-api that the frontend uses ...
0
votes
1answer
43 views

Is there a way to map ports two docker container

Let's consider two docker conatiner named app and mysql. I am looking for a way, where I can map app and mysql ports, so that if I try to connect to mysql from web, using localhost:3306 it can connect....
6
votes
2answers
91 views

Securing communication between cloud VMs without private networks. Any strategy besides building own VPN? Spiped?

I am working on an application that requires a number of different services (web application + database + worker queues, XMPP server for messaging, redis, central authentication via LDAP, etc). For my ...
1
vote
1answer
3k views

External access to internet from Kubernetes Pods

I'm having troubles with network access from pods. I had installed new Kubernetes cluster with flannel-network plugin, Checking the health of server - good. I tried to check network via busybox: ...
0
votes
1answer
31 views

Dockerized MySql slower in Wifi than ethernet

When I try to connect to a MySQL server that runs in a docker container(in System A) through my application(Running in system B) via wifi, it takes at least 4X amount of time than it would when both ...
1
vote
1answer
27 views

How to attach two (or more) networks to a container so they are available when the container starts?

I noticed if you try to attach a container to two networks, the following syntax does not cause an error, but effectively attach the container only on the network specified by the last --network: ...
1
vote
1answer
21 views

What are the benefits of spreading the various services of a multi-tiers application over several user-define bridges?

I have a simple system made of a database backend, several instances of a web application and a load balancer. Each service is running in its own Docker container, all of them being hosted on the same ...
0
votes
1answer
120 views

container on same network with host

Our application is a combination of 4 different applications. The graphics part is running on a host and other 3 applications are running on 3 different VMs. Which uses bridge networking. eg. ...
9
votes
6answers
13k views

How to get kubernetes pod network CIDR

I have a running k8s cluster initialized with kubeadm. On initialization, I did not pass the option --pod-network-cidr How do I get the CIDR of the pod network I tried Looking at the /etc/...
0
votes
1answer
58 views

call container B inside container A using docker networks

I have two docker containers A and B that runs on the same user-defined network. Container A has a port published, container B hasnt. I do my requests on container's A published port, but container A ...
-1
votes
1answer
432 views

Accessing container by domain name

hey guys I have a docker container A with a domain name attached to it on a host B with a domain name attached to it as well.....how can I access the said container A via A's domain name rather than ...
2
votes
1answer
266 views

Docker: subnet clients can't ping other subnet

Two containers are created with this Dockerfile: FROM ubuntu:18.04 RUN apt update && apt upgrade -y && apt install -y vim iputils-ping net-tools tcpdump iproute* iptables traceroute ...
2
votes
1answer
95 views

phpMyAdmin using dockerised database

I have installed mariadb inside docker container, and mariadb is running properly inside that container. I want to get access of mariadb through phpMyAdmin from outside docker container. What will I ...
4
votes
1answer
2k views

How to fix a “heartbeat failure” in Docker Swarm?

My cluster is currently located in a single data center. I've been trying to change that by adding a single worker node from another data center, but so far it hasn't worked. I'm able to make this ...
2
votes
2answers
768 views

Docker won't create a bridge network without being given an explicit subnet

The problem The problem is that this happens: $ docker network create alpine4 Error response from daemon: could not find an available, non-overlapping IPv4 address pool among the defaults to assign ...
0
votes
1answer
55 views

pod to pod can not be reached through service clusterIP running in the same minion

few days ago, i am facing a strange issue which is "a pod can not reach another pod running in the same minion/host through servide ClusterIP whereas they can reach each other skipping going through ...
-2
votes
1answer
330 views

Docker hostnames are not resolved in a custom network

I have the following configuration in my docker-composer.yml file. version: '3.3' services: service-1: container_name: 'service-1' build: './service-1' depends_on: - 'mongo' ...
6
votes
1answer
9k views

Internal network between container Docker Compose with outgoing connection

I am a newbie to Docker. I am trying to run my application containing from multiple containers Here is my docker-compose.yml file version: '3.3' services: php-service: container_name: 'php-...
1
vote
0answers
236 views

Using IPTable to restrict traffic to a Docker container [closed]

I've spun up a web server that listens on port 8080 like this: # docker run --rm -p 8080:8080 python:3.6 sh -c "cd tmp && python -m http.server 8080" I want to dynamically adjust iptables ...
1
vote
2answers
904 views

Join a Linux Docker swarm with a local Windows Docker for test purposes

I'm currenlty trying to connect/join a Linux Docker Swarm cluster with my Windows machine in order to test a stack without sending the stack over and over to my test cluster under Linux. My problem is ...
6
votes
2answers
5k views

Why should you do port mapping for docker containers?

I have been using docker for a few months and I am just a developer not a DevOps or a networking person. However, I came across a docker-compose which maps an external port to an internal port. ...
2
votes
2answers
5k views

VPN container providing access to host's LAN?

I'm kinda new to this Docker thing and I'm interested in getting a biffed up VPS for some containers (websites/data, mysql, nginx, rocket.chat, etc) but I wouldn't like to access them in the wild (...
1
vote
0answers
663 views

Understanding Docker swarm networking and ports accessibility on the host [closed]

Given the simplest example, the test swarm consists just of one node so all containers run in one place. The stack is setup to run in a custom Docker network; the containers are not directly mapped ...
5
votes
1answer
621 views

Networking between Docker containers

I have a docker container 'A' on a host 10.11.12.13 listening on port 0.0.0.0:8443->8443/tcp I have another container 'B' on same host how wants to talk to 'A' on 8443 via host. Thus when I run ...
3
votes
3answers
278 views

SSH tunneling on steroids

I have a remote redis machine with no ssh and no open ports except to the same lan + a remote machine (on the same lan) with ssh + my pc outside the lan. What I'm trying to do (mostly to see if it's ...
1
vote
1answer
406 views

How to identify the physical IP of where Kubernetes API server runs

Question In a Kubernetes cluster, there is a Docker network IP which looks to be the API server. However, not sure how to identify the physical IP and location of the box in which it is working. If ...
0
votes
1answer
22 views

Dynamic service redirections in Docker

Imagine you have decided to abstract from exact service location. Normally, you have a cody world with the service name=DNS. Say, you have prototyped something with S3 compatible API like exoscale/...