Skip to content

Commit

Permalink
Merge branch 'master' into ipam-grpc-server
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Jul 2, 2024
2 parents 32dd291 + e77bc10 commit da64ea4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,6 @@ _ips:
route: _ips
eval "sudo ip r a ${staticR}"

# there is no libvirt required anymore and thus following rules will not work on systems without
# TODO: discuss what to do instead?
.PHONY: fwrules
fwrules: _ips
eval "sudo -- iptables -I LIBVIRT_FWO -s 100.255.254.0/24 -i docker0 -j ACCEPT;"
eval "sudo -- iptables -I LIBVIRT_FWO -s 10.0.1.0/24 -i docker0 -j ACCEPT;"
eval "sudo -- iptables -I LIBVIRT_FWI -d 100.255.254.0/24 -o docker0 -j ACCEPT;"
eval "sudo -- iptables -I LIBVIRT_FWI -d 10.0.1.0/24 -o docker0 -j ACCEPT;"
eval "sudo -- iptables -t nat -I LIBVIRT_PRT -s 100.255.254.0/24 ! -d 100.255.254.0/24 -j MASQUERADE"
eval "sudo -- iptables -t nat -I LIBVIRT_PRT -s 10.0.1.0/24 ! -d 10.0.1.0/24 -j MASQUERADE"

.PHONY: cleanup
cleanup: cleanup-control-plane cleanup-partition

Expand Down

0 comments on commit da64ea4

Please sign in to comment.