iptoip is a program to maintain an ipvsadm table coherent. It is specially
useful when using an intermittent internet connection or when your ISP breaks
conections to reaffect IP addresses (like in France)
It use the ipvsadm tool to
build and update a forwarding table.
The program is written in perl. It uses a configuration file to know which
interface to use, which port to forward, and to which box in the internal network.
For example your external ip is xxx.xxx.xxx.xxx and you forward the http
default port (80) to the computer zzz.zzz.zzz.zzz in your internal network.
Everytime you've got a new public ip you should launch iptoip to update
your ipvsadm table with your new ip yyy.yyy.yyy.yyy:80 to zzz.zzz.zzz.zzz:80
The name iptoip have no particuliar history, it was found when I was asked by
sourceforge to find a name for my project, before it was : toto, test, titi,
test1... But anyway, I think iptoip expresses well the idea to transfer
something from one ip to another ip...but you know...hey..."what's in my mind" (c) Pixies.
Some of these features are implemented, some are to come
- external XML configuration file
- only one file for several configurations
- check if IP is really public
- able to use syslog to log in /var/log/messages
- no-check mode
- verbose mode
- alternate syslog file
- graphical frontend one day
- v0.3.0 - Unstable:
- add udp/tcp support ( Thx Florin Grad )
- change verbose mode
* now an update line is dropped for every forward we add
* should be a lot clearer than before with some cosmetic changes
* remove redundant displaying
- fix usage of alternate config file
- update man/doc pages
- v0.2.0 - Stable release:
- add two manpages
- remove awful text in syslog :)
- CVS is up
- v0.1.7 - Major fixes:
- fix multiple conf bug ( pointed by Philippe Lafoucriere )
- fix inline --file option ( use --file ./xxxx )
- usage of total tag in iptoip.xml is now deprecated
- detects how much conf we have
- checks if conf tags are opened and closed
You can download the changelog here.
to use iptoip you need :
works under GNU/Linux-Mandrake 7.2.
you can browse CVS via a viewcvs interface on Sourceforge.
Written by Lenny Cartier.
I used some code from addns.pl
written by David Hasson.
Usage of iptoip is under the terms of the