On Saturday, January 4, 2003, at 11:52 AM, Jorge Luis Hernández Valdivia wrote:

Hi

I got a couple of lans joins by a firewall in linux,
something like this:

--------       ----------      -------      ----------
|Lan 0 |-------|Firewall|------|Lan 1|------|Firewall|
--------       | Linux  |      -------      | Windows|
               ----------                   ----------
                                                 |
                                            ----------
                                            |Internet|
                                            ----------

I need the Linux Firewall to pick a file from the lan
0 and send it automatically (crontab) by email to the
exterior. ¿What should I do?
Write a script that uses scp, rcp, or ftp to pull the file off of the machine in Lan 0.

Install some sort of MTA on the firewall and carefully configure it to not listen on the external interface, etc.

Use perl's Mail::* modules to create the message with file attachment and send.

There probably won't be any changes to iptables, since you're probably already allowing your firewall to initiate traffic.
--
Jason Costomiris <><
E: jcostom {at} jasons {dot} org / W: http://www.jasons.org/
Quidquid latine dictum sit, altum viditur.



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to