Page 1 of 1

Controlling Firewall on Linux box

Posted: Wed Dec 11, 2019 9:46 am
by SubZero5
Hi,

It would be nice to have the Deluge daemon to be able to control the running IPTables Firewall on my CentOS Linux Server.

Is it possible to have the list of IP address/es that deluge wants to connect to and/or others wants to connect to my seedbox...
I may run CSF Firewall and it accepts commands like:

Code: Select all

-ta, --tempallow ip ttl [-p port] [-d direction] [comment]
Add an IP to the temp IP allow list (default:inout)

root@ols:~# csf -a 1.2.3.4 -p 18012 Allow Deluge
iptables: No chain/target/match by that name.
ACCEPT tcp opt -- in !lo out * 1.2.3.4 -> 0.0.0.0/0 tcp dpt:18012
iptables: No chain/target/match by that name.
ACCEPT tcp opt -- in * out !lo 0.0.0.0/0 -> 1.2.3.4 tcp dpt:18012
csf: 1.2.3.4 allowed on port 18012 for 3600 seconds in and outbound
root@ols:~#

Re: Controlling Firewall on Linux box

Posted: Thu Nov 24, 2022 3:42 am
by bettycooper
You can also use the deluge daemon to test your IPTables firewall settings before you make them permanent.io games