Gentoo Archives: gentoo-user

From: Dan Sheffner <dsheffner@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] emerge --sync and iptables
Date: Sat, 18 Mar 2006 16:51:49
Message-Id: bfe179c00603180846o48fef35dxda1ace7194222ce@mail.gmail.com
1 I'm not sure what I have been doing wrong. I have a local sync server
2 located at 10.1.10.37 and I'm running iptables on a web server. What port
3 do I need to open when I run emerge --sync? I have tried port 873 like
4 below and still no luck. I do not have a firewall running on the sync
5 server.
6
7
8 below is an example of my firewall rules on the web server
9
10 ip=<publicIP>
11
12 iptables -F
13 iptables -P INPUT DROP
14 iptables -A INPUT -i eth0 -p tcp -d $ip --dport 443 -j ACCEPT
15 iptables -A INPUT -i eth0 -p tcp -s 10.1.10.0/24 -d $ip --dport 22 -j ACCEPT
16 iptables -A INPUT -i eth0 -p tcp -s 10.1.10.37 -d $ip --dport 873 -j ACCEPT
17
18
19
20 Any help would greatly appreciated.

Replies

Subject Author
Re: [gentoo-user] emerge --sync and iptables Benno Schulenberg <benno.schulenberg@×××××.com>