public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: Alwin Antreich via pve-user <pve-user@lists.proxmox.com>
To: Proxmox VE user list <pve-user@lists.proxmox.com>
Cc: Alwin Antreich <alwin@antreich.com>
Subject: Re: [PVE-User] Block all outgoing destinations not internal for a VM
Date: Fri, 06 Jun 2025 12:58:33 +0200	[thread overview]
Message-ID: <mailman.288.1749207983.395.pve-user@lists.proxmox.com> (raw)
In-Reply-To: <mailman.277.1749201397.395.pve-user@lists.proxmox.com>

[-- Attachment #1: Type: message/rfc822, Size: 4463 bytes --]

From: Alwin Antreich <alwin@antreich.com>
To: Proxmox VE user list <pve-user@lists.proxmox.com>
Subject: Re: [PVE-User] Block all outgoing destinations not internal for a VM
Date: Fri, 06 Jun 2025 12:58:33 +0200
Message-ID: <AE03C475-7B01-4D00-B19C-CD241B616ACB@antreich.com>

On June 6, 2025 11:11:17 AM GMT+02:00, Petric Frank via pve-user <pve-user@lists.proxmox.com> wrote:
>_______________________________________________
>pve-user mailing list
>pve-user@lists.proxmox.com
>https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Hi Frank,

You can negate the match !192.168.2.0/24, the IP set has a checkbox for it. Then you can block all traffic except the internal network.

Or you order the rules, to have the allow to 192.168.2.0/24 and them deny all outgoing traffic. 

Either of the above needs to be done for the incoming traffic.

Cheers,
Alwin



[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user

      reply	other threads:[~2025-06-06 11:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-06  9:11 Petric Frank via pve-user
2025-06-06 10:58 ` Alwin Antreich via pve-user [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mailman.288.1749207983.395.pve-user@lists.proxmox.com \
    --to=pve-user@lists.proxmox.com \
    --cc=alwin@antreich.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal