Ir ao conteúdo

Atualizar End Point, TunnelBroker.

Bom dia!

Estou utilizando IPv6 aqui na minha rede local, porém sempre que eu iniciava o servidor tinha que acessar o site tunnelbroker e atualizar o End Point, então tive a idéia de fazer um script que atualizasse sozinho. Enviei um e-mail para o suporte deles e recebi a seguinte url como resposta: http://ipv4.tunnelbroker.net/ipv4_end.php

ipv4b = Novo endereço de IP
pass = md5 da sua senha (http://hash-it.net/)
user_id = O “UserID” da página principal no tunnelbroker (não é seu usuário)
tunnel_id = O “Global Tunnel ID” da página de detalhes do tunnel

Adicionei o seguinte comando no /etc/rc.local para pegar o IP atual da interface eth0 (externa):

IP=`ifconfig eth0 | grep “inet addr” | cut -d : -f 2 | cut -d B -f 1 | sed ‘s/^ *//;s/ *$//’`

Após isso adicionei a seguinte linha para fazer a requisição e atualizar o End Point:

wget https://ipv4.tunnelbroker.net/ipv4_end.php?ipv4b=$IP&pass=senha&user_id=USERID&tunnel_id=TUNNELID

Abraço,
Matheus

Publicado emAprendendoipv6Linux

59 Comentários

  1. Hi my family member! I wish to say that this post is awesome, nice written and include almost all vital infos. I would like to peer more posts like this .

  2. I cherished up to you will receive performed proper here. The caricature is attractive, your authored subject matter stylish. however, you command get got an impatience over that you would like be handing over the following. ill definitely come more before once more as exactly the similar nearly a lot ceaselessly inside of case you defend this increase.

  3. Hello would you mind sharing which blog platform you’re working with? I’m looking to start my own blog in the near future but I’m having a tough time choosing between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I’m looking for something unique. P.S Sorry for getting off-topic but I had to ask!

  4. Thanks for this excellent article. One more thing to mention is that nearly all digital cameras can come equipped with a zoom lens that permits more or less of that scene being included by way of ‘zooming’ in and out. These kind of changes in {focus|focusing|concentration|target|the a**** length tend to be reflected inside the viewfinder and on significant display screen on the back of the particular camera.

  5. Bk8 Bk8

    hi!,I love your writing so much! proportion we keep up a correspondence extra about your article on AOL? I need an expert on this space to resolve my problem. May be that’s you! Having a look ahead to see you.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *