iptables

  1. L

    Port Forwarding

    Hiii guys, new Proxmox user here. One of those port forwarding questions which has come up already a couple of times, but still, something seems to be missing. I've installed proxmox 7.1-12 on a dedicated server (one public ip). Now I'm trying to setup ssh port forwarding to a VM. I've seen...
  2. S

    [SOLVED] iptables rule to allow access from one VM (private ip) to second VM (public ip)

    Hello Who can help with understanding such question. I have two VM with private ip addresses. One of them have rules to allow access by several ports from outside to public ip of the Proxmox. So rules work - I have access to VM from outside. iptables -t nat -A PREROUTING -p tcp -d 116.XXX.XXX.99...
  3. bfwdd

    Suricata Integration / Firewall Iptables

    Hello everyone, according to WIKI the suricata integration take place under /etc/pve/firewall/<VMID>.fw, and the rule will be automatically added to the iptables . It is exactly my case however i am not receiving alerts at Suricata. this is how the rule looks like: 2 NFQUEUE all --...
  4. bfwdd

    Forward traffic to Suricata, NFQUEUE, PVEFW-IPS

    I am actually trying to link Pve-IPS output to suricata. I am running suricata using the NFQ mode and im sending traffic to suricata with the gateway-scenario using the following cmd: # iptables -I FORWARD -j PVEFW-IPS The problem is every time i restart the host the added rule is gone (-A...
  5. parrotassassin15

    VMs/Guest Hosts cannot access the internet ( 2021 )

    So I have this set up: I can ping other VMS on the same network but cannot access the internet. a few days ago I could when I set up a VM bride for testing purposes but now I cannot I do think it is due to some routing issues any input would be recommended I do not know too much about...
  6. R

    Setup Nat network on proxmox fail

    I tried to setup a new interface in /etc/network/interfaces and when I tried to make the new interface up, proxmox raise this error warning: vmbr2: post-up cmd 'iptables -t nat -A POSTROUTING -s '192.168.10.0/24' -o enp38s0 -j MASQUERADE' failed: returned 3 (iptables v1.8.7 (legacy): can't...
  7. W

    iptables is not apply for NAT VM

    Hello, I tried to install Proxmox 6.4 on the new server. We created settings for the local IP to be after NAT (see spoiler settings of Host (Proxmox)). I want for a new VM with windows installed to allow access to RDP from external IP using the command on the Host (Proxmox) iptables -A...
  8. L

    PBS iptables

    Hello, I have two questions to the PBS installation: Will a firewall be integrated in the future like in Proxmox VE? Does anyone have a recommendation for the iptables configuration? Thank you in advance Rafael
  9. E

    POLL: Current Firewall Design, what is your ...

    This is a POLL thread in an attempt on covering all the models of firewall and Proxmox to help us better guage the future direction which we all collectively think that Proxmox should be supporting. Assumption must be made here for brevity of your reply: you make uses of Debian 10.6 and Proxmox...
  10. S

    [SOLVED] PVE Firewall ignores traffic from public IP

    Hello, I use the firewall built into Proxmox which is great. On the private network (172.16.10.x ) the firewall works and blocks what is not explicitly opened (Input Policy: DROP, OUTPUT Policy: ACCEPT), but when I use a public IP, the firewall totally ignores the rules and all traffic on the...
  11. se4n_1

    Default Proxmox Firewall Settings

    Morning, So I would like to compartmentalize my containers in proxmox with the proxmox firewall. Currently in datacenter options I have: firewall=no If I modify this to firewall=yes with firewall options out ACCEPT and in ACCEPT in the firewall tab in the datacenter, is this the same rules as...
  12. A

    No access to one of cluster nodes using port forwarding

    I have a cluster with two PVE nodes inside local network. I'm trying to set up access to PVE using port forwarding. Inside local network everything works fine as well as through VPN. From outside it only works to first PVE but the second one is unreachable. They have common firewall rules of a...
  13. A

    [SOLVED] [WORKAROUND FOUND] Routing issues probably self-inflicted. Amateur needs help. Only for patient users.

    Hello everyone. Ugh... I'm afraid to even ask the question... Just to be fair - I am an amateur - I don't even know what I don't know... Ok so I am setting up proxmox but its "complicated". - Normally proxmox runs with LAN device as a main network (internet) interface - in my case its...
  14. C

    [SOLVED] Docker breaks my Proxmox access

    I’m running Proxmox and a VM with a minimal debian OS. Everything worked fine until I installed docker and Portainer. Well, docker, Portainer and my containers work fine. But now my Proxmox is not accessable, not by GUI and not by SSH. I’ve read that docker could break the bridge as it uses...
  15. K

    [TUTORIAL] ZeroTier + Proxmox PVE

    ZeroTier + Proxmox We have been using ZeroTier over a year, when it came time to use it with Proxmox, I wasted hours due to my desire to over-complicate things. This four step process will let you access your containers and VMs remotely via the ZeroTier D-WAN / VPN My goal is to configure...
  16. T

    [TUTORIAL] Aussperrschutz, wenn man an der Proxmox Firewall (iptables) rumschraubt

    Wer kennt das nicht, man will die PVE Kiste securen und erstellt Rules in den iptables. Plötzlich hat man sich selber ausgesperrt. Ärgerlich und kann dann nur noch mittels Rescuemodus behoben werden. Bei grossen Kisten mit vielen VMs ist das nicht sonderlich toll. Habe mir ein Script...
  17. J

    pve-firewall vs iptables/systemctl reporting discrepencies

    Proxmox newbie here. In my PVE server... 1. If the pve-firewall is running (with policy_in: DROP like it says below, why does iptables report no rules (ie: everything is "accepted")? 2. what does 'disabled' mean in pve-firewall status = disabled/running? (systemctl status pve-firewall.service...
  18. E

    Port Forwarding (like DMZ)

    I wrote this to redirect all ports to a single machine, but I don't know if it is working properly. Is it possible to direct the entire port range to a single machine like DMZ Logic? post-up iptables -t nat -A PREROUTING -p tcp --dport 0:8005 -j DNAT --to-destination 192.168.128.185:0-8005...
  19. F

    Container - Destination Port Unreachable

    Hello I setup the third proxmox-machine. There I have network issues. I doublechecked everything, but still didn't find my mistake yet. I'm sure it's just a little thing to fix. On Container: floh@container01:~$ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. From 10.10.10.1...
  20. P

    No outgoing network connection on private network

    I am trying to setup a private network but seem to running into a few problems. My network set up is as follows: So i have a LXC setup on vmbr2 with the network config looking as follows: But no outside network :(. I cannot ping 192.168.1.51 from the LXC, only 192.168.3.0/ sub-net...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!