public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: pepo <r4mz3z@yahoo.es>
To: pa3gcu@zeelandnet.nl
Subject: Re: accept some IP/users deny others
Date: Sun, 11 Sep 2005 00:19:34 -0500	[thread overview]
Message-ID: <200509110019.35216.r4mz3z@yahoo.es> (raw)
In-Reply-To: <200509062115.40029.pa3gcu@zeelandnet.nl>

Hi...
  First thanks for your help and sorry for the time to responce, I was so 
busy.

  I wanna send/receive any mails from any host inside my LAN, but only 
PC2:192.168.1.2, PC4:192.168.1.4 and PC6:192.168.1.6 can send mails to 
Internet like smarthost, so the others PCs just inside the LAN.

Thanks again

El Mar 06 Sep 2005 14:15, Richard Adams escribió:
> On Saturday 03 September 2005 05:39, pepo wrote:
> > Hi friends...
> >
> >         I am using exim4 (exim4-daemon-light) 4.52-1 in my Sarge, and I
> > have a little
> > LAN (PC1:192.168.1.1, PC2:192.168.1.2, PC3:192.168.1.3) the first is my
> > box.
> >
> >         Please, how do I accept any local mail in my LAN, but just
> > PC2:192.168.1.2
> > can send mails to Internet? and if you can help me with the same but only
> > few users can send to Internet.
>
> I have been waiting for a responce to your mail from others to see if i can
> really help you, i saw one reply to which you did not eply to so i presume
> you may not have understood what was said/asked...
>
>
> Firstly, your mail is somewhat lacking in detail, detail as to just what
> you have as LAN and for all, just what you want to do.
>
> As i see it, you want mail on 192.168.1.2 (your machine) correct.???.
>
> You do not say if you are going to be collecting mail from your provider or
> you want to run sendmail on 192.168.1.2 to listen for incomming
> connections, (not such a good thing to do thesedays with all that spam
> around), leave that to your provider...
>
> Let me say this.
>
> A normal "Local Area Network", (LAN) would have a router possably in this
> case 192.168.1.1, that computer would be connected to the internet with
> another NIC and have a set of firewall rules via the command iptables, now
> i can only guess here but you said "sarge" meaning i presume debian.
> I have no knowlage of how debian sets it default iptables rules or even
> what frontend for iptables it uses, what i can tell you is that iptables
> decides who does and who does not enter your computer or who passes thro'
> it via the rules which you or some frontend defines.
>
> A good place to start leaning about iptables is;
> http://www.linuxguruz.com/iptables/
> There you will find many example firewalls for all sorts of needs.
>
> The basic rule for a home LAN is to Masquarde all traffic from inside to
> the outside with the Inet IP# of the router, to do that one needs to use a
> basic masquerading firewall. (I am sure thats what debian sets as a default
> as most all distro's do the same thing).
>
> Your distro, will no doubtably have some or other GUI interface for doing
> such a job.
>
> If you need more help please explain in more detail just what you want and
> what you are using.
>
> >         I hope that you can help me, it is urgent for me.
> >
> > Thanks
>
> --
> Regards Richard.
>
> PS, spelling mistakes are free in this mail.

-- 
           Linux User Registered #232544
             Jabber : pepo@jabberes.org
                ICQ : 337889406
          GnuPG-key : www.keyserver.net
---------------- -------------------------------
                   dum loquimur, fugerit invida
aetas: carpe diem, quam minimum credula postero.


_____________________________________ 
Este mensaje ha sido analizado por el
Servicio Gratuito de Protección contra Virus de E-mail de EtapaOnLine.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

      reply	other threads:[~2005-09-11  5:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-03  3:39 accept some IP/users deny others pepo
2005-09-03 16:20 ` chuck gelm
2005-09-06 19:15 ` Richard Adams
2005-09-11  5:19   ` pepo [this message]

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=200509110019.35216.r4mz3z@yahoo.es \
    --to=r4mz3z@yahoo.es \
    --cc=pa3gcu@zeelandnet.nl \
    /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