OpenVPN via Privateinternetaccess

This describes how to setup a permanent tunnel to privateinternetaccess. First download the certificates from privateinternetaccess here: https://www.privateinternetaccess.com/openvpn/openvpn.zip Unzip the .pem and .crt file to /config/openvpn-client on the edgerouter. Create a file called “client.ovpn” in the same folder with this content client dev tun proto udp resolv-retry infinite nobind persist-key persist-tun cipher aes-128-cbc auth sha1 tls-client […]

Read More

Easy certificate generation for openvpn

This script automates the process of generating certificates for OpenVPN on the edgerouter. Place this script under /config/openvpn and chmod it 755. Remember to edit the setup part of the script before running it. All output files are saved in cwd. #!/bin/bash #———————————————————————————————– # Setup CAname=Alex-CA CAsubject=”/C=DK/ST=SomeCity/L=SomeCity/O=CAworld” CAexpire=1000 CAkeyLength=2048 ServerName=vpn.mydomain.com ServerSubject=”/C=DK/ST=SomeCity/L=SomeCity/O=ServerWorld/CN=${ServerName}” ServerExpire=1000 ServerKeyLength=2048 ClientName=myclient ClientSubject=”/C=DK/ST=SomeCity/L=SomeCity/O=ClientWorld/CN=${ClientName}” ClientExpire=1000 […]

Read More

TMUX in Edgerouter

I like to have a nice terminal environment – also on my Edgerouter. With a few modifications to my original article http://www.cron.dk/tmux/ this is possible. One big advantage is that if you loose SSH connection, you will always continue where you left. I also like having my current configuration in one tab, while doing configuration in another. […]

Read More

Edgerouter, IPv6

Adding IPv6 to the Edgerouter My goal was to set up IPv6 on my Edgerouter with tunnelbroker.net because my ISP doesn’t support IPv6. There are a lot of nice instructions on the internet how to get a /64 network routed into one Edgerouter interface. But I found very little information on getting several /64 networks to […]

Read More