Documentation ¶
Index ¶
Constants ¶
View Source
const ( TeamvaultHostname = network.Host("teamvault.benjamin-borbe.de") ConfluenceHostname = network.Host("confluence.benjamin-borbe.de") MailHostname = network.Host("mail.benjamin-borbe.de") IPHostname = network.Host("ip.benjamin-borbe.de") ScreegoHostname = network.Host("screen.benjamin-borbe.de") )
Variables ¶
View Source
var Co2hz = Server{ Name: "co2hz", IP: network.IPStatic("192.168.178.6"), IPMask: network.MaskStatic(24), Gateway: network.IPStatic("192.168.178.1"), VpnIP: network.IPStatic("172.16.90.28"), }
View Source
var Co2wz = Server{ Name: "co2wz", IP: network.IPStatic("192.168.178.7"), IPMask: network.MaskStatic(24), Gateway: network.IPStatic("192.168.178.1"), VpnIP: network.IPStatic("172.16.90.24"), }
View Source
var Fire = Server{ Name: "fire", IP: network.IPStatic("192.168.178.3"), IPMask: network.MaskStatic(24), Gateway: network.IPStatic("192.168.178.1"), VpnIP: network.IPStatic("172.16.90.8"), }
View Source
var FireK3sDev = Server{ Name: "fire-k3s-dev", IP: network.IPStatic("192.168.178.22"), IPMask: network.MaskStatic(24), Gateway: network.IPStatic("192.168.178.1"), VpnIP: network.IPStatic("172.16.90.5"), }
View Source
var FireK3sMaster = Server{ Name: "fire-k3s-master", IP: network.IPStatic("192.168.178.20"), IPMask: network.MaskStatic(24), Gateway: network.IPStatic("192.168.178.1"), VpnIP: network.IPStatic("172.16.90.3"), }
View Source
var FireK3sProd = Server{ Name: "fire-k3s-prod", IP: network.IPStatic("192.168.178.21"), IPMask: network.MaskStatic(24), Gateway: network.IPStatic("192.168.178.1"), VpnIP: network.IPStatic("172.16.90.4"), }
View Source
var HM = Network{ Name: "hm", IPNet: network.IPNetStatic("192.168.178.0/24"), }
View Source
var Hell = Server{ Name: "hell", IP: network.IPStatic("192.168.178.9"), IPMask: network.MaskStatic(24), Gateway: network.IPStatic("192.168.178.1"), VpnIP: network.IPStatic("172.16.90.33"), }
View Source
var Hetzner = Server{ Name: "hetzner", IP: network.IPStatic("159.69.203.89"), IPMask: network.MaskStatic(32), Gateway: network.IPStatic("172.31.1.1"), VpnIP: network.IPStatic("172.16.90.1"), }
View Source
var HetznerVPN = Network{ Name: "hetzner-vpn", IPNet: network.IPNetStatic("172.16.90.1/24"), }
View Source
var HetznerVPNServer = VPNServer{ ServerName: "hetzner", ServerAddress: "hetzner-1.benjamin-borbe.de", Port: network.PortStatic(563), }
View Source
var Nova = Server{ Name: "nova", IP: network.IPStatic("192.168.178.122"), IPMask: network.MaskStatic(24), Gateway: network.IPStatic("192.168.178.1"), VpnIP: network.IPStatic("172.16.90.16"), }
View Source
var Nuke = Server{ Name: "nuke", IP: network.IPStatic("192.168.178.5"), IPMask: network.MaskStatic(24), Gateway: network.IPStatic("192.168.178.1"), VpnIP: network.IPStatic("172.16.90.4"), }
View Source
var PN = Network{ Name: "pn", IPNet: network.IPNetStatic("192.168.2.0/24"), }
View Source
var Rasp3 = Server{ Name: "rasp3", IP: network.IPStatic("192.168.178.2"), IPMask: network.MaskStatic(24), Gateway: network.IPStatic("192.168.178.1"), VpnIP: network.IPStatic("172.16.90.20"), }
View Source
var Rasp4 = Server{ Name: "rasp4", IP: network.IPStatic("192.168.178.8"), IPMask: network.MaskStatic(24), Gateway: network.IPStatic("192.168.178.1"), VpnIP: network.IPStatic("172.16.90.29"), }
View Source
var Star = Server{ Name: "star", IP: network.IPStatic("192.168.178.101"), IPMask: network.MaskStatic(24), Gateway: network.IPStatic("192.168.178.1"), VpnIP: network.IPStatic("172.16.90.32"), }
View Source
var Sun = Server{ Name: "sun", IP: network.IPStatic("192.168.2.3"), IPMask: network.MaskStatic(24), Gateway: network.IPStatic("192.168.2.1"), VpnIP: network.IPStatic("172.16.90.12"), }
Functions ¶
func BuildClientIPs ¶
func BuildIRoutes ¶
func BuildRoutes ¶
Types ¶
type ClusterName ¶
type ClusterName string
type VPNServer ¶
type VPNServer struct { ServerName openvpn.ServerName ServerAddress openvpn.ServerAddress Port network.Port }
Click to show internal directories.
Click to hide internal directories.