* How to Open POP3
@ 2005-06-01 6:39 Vinod H
2005-06-01 13:22 ` Eduardo Spremolla
0 siblings, 1 reply; 2+ messages in thread
From: Vinod H @ 2005-06-01 6:39 UTC (permalink / raw)
To: netfilter
Hi,
I am not so good in netfilter/iptables
I have Sendmail configured on my server and I am able to send and
receive mails in the intranet. Now I want to be able to access the
mails from outside world also but i dont want to open the port for
every one. I want to open the pop3 port for the perticular IP (it may
be static or dynamic IP) in the IPTABLES and close the port when not
needed to access from outside.
Please some one tell me how to do this and can I have some script
which will open the port when i need and close when not needed so that
I don't have to enter into the iptables every time.
How to open the pop3 port for a perticular external ipaddress
Please some one help me on this
Thanks and Regards
Vinod
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to Open POP3
2005-06-01 6:39 How to Open POP3 Vinod H
@ 2005-06-01 13:22 ` Eduardo Spremolla
0 siblings, 0 replies; 2+ messages in thread
From: Eduardo Spremolla @ 2005-06-01 13:22 UTC (permalink / raw)
To: Vinod H; +Cc: netfilter
$ipt -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
$ipt -A INPUT -p tcp -s YOUR-IP -m state --state NEW -m tcp --dport 110
-j ACCEPT
But you will need to execute this as root any time your ip change
LALO
On Wed, 2005-06-01 at 12:09 +0530, Vinod H wrote:
> Hi,
>
> I am not so good in netfilter/iptables
>
> I have Sendmail configured on my server and I am able to send and
> receive mails in the intranet. Now I want to be able to access the
> mails from outside world also but i dont want to open the port for
> every one. I want to open the pop3 port for the perticular IP (it may
> be static or dynamic IP) in the IPTABLES and close the port when not
> needed to access from outside.
>
> Please some one tell me how to do this and can I have some script
> which will open the port when i need and close when not needed so that
> I don't have to enter into the iptables every time.
>
> How to open the pop3 port for a perticular external ipaddress
>
> Please some one help me on this
>
> Thanks and Regards
>
> Vinod
>
Este e-mail y cualquier posible archivo adjunto está dirigido únicamente al destinatario del mensaje y contiene información que puede ser confidencial. Si Ud. no es el destinatario correcto por favor notifique al remitente respondiendo este mensaje y elimine inmediatamente el e-mail y los posibles archivos adjuntos al mismo de su sistema. Está prohibida cualquier utilización, difusión o copia de este e-mail por cualquier persona o entidad que no sean las específicas destinatarias del mensaje. ANTEL no acepta ninguna responsabilidad con respecto a cualquier comunicación que haya sido emitida incumpliendo nuestra Política de Seguridad de la Información.
. . . . . . . . .
This e-mail and any attachment is confidential and is intended solely for the addressee(s). If you are not intended recipient please inform the sender inmediately, answering this e-mail and delete it as well as the attached files. Any use, circulation or copy of this e-mail by any person or entity that not is the specific addressee(s) is prohibited. ANTEL is not responsible for any communication emitted without respecting our Information Security Policy.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-06-01 13:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-01 6:39 How to Open POP3 Vinod H
2005-06-01 13:22 ` Eduardo Spremolla
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.