Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
using iptables to allow all OUTPUT traffic for a dedicated p
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3647
Location: Hamburg

PostPosted: Thu Dec 12, 2013 5:03 pm    Post subject: using iptables to allow all OUTPUT traffic for a dedicated p Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum