Add step for ufw rules to access rpc port
This commit is contained in:
@@ -75,5 +75,11 @@ Restart=on-failure
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target"
|
WantedBy=multi-user.target"
|
||||||
|
|
||||||
|
step_10_info() { echo "Add ufw rule for rpc port 6800"; }
|
||||||
|
step_10_alias() { ALIAS="ufw"; }
|
||||||
|
step_10() {
|
||||||
|
exe ufw allow in on eth0 to any port 6800 proto tcp comment "Aria2 rpc"
|
||||||
|
}
|
||||||
|
|
||||||
VERSION_SEQREV=12
|
VERSION_SEQREV=12
|
||||||
. /usr/local/bin/sequencer.sh
|
. /usr/local/bin/sequencer.sh
|
||||||
|
Reference in New Issue
Block a user