Backup PPTP connection wont work

Guys,

We are renting a half 19" rack in a datacenter, i have a routerboard (os 5.2) which connect to a pptp server, this works fine… If my internet connection (uplink) dies i want to have a backup (backdoor) connection.

Using netwatch (ping 8.8.8.:sunglasses: and scripts i’m able to manage the pptp connection

if 8.8.8.8 is pingable, the routerboard has a pptp connection to a server, this works fine

if 8.8.8.8 is not pingable, the script:

  • enables the wireless interface
  • connects to a open network (available)
  • sets a route over the wireless network to the pptp-server
  • requests a new dhcp-lease on the wireless interface
  • and starts a new pptp to the same pptp server


    connecting to the wireless network works fine, estabilishing a pptp sesion also works, but the wireless router is blocking gre, therefor the tunnel wont work (remember, a direct connection works fine).

since pptp is designed to work like this, i need something else.


Which protocol/service can i use to connect my mikrotik box, behind a nat gateway, to a server on the internet?

ps. the ip of the nat gateway might change every now and then.

thanks!