hvpn-node3/const.go
HeshamTB 32d90b67ce
WIP: feat: commands and tools to setup fw and system settings for VPN:
This is scrapped for now. It may be outside the scope of
    this service to manage the fw...

    Let that be handled by automations such as Ansible or other tools
    during deployment-time.

Signed-off-by: HeshamTB <hishaminv@gmail.com>
2024-03-31 00:30:33 +03:00

19 lines
363 B
Go

package hvpnnode3
import "net"
const (
CONTENT_JSON = "application/json"
CONTENT_OCTET = "application/octet-stream"
CONTENT_PLAIN_TEXT = "text/plain"
WG_CLIENT_MTU = 1380
SYS_PROC_IPV4_IP_FORWARD = "/proc/sys/net/ipv4/ip_forward"
)
var (
WG_CLIENT_DNS = []net.IP{
net.ParseIP("1.1.1.1"),
net.ParseIP("8.8.8.8"),
}
)