Fedora Server Network Management

Peter Boy, Jan Kuparinen Версія F35-F37 Last review: 20232-00-00

Status: work in progress

Forward a port to a VM oder system container

 […]# firewall-cmd --list-all
 […]# firewall-cmd --zone=external --add-forward-port=port=9876:proto=tcp:toport=22:toaddr=192.168.1.1
 […]# mkfs.xfs -L pgsql /dev/mapper/fedora_fedora-pgsql
 […]# mkdir /var/lib/pgsql
 […]# vim /etc/fstab
 (insert)
 /dev/mapper/fedora_fedora-pgsql   /var/lib/pgsql  auto  defaults  0 0
 (save & quit)
 […]# mount -a
 […]# df -h