[TUTORIAL] HOWTO - Proxmox VE 8-1.2 Wifi w/ SNAT

@jeenam
Hello,
since I am new to Proxmox, I wanted to ask what I have to understand by Prerequisites: (2)? What do I have to set in my router (FRITZ!Box) so that I can use VMs and co via WLAN?

I look forward to your help!
 
@jeenam
Hello,
since I am new to Proxmox, I wanted to ask what I have to understand by Prerequisites: (2)? What do I have to set in my router (FRITZ!Box) so that I can use VMs and co via WLAN?

I look forward to your help!

https://en.avm.de/service/knowledge...nfiguring-a-static-IP-route-in-the-FRITZ-Box/

Configure your wifi router to route to networks that will be associated with wifi adapter. The link above explains how to configure static routes on your specific router. Example for /24 network:

Destination = 192.168.3.0
Netmask = 255.255.255.0
Gateway = 192.168.1.100 (specify IP address of wifi adapter)
 
Last edited:
Question: Why do you define vnet1 both in /etc/network/interfaces and through SDN (which ends up in /etc/network/interfaces.d/sdn?

The systemd networking service reads its configuration from /etc/network/interfaces. If you don't define it there it will not bring up the network interface. The reason for the existence of the SDN config should be self-explanatory.
 
The systemd networking service reads its configuration from /etc/network/interfaces. If you don't define it there it will not bring up the network interface. The reason for the existence of the SDN config should be self-explanatory.
Huh? /etc/network/interfaces has as last line source /etc/network/interfaces.d/* so there is no need to duplicate definitions that are included in any file in that directory. The SDN config is activated by and integrated with systemd in this way. And without that source line, SDN won't work.
 
What does vmbr0 do in this configuration?

Nothing. The Proxmox web UI listens on all addresses so you may be able safely remove it. I've never bothered because the physical network interface vmbr0 is bridged to is unused.
 
Huh? /etc/network/interfaces has as last line source /etc/network/interfaces.d/* so there is no need to duplicate definitions that are included in any file in that directory. The SDN config is activated by and integrated with systemd in this way. And without that source line, SDN won't work.

I'd never even bothered to look in that directory and didn't realize there was a configuration file in there until you mentioned it. You can obviously port the interface config into the file in that directory instead. One item of note is that if source /etc/network/interfaces.d/* is not the last line in /etc/network/interfaces SDN will be completely disabled in Proxmox.

https://pve.proxmox.com/pve-docs/chapter-pvesdn.html

Screenshot 2024-12-19 at 10.54.04 PM.png
 
Last edited:

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!