From 6992d9cc601c3fcee5205adb8cddb5f0dfa0662a Mon Sep 17 00:00:00 2001 From: ahwayakchih Date: Sat, 20 Feb 2021 11:32:00 +0100 Subject: [PATCH] fix: try to make podman keep source IP, instead of changing it to local This requires rebuilding pod. Thanks to @nhlpl for reporting problem with all logins seen from the same IP. Also see: https://github.com/containers/podman/issues/5138#issuecomment-660067663 --- nobbic | 1 + 1 file changed, 1 insertion(+) diff --git a/nobbic b/nobbic index fb250fe..7c4c43b 100755 --- a/nobbic +++ b/nobbic @@ -178,6 +178,7 @@ function buildPod () { podman pod create -n "$APP_NAME" $podOptions \ $PODMAN_ARG_LABEL \ + --network=slirp4netns:port_handler=slirp4netns\ --add-host=localhost:127.0.0.1 --hostname="$APP_NAME" || return $? if [ -n "$APP_ADD_MONGODB" ] ; then