Click to See Complete Forum and Search --> : Configuring Diald on Gateway


mcbeal
10-30-2000, 10:04 PM
Hi,

I'm currently using the Diald program. My situation is that I'm connecting my PC to a hub (which is connected to a gateway installed with an adsl modem). When the gateway detect packets for external network, it will run a script to activate my adsl modem. At timeout, it will run another script to down it. I'm using dynamic IP. What if I want to telnet or ftp to my internal network without activating my adsl link? For example, my gateway is pc1 and my clients are pc2 and pc3. If I ftp from pc2 to pc1, diald will dial out to internet. What should I do?

mcbeal
10-30-2000, 11:09 PM
Or can someone teach me how to write a simple daemon to do this?

mcbeal
10-30-2000, 11:13 PM
What I need the daemon to do is to constantly check for packets coming from a certain interface. If the packets are meant for internal network, I will run a script and if it's for external network, I'll run another script. It has to have timeout set for auto bringing down of the external link due to idle.

milanuk
10-31-2000, 02:51 PM
You might be able to do this w/ the filtering in the diald program.

Monte

mcbeal
10-31-2000, 07:34 PM
How do I set the filter?