nat

  1. K

    Fail2ban actions inside nat LXC

    I have multiple LXC containers which use a nat configuration. I'd like to implement fail2ban on them but since the main firewall is placed on the Proxmox itself I don't know what's the correct way to use fail2ban on containers. I mean, by default, fail2ban actions try to add rules on the local...
  2. S

    Direct Access to VMs via IPtables?

    Hi! I went ahead and set up PVE on a remote server and then used the instructions here to set up NAT so that the VMs can access the internet. This works just fine. However, my end goal here is to be able to access these VMs directly via the Internet as well. Let's take SSH access as an...
  3. P

    Proxmox networking in HETZNER Cloud

    Hello everyone, I'm trying to build a Proxmox-Host with LXC-Containers in the HETZNER Cloud. Basic information about the current network: Home network <-> pfSense (onprem) <-> pfSense (in HETZNER Cloud) <-> PVE host <-> LXC-Containers Home network: 10.0.0.0/16 Cloud network: 10.10.0.0/16...
  4. R

    [SOLVED] Strange Nat Errors

    Hello everyone, I've been struggling for hours with a strange problem that I don't understand. I'll try to explain: I have a VPS server on the Internet with a public IP 178.xxx.xxx.xxx/22. Proxmox is installed on this server, and it should only be accessible via a VPN connection. An opnsens...
  5. R

    correct conf behind NAT?

    I am experiencing an issue with my Nginx setup on Proxmox. All services work fine for the external network—if I try to visit abc.mydomain.com, which is pointed to my Proxmox server, it works as expected. However, when I try to access the site from the internal network, it does not work. I am...
  6. C

    [SOLVED] Hosting a website through a container

    Hi, I'm just looking for some clarity and whether or not i'm thinking down the right path. We have a Server which is got 5 different virtual machines, these are: NGinx Database Search Redis The Code (Server) I've split all these up into a NAT mode server so it's just 1 IP from Node (sd-...)...
  7. W

    [SOLVED] SDN with 2+ vnet subnet specify SNAT to WAN IP

    I have 5 IP addresses from my ISP and need to setup a VNET for each IP with a pfSense firewall to provide UPNP support for each IP. My test machine has a an internal Ethernet port and a USB Dongle. I am using the dongle (enx22) for the WAN The network looks like this: enx22 <--> vmbr1 <-->...
  8. C

    NAT to WiFi interface not working with simple SDN

    I've been trying to setup a laptop with Proxmox for working on the road. I have no bridge configured, only a WiFi interface. The laptop is a member of my home development cluster, and everything seems to work perfectly. The WiFi interface on the laptop and the vmbr0 interfaces on the other...
  9. S

    Issue Connecting to Proxmox via Azure VPN

    Hi, I have an issue with network configuration on my Proxmox server. I really want to have remote access to the configuration panel, the NAS server, Homebridge and VM hosted on the server. The problem is my Internet provider, who won't provide me with a public IP address. I don't have a static...
  10. K

    adding an LXC with a different subnet

    I have PVE 8.2.x running with the following configuration: iface eno1 inet manual auto vmbr0 iface vmbr0 inet static address x.x.x.13/24 gateway x.x.x.1 bridge-ports eno1 bridge-stp off bridge-fd 0 I'd like my LXC to use y.y.y.63/24, gateway y.y.y.1...
  11. J

    NAT or private network in ProxMOX, is it possible

    Dear All, I am using proxmox. It is working fine. Now there is some requirement in which I have to create VM in separate network other than the subnet of the proxmox instances. In virtaulbox we used to create internalnetwork , is there such option in proxmox in which I can create other network...
  12. O

    [SOLVED] Proxmox simple SDN choose outbound interface

    Hi, We have proxmox 8.x with multiple NIC, that have different IP assign on the same subnet. We have created a simple SDN network with SNAT and DHCP so that we can host VM and they have a IP and can access external ressource. Is there a way to configure on which NIC interface the outbound...
  13. J

    how to configure firewall to do a NAT

    hi, i have a k8s cluseter deployed inside a proxmox host. everytime i deploy an app inside the cluster , i make a NodePoer service for it, ex :30001, and in order to access the app outside the cluster using the public IP, i create a NAT rule for that reason like : post-up iptables -t nat -A...
  14. W

    Why PVE [8.2.2] is flooding my DHCP Server?

    I use the DHCP server in the OPNsense FW (23.x) It runs as VM on separate PVE Node [7.x.x] The new PVE Node [8.2.2] has two interfaces One interface ETH0 is used as PVE Management bridged by VMBR0 and has a static IP on the same network as the OPNsense FW (192.x.x.1/24) The other interface ETH1...
  15. M

    Containers in VLAN have no internet access

    I have 2 public IP addresses on a single NIC, configured on vmbr0: 1.1.1.1 (for PVE management) 1.1.1.2 (for a private LAN to NAT to in order to reach the internet) (Those aren't the real IP addresses, just substituted by me). And a private IP range 10.0.0.0/24 with the gateway on 10.0.0.1 I...
  16. M

    [SOLVED] SDN VNet subnet specify SNAT interface/IP

    I've setup a simple zone with automatic DHCP, a vnet and 10.0.0.0/24 subnet with SNAT enabled. On the host I have 2 bridges configured: - vmbr0 with public IP 1.1.1.1 - vmbr1 with public IP 1.1.1.2 (Those aren't the real IP addresses, just substituted by me). When creating the subnet and...
  17. D

    Changing -o interface for SDN SNAT

    Hi, As visible below, when setting SNAT for a simple network type: iface cu1vn address 10.1.1.1/24 post-up iptables -t nat -A POSTROUTING -s '10.1.1.0/24' -o enp43s0.709 -j SNAT --to-source PUBLIC_IP post-down iptables -t nat -D POSTROUTING -s '10.1.1.0/24' -o...
  18. C

    Help regarding separate network configuration for VMs

    Hi, My home router has IP 192.168.1.1. My proxmox server address is 192.168.1.15. Everything works ok. Now, I've imported three ( SLES 15 SP4) VMs from VMware Workstation (they had Vmnet8 NAT configuration there). They have IPs 192.168.85.221, 192.168.85.222 and 192.168.85.223 on Vmware. At the...
  19. P

    [SOLVED] NAT config not working in Proxmox [VM cannot access internet]

    Dear all, EDIT: RESOLVED FINALLY !!! I changed the 'vmbr0' to 'eno1' in the NAT configuration. Worked after rebooting the node. Now VM has internet access. I have a requirement to setup multiple VMs in different isolated networks. Also, these VMs should be able to have internet access. So...