John Perser wrote:
I've been setting up a Linux machine in the hopes of getting IP-Masquerading working. To my surprise it appears from all of the documentation that I've read (SuSE manual and mini howto's) that you MUST have a static IP for Masquerading to work. Most ISP accounts in the US are of the dynamic variety when dealing with non-corporate users. As a result I would think that someone has solved this problem. Is there a particular howto out there that provides an IP-Masquerading configuration with a dynamic IP? If this can't be done, is there some other solution? SOCKS?
regs, -jrp
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
I use IP Masquerading in conjunction with diald for a dialup PPP connection and I get an IP address assigned dynamically. I have a couple of firewall rule files scripts that are executed automatically when diald brings the modem connection up and down. The way I get the dynamically assigned IP address for my server from the PPP connection is with the following statment in my firewall rules script: ISP_IP=`ifconfig ppp0 | grep 'inet addr' | awk '{print $2}' | sed -e "s/addr\://"` I execute the script with the "ip-up" directive in my diald.conf file. If you're interested I can forward you my script and configuration files I use for my server. Tony -- Anthony.Schlemmer@gte.net - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>