which is not the most simple method - but this perlscript throws you the address of ppp0 #!/usr/bin/perl foreach (`ifconfig ppp0 2>/dev/null`) { if (/inet/) { chomp; split(/:/); @_[1] =~ s/\s+P-t-P/\n/; print (@_[1]); } } hope it helped... -----Original Message----- From: Eduard Meiler [mailto:edik@meiler.org] Sent: Wednesday, October 31, 2001 4:48 PM To: suse-security@suse.com Subject: [suse-security] ipchains with dynamic IP Hallo, a simple question. I'm running Suse Linux 7.2 with DSL ans I use damon dsl, which is starting pppd with pppoe. Now the connection is fine. I would like to put in the dsl script the Ipchains rules. How I tell this rules the IP for eth1, which is a dynamic IP from the Provider ? regards eduard