Date: Tue, 2 Nov 1999 14:09:42 +0200 From: Graham Wheeler <gram@cequrux.com> To: hackers@freebsd.org Subject: Hiding dynamic IPs Message-ID: <99110214212100.22671@cequrux.com>
next in thread | raw e-mail | index | archive | help
Hi all I have a program which requires static IP addresses for various reasons. It could be changed to handle dynamic IPs but this would be a fairly significant undertaking and would probably be quite kludgy, involving the generation of scripts that have to be run every time the link goes up and down, etc. Anyway, I want to use it now over a PPP link with dynamic address allocation. I'm trying to figure out a good way to do this. I reckon that it should be possible by using some kind of local tunnel that has a fixed IP on one end that the program can talk to, that will in turn talk to the PPP link. I tried creating an additional tun device and ifconfigging it with the two addresses, but it doesn't seem to work at all (if I ping either address I get no response, nor do I see any Ipkts or Opkts in the netstat -in output). Is there some other way of doing this? Ideally I want to avoid ipfw tricks, as ipfw is being used for other purposes on this host and I would like to keep the problems separate. TIA gram -- Dr Graham Wheeler E-mail: gram@cequrux.com Cequrux Technologies Phone: +27(21)423-6065/6/7 Firewalls/Virtual Private Networks Fax: +27(21)24-3656 Data/Network Security Specialists WWW: http://www.cequrux.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99110214212100.22671>