configuring shorewall firewall on seedbox

das329717

Member
May 25, 2018
928
0
16
hi,

i want to get a firewall working on my seedbox, if i were to use shorewall, which ports do i need to open? i'n using the autodl-setup script to configure my seedbox on debian 6.
 

dsouvik215

Member
May 25, 2018
896
0
16
80 = http
443 = https
21/990 = ftp/ftpes (and some other ports for data connections)
22 = ssh
xyz = your rtorrent port
and maybe some more.
 

jith45

Member
May 25, 2018
960
0
16
Check your .rtorrent.rc, for the port range, and add this lines to your /etc/shorewall/rules

Code:
ACCEPT <extIN> fw TCP <r-start>:<r-end>
ACCEPT <extIN> fw UDP <r-start>:<r-end>