SET UP VIRTUAL MACHINES \
Download router and test images: http://files.e.ructf.org/.
Import both images to VirtualBox: "File->Import Appliance...
Check router image settings. Go to: "Settings->Network->Adapter1, Adapter2". Make sure that they are both bridged to your real, hardware network adapter. It is preferable to use Ethernet adapters for bridging rather than Wi-Fi adapters.
Check test image settings. Make sure that Adapter1 is bridged to your real network adapter.
Startup both virtual machines. You will see root password and some instructions on logon screen.
Follow instructions on logon screen and set IP addresses for:
eth0 - this is your uplink (address is obtained via dhcp by default, feel free to change it to static, if dhcp is not used in your network)
eth1 - this is your internal interface.Set static IP: 10.23.N.1 (where N is your team's number)
eth2 - Set static IP: 10.23.N.3 and gateway: 10.23.N.1 (where N is your team's number).
You should change root password on the router image.
You should use following network settings for your team's PCs during the game (or virtual machines setup):
IP = 10.23.N.10 - 10.23.N.254
Netmask = 255.255.255.0
Gateway = 10.23.N.1
DNS = 184.108.40.206
SET UP VPN CONNECTION \
Download your team's VPN bundle (teamN.tgz). It was sent to your PoC e-mail (if not, please send message to: firstname.lastname@example.org). N is your team's number. Please, use it for network configuration (steps 6-8).
Extract files from your VPN bundle. There should be three files: ca.crt, teamN.cer, teamN.conf.
Remove password from your private key:
openssl rsa -in private_key_with_password.key -out teamN.keyThe name of output file should be "teamN.key" (where N is your team's number).
Copy 4 files: ca.crt, teamN.cer, teamN.conf, teamN.key to the /etc/openvpn/ directory of your router.
Restart OpenVPN on your router ("service openvpn restart").
Check network connectivity. You should be able to ping 10.20.0.2 from your router and testimage. Check your connection status at http://status.e.ructf.org/ (all tests for your team should pass, the page updates once in 30 minutes)
Leave both images running. You can poweroff your testimage when the game starts.