linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luca Ferrari <fluca1978@infinito.it>
To: linux-admin@vger.kernel.org
Subject: iptables & vypress
Date: Thu, 14 Jul 2005 18:47:08 +0200	[thread overview]
Message-ID: <42D6970C.7040800@infinito.it> (raw)

Hi,
I've got two networks, 192.168.1.0 and 192.168.4.0, that are connected 
thru an ADSL and a couple of firewalls (with iptables). Now I've got 
some problems with the Vypress Messenger, a chat program that 
communicates using the 7777 port. The problem is that outgoing traffic 
from 192.168.4.0 is permitted, while incoming not, thus 192.168.4.0 can 
send messages to the other network, but the 192.168.1.0 cannot. The 
following is an excerpt of the iptables configuration for the network 
192.168.1.0 on the 192.168.4.0 firewall:

[root@firewall script]# iptables-save | grep 192.168.1
-A INPUT -s 192.168.4.0/255.255.255.0 -d 192.168.1.0/255.255.255.0 -p 
tcp -j ACCEPT
-A INPUT -s 192.168.4.0/255.255.255.0 -d 192.168.1.0/255.255.255.0 -p 
udp -j ACCEPT
-A FORWARD -s 192.168.4.0/255.255.255.0 -d 192.168.1.0/255.255.255.0 -p 
tcp -j ACCEPT
-A FORWARD -s 192.168.4.0/255.255.255.0 -d 192.168.1.0/255.255.255.0 -p 
udp -j ACCEPT
-A OUTPUT -d 192.168.1.0/255.255.255.0 -o eth1 -p udp -j ACCEPT


I cannot see what's wrong here, since all the traffic among 192.168.1.0 
and 192.168.4.0 is permitted. I'm pretty sure the problem is in the 
iptables of 192.168.4.0 network cause if I cannot directly (i.e., 
bypassing the iptable firewall) vypress works.
Any suggestion?

Thanks,
Luca

-- 
Luca Ferrari
fluca1978@infinito.it

             reply	other threads:[~2005-07-14 16:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-14 16:47 Luca Ferrari [this message]
2005-07-15  9:47 ` iptables & vypress Adrian C.
2005-07-15 11:00   ` Luca Ferrari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42D6970C.7040800@infinito.it \
    --to=fluca1978@infinito.it \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).