Skip to content

Commit

Permalink
Remove unused make target (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
simcod authored Jun 26, 2024
1 parent 003f018 commit e77bc10
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 e77bc10

Please sign in to comment.