liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

README.md (949B)


      1 # ppp-server
      2 
      3 To test a router, we need an upstream connection. This directory
      4 contains a derivation to download, start and configure a RouterOS
      5 "Cloud Hosted Router" instance in a Qemu VM. It is currently
      6 set up for automated tests only, and may require some manual
      7 frobbing to run interactively.
      8 
      9 Note that you need to open some multicast ports if you're using the
     10 NixOS firewall (or probably, any other firewall). For iptables you can
     11 accomplish this by editing your configuration.nix or some module it
     12 calls:
     13 
     14 
     15 ```
     16     networking.firewall.extraCommands = ''
     17       ip46tables -A nixos-fw -m pkttype --pkt-type multicast -p udp --dport 1234:1236 -j nixos-fw-accept
     18     '';
     19 ```
     20 
     21 ## Provenance
     22 
     23 The chr-7.x.img image is taken from https://mikrotik.com/download -
     24 look in the section titled "Cloud Hosted Router" for "Raw disk image".
     25 Note that this is proprietary software: please read the license
     26 information and make sure you're using it legally.