I have a rather unusual network setup. I have a home network and a DSL
modem. A linux box ("gandalf") sits between the network and DSL modem.

The DSL modem gets a dynamic IP every time it powers on, which
fortunatly is not often. Its current IP is 216.114.197.4

The DSL modem is connected via a crossover cable to eth0 on
gandalf. It has a DHCP server installed, and gives gandalf an IP of
192.168.0.2 . The DSL modem itself (on this crossover cable network)
is 192.168.0.1 .

I am running an eggdrop bot and a ftp server on gandalf. I would like
to be able to allow passive FTP and DCC CHAT and SEND on gandalf. This
requires that the programs send the correct IP address (216.114.197.4)
and port to the client. the ip_*_ftp and ip_*_irc modules do not quite
work for this, since, as far as I can tell, they can only change the
packets to set the ip to 192.168.0.2.

If you've managed to understand what I'm asking, please suggest any
ways I can make this function properly.

-- 
Skip - http://www.plover.net/~skip/
GPG key 0x41963E43 - See http://www.plover.net/~skip/gpg.html
-------------------------------------------------------------
No shot was ever heard round the world.
In fact, in all of human history
Only two sounds have been heard around the entire world...
The first: A newborn baby's cry, saying, "It is begun."
The second: A young man's dying cry, saying, "It is finished."
- Calvin Miller, The Divine Symphony


Reply via email to