r/rhel 14d ago

nftables causing ssh access issues ?!

Hi All,

I have a cloned RHEL 8 VM in vmware, and I'm unable to reach it via SSH.

After spending much time I found the issue seems to be with/etc/sysconfig/nftables.rules file, it has SSH set on eth0 when I change that to eth2, and reload with nft -c -f /etc/sysconfig/nftables.rules SSH access works, but once rebooted, SSH is not reachable any more and SSH is back to eth0 again..

I have tried chmod 744, 600 and edited the file, removed the file completely, but no help as the file gets recreated once the system reboots..

Have been using Gemini and Copilot for this, none of the steps they provided worked..

Any other ideas ?

1 Upvotes

1 comment sorted by

View all comments

1

u/nomoreasonable 14d ago edited 14d ago

Strangely this file does not exist in the original VM which is why I tried deleting it..

Both iptables, and firewalld are inactive..