diff --git a/Shorewall/Macros/macro.IPFS-API b/Shorewall/Macros/macro.IPFS-API new file mode 100644 index 000000000..63b02db16 --- /dev/null +++ b/Shorewall/Macros/macro.IPFS-API @@ -0,0 +1,9 @@ +# +# Shorewall -- /usr/share/shorewall/macro.IPFS-API +# +# This macro handles IPFS API port (commands for the IPFS daemon). +# +############################################################################### +#ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST RATE USER + +PARAM - - tcp 5001 diff --git a/Shorewall/Macros/macro.IPFS-gateway b/Shorewall/Macros/macro.IPFS-gateway new file mode 100644 index 000000000..1964613c1 --- /dev/null +++ b/Shorewall/Macros/macro.IPFS-gateway @@ -0,0 +1,9 @@ +# +# Shorewall -- /usr/share/shorewall/macro.IPFS-gateway +# +# This macro handles the IPFS gateway to HTTP. +# +############################################################################### +#ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST RATE USER + +PARAM - - tcp 8080 diff --git a/Shorewall/Macros/macro.IPFS-swarm b/Shorewall/Macros/macro.IPFS-swarm new file mode 100644 index 000000000..1256b3152 --- /dev/null +++ b/Shorewall/Macros/macro.IPFS-swarm @@ -0,0 +1,9 @@ +# +# Shorewall -- /usr/share/shorewall/macro.IPFS-swarm +# +# This macro handles IPFS data traffic (the connection to IPFS swarm). +# +############################################################################### +#ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST RATE USER + +PARAM - - tcp 4001