Open port for network interface without having the interface in a zone?

Issues related to configuring your network
Post Reply
jeppezon
Posts: 9
Joined: 2020/11/03 06:41:29

Open port for network interface without having the interface in a zone?

Post by jeppezon » 2021/06/12 05:56:36

I have my VPN connection over a vpn-interface (tun0). I would like to open a port for this interface. Is that possible without adding it to a zone in the firewall?

User avatar
jlehtone
Posts: 3595
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Open port for network interface without having the interface in a zone?

Post by jlehtone » 2021/06/12 20:55:14

If you do want more "compact" ruleset, then replace firewalld.service with nftables.service.

Post Reply

Return to “CentOS 8 - Networking Support”