toralf Developer
Joined: 01 Feb 2004 Posts: 3922 Location: Hamburg
|
Posted: Thu Dec 12, 2013 5:03 pm Post subject: using iptables to allow all OUTPUT traffic for a dedicated p |
|
|
yep - maybe OT wrt to Gentoo, but how can I enhance my rather restrictive iptables script to allow KTorrent to open connections to outside ?
Currently I do have Code: | ...
# torrent
#
$IPT -t filter -A INPUT -p tcp --match multiport --destination-ports 6881,7881 -j ACCEPT
$IPT -t filter -A INPUT -p udp --destination-port 8881 -j ACCEPT
...
# torrent
#
$IPT -t filter -A OUTPUT -p tcp --match multiport --destination-ports 6881,7881 -j ACCEPT
$IPT -t filter -A OUTPUT -p udp --destination-port 8881 -j ACCEPT
| and I'm looking for some small nifty rules to catch all the diferent ports which are used in the world for torrent. |
|