[Interface] Address = 10.99.x.1/30 # this address is the tunnel address ListenPort = 31037 # this port is the port that should be listened on. PrivateKey = 6GcJf56i5dY30t7tyuGExlJFl/vkiYcyfvDrTJoevWg= # PresharedKey = # optional PostUp = iptables -A FORWARD -i %i -j ACCEPT # commands here get executed on tunnel up, useful for firewall config for example PostDown = iptables -D FORWARD -i %i -j ACCEPT [Peer] #Name = XY PublicKey = KSODnmNkJG+ASAirrpmZJhEHwnCNoa7fIhvBS/txJQY= AllowedIPs = 192.168.11.0/24 # IP-Space of the Client that is allowed to be routed through.