Skip to content

OL8U7: fails with firewalld IP masquerading #460

@hussam-qasem

Description

@hussam-qasem

My Vagrantfile:

Vagrant.configure("2") do |config| config.vm.box = "oraclelinux/8" config.vm.box_url = "https://oracle.github.io/vagrant-projects/boxes/oraclelinux/8.json" end

After doing vagrant up & vagrant ssh:

[vagrant@localhost ~]$ sudo systemctl enable --now firewalld Created symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service → /usr/lib/systemd/system/firewalld.service. Created symlink /etc/systemd/system/multi-user.target.wants/firewalld.service → /usr/lib/systemd/system/firewalld.service. [vagrant@localhost ~]$ sudo firewall-cmd --add-masquerade --permanent success [vagrant@localhost ~]$ sudo firewall-cmd --query-masquerade no [vagrant@localhost ~]$ sudo firewall-cmd --add-masquerade Error: COMMAND_FAILED: 'python-nftables' failed: internal:0:0-0: Error: Could not process rule: No such file or directory JSON blob:
{ "nftables": [ { "metainfo": { "json_schema_version": 1 } }, { "add": { "rule": { "family": "ip", "table": "firewalld", "chain": "nat_POST_public_allow", "expr": [ { "match": { "left": { "meta": { "key": "oifname" } }, "op": "!=", "right": "lo" } }, { "masquerade": null } ] } } }, { "add": { "rule": { "family": "inet", "table": "firewalld", "chain": "filter_FWDO_public_allow", "expr": [ { "match": { "left": { "ct": { "key": "state" } }, "op": "in", "right": { "set": [ "new", "untracked" ] } } }, { "accept": null } ] } } } ] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions