Community discussions

MikroTik App
 
roanitonet
just joined
Topic Author
Posts: 7
Joined: Sun Feb 05, 2017 12:53 am
Location: Goias
Contact:

Valid Ip in conection ppp-out 3g/4g Vivo

Fri Feb 10, 2017 1:54 am

Good evening, ladies, I'm having problems with ip valid, because the operators are with few available ips and pass ips starting at 100.0.0.0 and thus the MK Cloud does not update with the correct IP and I lose access to an IP camera that is running Behind a RB with ppp to the USB of the 3g Modem from VIVO, does anyone have any suggestions for the problem in question

Boa noite senhores, estou com problemas com ip válido, pois as operadoras estão com poucos ips disponíveis e repassam ips iniciando em 100.0.0.0 e assim o Cloud do MK não se atualiza com o IP correto e perco acesso a uma câmera IP que está rodando atrás de uma RB com ppp para a USB do Modem 3g da VIVO, alguém têm alguma sugestão para o problema em questão
You do not have the required permissions to view the files attached to this post.
Last edited by roanitonet on Mon Feb 13, 2017 5:42 pm, edited 2 times in total.
 
eduardomazolini
newbie
Posts: 31
Joined: Thu Jul 16, 2015 9:14 pm

Re: RE: Ip Válido em conexao 3g vivo

Fri Feb 10, 2017 3:34 am

Boa noite senhores, estou com problemas com ip válido, pois as operadoras estão com poucos ips disponíveis e repassam ips iniciando em 100.0.0.0 e assim o Cloud do MK não se atualiza com o IP correto e perco acesso a uma câmera IP que está rodando atrás de uma RB com ppp para a USB do Modem 3g da VIVO, alguém têm alguma sugestão para o problema em questão
Isso é CGNAT migra pro IPv6

Enviado de meu SM-G800H usando Tapatalk
 
andriys
Forum Guru
Forum Guru
Posts: 1543
Joined: Thu Nov 24, 2011 1:59 pm
Location: Kharkiv, Ukraine

Re: Ip Válido em conexao 3g vivo

Fri Feb 10, 2017 8:30 am

Guys, this is an international forum, please post here in English only!
 
roanitonet
just joined
Topic Author
Posts: 7
Joined: Sun Feb 05, 2017 12:53 am
Location: Goias
Contact:

Re: Ip Válido em conexao 3g vivo

Sat Feb 11, 2017 2:30 am

Sorry,

Good evening, ladies, I'm having problems with ip valid, because the operators are with few available ips and pass ips starting at 100.0.0.0 and thus the MK Cloud does not update with the correct IP and I lose access to an IP camera that is running Behind a RB with ppp to the USB of the 3g Modem from VIVO, does anyone have any suggestions for the problem in question
 
roanitonet
just joined
Topic Author
Posts: 7
Joined: Sun Feb 05, 2017 12:53 am
Location: Goias
Contact:

Re: RE: Ip Válido em conexao 3g vivo

Sat Feb 11, 2017 2:44 am

Infelizmente não tem suporte a IPV6, além disso preciso acessar uma câmera IP que está atrás dessa RB com IP Válido.

Boa noite senhores, estou com problemas com ip válido, pois as operadoras estão com poucos ips disponíveis e repassam ips iniciando em 100.0.0.0 e assim o Cloud do MK não se atualiza com o IP correto e perco acesso a uma câmera IP que está rodando atrás de uma RB com ppp para a USB do Modem 3g da VIVO, alguém têm alguma sugestão para o problema em questão
Isso é CGNAT migra pro IPv6

Enviado de meu SM-G800H usando Tapatalk
 
User avatar
null31
Member Candidate
Member Candidate
Posts: 183
Joined: Fri Dec 23, 2016 6:07 pm
Location: Brazil

Re: RE: Ip Válido em conexao 3g vivo

Sun Feb 12, 2017 5:38 pm

Infelizmente não tem suporte a IPV6, além disso preciso acessar uma câmera IP que está atrás dessa RB com IP Válido.
Are you sure?
Have you configured for get a IPv6 prefix from 3G?

