Re: knowing my IP address behind NAT firewall

2005-06-01 Thread Roel Schroeven
dexter2 wrote: Hi, i'm connected to internet via DSL line. I have DSL modem with 4 eth ports. DSL modem serve also as NAT firewall. Each time i connect to internet, i have diferent IP, that my ISP assign to me. If i want to know my IP, that i use on internet, I have to connect to DSL modem via

knowing my IP address behind NAT firewall

2005-05-31 Thread dexter2
Hi, i'm connected to internet via DSL line. I have DSL modem with 4 eth ports. DSL modem serve also as NAT firewall. Each time i connect to internet, i have diferent IP, that my ISP assign to me. If i want to know my IP, that i use on internet, I have to connect to DSL modem via HTTP and read it

Re: knowing my IP address behind NAT firewall

2005-05-31 Thread Roberto C. Sanchez
On Tue, May 31, 2005 at 11:22:42PM +0200, dexter2 wrote: Hi, i'm connected to internet via DSL line. I have DSL modem with 4 eth ports. DSL modem serve also as NAT firewall. Each time i connect to internet, i have diferent IP, that my ISP assign to me. If i want to know my IP, that i use on

Re: knowing my IP address behind NAT firewall

2005-05-31 Thread Lee Braiden
On Tuesday 31 May 2005 22:22, dexter2 wrote: Each time i connect to internet, i have diferent IP, that my ISP assign to me. If i want to know my IP, that i use on internet, I have to connect to DSL modem via HTTP and read it there. Is there a unix command, that will get my internet IP? How

Re: knowing my IP address behind NAT firewall

2005-05-31 Thread Roberto C. Sanchez
On Tue, May 31, 2005 at 11:25:10PM +0100, Lee Braiden wrote: Since you asked, and I had wondered about this myself previously, I just worked it out (or, rather, stumbled across it). The following works for me: ping -c 1 hop www.google.com | grep 'bytes from' | cut -d ' ' -f 5 | cut -d

Re: knowing my IP address behind NAT firewall

2005-05-31 Thread Lee Braiden
On Tuesday 31 May 2005 23:48, Roberto C. Sanchez wrote: On Tue, May 31, 2005 at 11:25:10PM +0100, Lee Braiden wrote: ping -c 1 hop www.google.com | grep 'bytes from' | cut -d ' ' -f 5 | cut -d '(' -f 2 | cut -d ')' -f 1 Try this: lynx -dump http://checkip.dyndns.org |sed -n '/Current/s/.*: