Enable ONLY ssh access on one interface?

Jon Lachmann

Well-Known Member
Apr 27, 2011
31
0
46
Hello!

I am planning on setting up a ProxMox server in a co-location computer centre. The server will host various virtual machines and will have multiple network adapters.

I plan on running a pfSense virtual machine to get VPN access to an internal network from which I can reach the web interface and VNC to the virtual machines. However i would like to be able to log in via SSH to the server in the case of a malfunction of the VPN service. How can i open ONLY the ssh terminal on one of the configured interfaces?

If this is not yet possible i think that choosing which interface each different service is published against would be a great addition to this already great piece of software.

Best regards
 
Edit /etc/ssh/sshd_config - uncomment ListenAddress and set it to the IP you want it to work with. At least that's the case for standard Debian systems anyways... I've also restricted the Proxmox HTTP server to also listen only on certain IPs.
 

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!