In January i saw two smartphones with IPv6 and IPv4 CGNAT over 3G of Vivo, was in a city with less than 100.000 people.

Edit: I suggest to you to change the topic name to english.
 
User avatar
null31
Member Candidate
Member Candidate
Posts: 183
Joined: Fri Dec 23, 2016 6:07 pm
Location: Brazil

Re: Valid Ip in conection ppp-out 3g/4g Vivo

Tue Feb 14, 2017 7:43 am

I'm having problems with ip valid, because the operators are with few available ips and pass ips starting at 100.0.0.0 and thus the MK Cloud does not update with the correct IP and I lose access to an IP camera that is running Behind a RB with ppp to the USB of the 3g Modem from VIVO, does anyone have any suggestions for the problem in question.
Besides IPv6, you can try to use a script that reboot the interface ppp-out to renew IPv4 when is 100.0.0.0/8 and get a valid IP instead of CGNAT.
 
roanitonet
just joined
Topic Author
Posts: 7
Joined: Sun Feb 05, 2017 12:53 am
Location: Goias
Contact:

Re: Valid Ip in conection ppp-out 3g/4g Vivo

Thu Feb 16, 2017 4:45 am

I find Script.

{[:local pppIP [/ip address get [find interface=ppp-out1] address]; :if ( [:pick $pppIP 0 [:find $pppIP . ]] = 100 ) do={/interface pppoe disconnect ppp-out1 ; :delay 5s ; /interface pppoe connect ppp-out1}]}

shared up, Thank´s
I'm having problems with ip valid, because the operators are with few available ips and pass ips starting at 100.0.0.0 and thus the MK Cloud does not update with the correct IP and I lose access to an IP camera that is running Behind a RB with ppp to the USB of the 3g Modem from VIVO, does anyone have any suggestions for the problem in question.
Besides IPv6, you can try to use a script that reboot the interface ppp-out to renew IPv4 when is 100.0.0.0/8 and get a valid IP instead of CGNAT.
 
brunoeco
just joined
Posts: 18
Joined: Tue Jul 25, 2017 8:50 am

Re: Valid Ip in conection ppp-out 3g/4g Vivo

Thu Aug 17, 2017 5:56 am

Hi!

What if the local IP address is always in the 100.xxx.xxx.xxx range ?

Reconnecting doesn't change anything. Any other ways out of this ?

I'm also on VIVO provider
 
ivanfm
newbie
Posts: 48
Joined: Sun May 20, 2012 5:07 pm

Re: Valid Ip in conection ppp-out 3g/4g Vivo

Mon Aug 28, 2017 5:08 pm

In some places the providers are giving only the CGNAT addresses, you can try to change operator.

I use TIM and got valid IPV4 address, and IPv6 (São Paulo).

Another solution which I use to keep access and to be away from port blocking is to create a VPN from the router to a place where you have an valid IP address and create a port redirect from this valid IPV4 place to the router behind NAT.
 
brunoeco
just joined
Posts: 18
Joined: Tue Jul 25, 2017 8:50 am

Re: Valid Ip in conection ppp-out 3g/4g Vivo

Mon Aug 28, 2017 6:23 pm

In some places the providers are giving only the CGNAT addresses, you can try to change operator.

I use TIM and got valid IPV4 address, and IPv6 (São Paulo).

Another solution which I use to keep access and to be away from port blocking is to create a VPN from the router to a place where you have an valid IP address and create a port redirect from this valid IPV4 place to the router behind NAT.
Nice @ivanfm, do you have a link with instructions on how to setup this VPN for Mikrotik using AWS for example ?
 
ivanfm
newbie
Posts: 48
Joined: Sun May 20, 2012 5:07 pm

Re: Valid Ip in conection ppp-out 3g/4g Vivo

Mon Aug 28, 2017 6:44 pm

There are many tutorials in the wiki showing how to make VPN using mikrotik.

https://wiki.mikrotik.com/wiki/Category:VPN
https://wiki.mikrotik.com/wiki/Tunnels

You could use an standard linux or an Mikrotik CHR at AWS .

For best performance try to use ipsec

To work from any place the sstp is the best, because can work even behind proxy server.

http://rickfreyconsulting.com/mikrotik-vpns/