All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Administrador de Red" <admin@gecyt.cu>
To: netfilter@lists.netfilter.org
Subject: what rule I should has for permit access to mail server
Date: Fri, 29 Nov 2002 05:30:01 -0500	[thread overview]
Message-ID: <web-100039@gecyt.cu> (raw)

Hi Friends.

I need a help very fast.

I has two server linux, the first has some service www,DNS 
primary, squid and gateway too, the second server is mail 
server, DNS secondary, then I want to permit access to 
server mail from my gateway, I write the folowing rules 
but is´nt working with the Outlook Express.

I can access to internet very well, i test with the ping 
to www.yahoo.com and the gateway response, but with 
Outloook Express I can access to mail server, port 25 and 
port 110.

*nat
:PREROUTING ACCEPT [0:65535]
:POSTROUTING ACCEPT [0:65535]
:OUTPUT ACCEPT [0:65535]
[0:0] -A PREROUTING -i eth0 -p tcp -m tcp --dport 25 -j 
DNAT --to-destination ip_true:25 
[0:0] -A PREROUTING -i eth0 -p tcp -m tcp --dport 110 -j 
DNAT --to-destination ip_true:110 
[0:65535] -A POSTROUTING -o eth0 -j SNAT --to-source 
ip_gateway_true 
COMMIT


someone could Help me. please.
thanks very well.

Thomas




Estamos en Calle 20 Numero 4110 % 41 y 47,
Miramar, Playa, Ciudad Habana, Cuba.
Telf:537(203-01-60) y (202-79-20)
Fax: 537(204-96-64)
Visitenos en: http://www.gecyt.cu


                 reply	other threads:[~2002-11-29 10:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=web-100039@gecyt.cu \
    --to=admin@gecyt.cu \
    --cc=netfilter@lists.netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.