Create an IPsec tunnel between 2 Mikrotik routers and dynamic public IPs

In this post we are going to create an IPsec VPN tunnel between two remote sites using Mikrotik routers with dynamic public IPs . By default, Mikrotik does not allow to use FQDN (domain names) to setup an IPsec tunnel, so we are going to create some scripts to update the IPsec configuration whenever the local or remote IPs change. The network layout is as follows: The first thing to take into account is that LAN addresses must be different between Site 1 and Site 2.

Continue reading

Be sync with Raspberry Pi

Is very common have the necessity to sync some kind of information with other computers or have a synchronize backup. In this post we explain how to install Btsync into the Raspberry PI. Download mkdir .btsync cd .btsync wget https://download-cdn.getsyncapp.com/stable/linux-arm/BitTorrent-Sync_arm.tar.gz tar -xvf BitTorrent-Sync_arm.tar.gz rm BitTorrent-Sync_arm.tar.gz ln -s /lib/arm-linux-gnueabihf/ld-linux.so.3 /lib/ld-linux.so.3 Configure cd ~/.btsync ./btsync --dump-sample-config > btsync.conf # browse the sample config file and change what you want Start at boot nano /etc/init.

Continue reading