1 |
On Wednesday 02 September 2009, walt wrote: |
2 |
> On 09/02/2009 07:11 AM, Helmut Jarausch wrote: |
3 |
> > Hi, |
4 |
> > |
5 |
> > I'd like to allow remote access (via ssh only) to a given machine. |
6 |
> > Unfortunately, my remote IP is dynamic and reverse lookup |
7 |
> > (e.g. specifying only_from = .skynet.be in /etc/xinetd.conf) doesn't |
8 |
> > work. So, I have to find out which IP ranges are used by a given |
9 |
> > internet provider (e.g. skynet.be). |
10 |
> > |
11 |
> > Does anybody know how to find out? |
12 |
> |
13 |
> Here's a quick and dirty trick: |
14 |
> |
15 |
> $host skynet.be |
16 |
> skynet.be has address 195.238.10.70 |
17 |
> |
18 |
> $whois -H 195.238.10.70 |
19 |
> <snip> |
20 |
> % Information related to '195.238.0.0 - 195.238.31.255' |
21 |
> inetnum: 195.238.0.0 - 195.238.31.255 |
22 |
> netname: SKYNET-B |
23 |
> descr: Belgacom SA/NV |
24 |
> descr: Internet access provider |
25 |
> |
26 |
> As Paul said, though, asking them is more accurate. |
27 |
|
28 |
Most ISPs have a web accessible control panel which should indicate which IP |
29 |
address you currently have. Alternatively, you can have your home |
30 |
server/router pinging an external server every 15 minutes or so and check the |
31 |
incoming logs of the external server for the change of the incoming IP |
32 |
address. The DynDNS solution must be the simplest though. |
33 |
-- |
34 |
Regards, |
35 |
Mick |