tylert / wireguard-terraform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running Things

Network ACLs

Rule numbers can be assigned any values from 1 to 32766, inclusive (2^0 to 2^15-2). This code reserves for "its own use" the entire rule number range from 16834 to 32766 (2^14 to 2^15-2).

  • Rule numbers 23xxx to 32xxx are RFU.
  • Rule numbers xx5xx to xx9xx are RFU.
  • Rule numbers xxxx3 to xxxx9 are RFU.
  • Rule numbers xxxx0 are RFU.

ingress <-> RX = receive egress <-> TX = transmit

17xxx:  public ingress
18xxx:  public egress
19xxx:  private ingress
20xxx:  private egress
21xxx:  secure ingress
22xxx:  secure egress

xx0Nx:  traffic within our VPC
xx1Nx:  non-IP traffic (ICMP, IGMP, etc.)
xx2Nx:  L4 ephemeral ports (TCP, UDP, etc.)
xx3Nx:  application services (HTTPS, HTTP, etc.)
xx4Nx:  management services (SSH, VNC, RDP, etc.)

xxxx1:  IPv4
xxxx2:  IPv6

Security Groups

  1. Allow all outbound traffic to go anywhere from any subnets.
  2. Allow all inbound traffic to freely pass between the "same-tier" subnets.
  3. Allow all inbound traffic to freely pass between the "different-tier" subnets.
  4. Allow all inbound ICMP, HTTPS, SSH traffic to freely-enter all subnets.

TODO

Terraform Annoyances

SSH Keygen

References

Cleanup In Aisle Five

Diagrams

About

License:GNU General Public License v3.0


Languages

Language:HCL 93.5%Language:Go 5.0%Language:Shell 1.5%