From: | Benno Schulenberg <benno.schulenberg@×××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] emerge --sync and iptables | ||
Date: | Sat, 18 Mar 2006 20:44:23 | ||
Message-Id: | 200603182139.15764.benno.schulenberg@gmail.com | ||
In Reply to: | [gentoo-user] emerge --sync and iptables by Dan Sheffner |
1 | Dan Sheffner wrote: |
2 | > iptables -A INPUT -i eth0 -p tcp -d $ip --dport 443 -j ACCEPT |
3 | > iptables -A INPUT -i eth0 -p tcp -s 10.1.10.0/24 -d $ip |
4 | > --dport 22 -j ACCEPT |
5 | |
6 | These two are incoming, so --dport is correct. |
7 | |
8 | > iptables -A INPUT -i eth0 -p tcp -s 10.1.10.37 -d $ip |
9 | > --dport 873 -j ACCEPT |
10 | |
11 | Rsync is outgoing, toward port 873, so the answer is coming back |
12 | from that port: --sport. |
13 | |
14 | Benno |
15 | -- |
16 | gentoo-user@g.o mailing list |
Subject | Author |
---|---|
Re: [gentoo-user] emerge --sync and iptables | Dan Sheffner <dsheffner@×××××.com> |