SET UP VIRTUAL MACHINES \

  1. Install VirtualBox.

  2. Download router and test images: http://files.e.ructf.org/.

  3. Import both images to VirtualBox: "File->Import Appliance...

  4. 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.

  5. Check test image settings. Make sure that Adapter1 is bridged to your real network adapter.

  6. Startup both virtual machines. You will see root password and some instructions on logon screen.

  7. Follow instructions on logon screen and set IP addresses for:
    router image:
    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)
    test image:
    eth2 - Set static IP: 10.23.N.3 and gateway: 10.23.N.1 (where N is your team's number).

  8. You should change root password on the router image.

  9. 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 = 8.8.8.8

SET UP VPN CONNECTION \

  1. Download your team's VPN bundle (teamN.tgz). It was sent to your PoC e-mail (if not, please send message to: network@ructf.org). N is your team's number. Please, use it for network configuration (steps 6-8).

  2. Extract files from your VPN bundle. There should be three files: ca.crt, teamN.cer, teamN.conf.

  3. Remove password from your private key:

    openssl rsa -in private_key_with_password.key -out teamN.key
    The name of output file should be "teamN.key" (where N is your team's number).
  4. Copy 4 files: ca.crt, teamN.cer, teamN.conf, teamN.key to the /etc/openvpn/ directory of your router.

  5. Restart OpenVPN on your router ("service openvpn restart").

  6. 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)

  7. Leave both images running. You can poweroff your testimage when the game starts.