Hi,
I have a K8S cluser installed on proxmox host.
To access VMs created in Proxmox, I obliged to connect to the Proxmox server and then make another SSH connection to the desired VM .
This is not very practical in addition to posing obvious security problems.
is there a way please to do a SSH redirection HOST=> VM ?
I have tried this, but it didnt work :
	
	
	
		
where the 192.168.1.2 is the @ip of the master node.
thanks a lot
				
			I have a K8S cluser installed on proxmox host.
To access VMs created in Proxmox, I obliged to connect to the Proxmox server and then make another SSH connection to the desired VM .
This is not very practical in addition to posing obvious security problems.
is there a way please to do a SSH redirection HOST=> VM ?
I have tried this, but it didnt work :
		Code:
	
	# redirection to the web server
post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 32768 -j DNAT --to 192.168.1.2:22
post-down iptables -t nat -D PREROUTING -i vmbr0 -p tcp --dport 32768 -j DNAT --to 192.168.1.2:22where the 192.168.1.2 is the @ip of the master node.
thanks a lot
 
	 
	