You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
773 B

# Example configuration with control socket enabled
[global]
my_private_key=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
my_public_key=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
control_ip=127.0.0.1 # Listen on localhost only
control_port=5555 # UDP port for monitoring
# TUN interface configuration
[tun]
ifname=tun12
ip_addr=10.0.0.1/24
mtu=1400
# Routing configuration
[routing]
allowed_subnet=10.0.0.0/8
allowed_subnet=172.16.0.0/12
allowed_subnet=192.168.0.0/16
# Connection configuration (example)
[[connection]]
name=node1
remote_ip=192.168.1.100
remote_port=12345
local_ip=0.0.0.0
local_port=0
mode=client
# Add more connections as needed