How to enable callbacks to WireGuard clients
tip
Ludus 2 changed the wireguard_vlan_default from ACCEPT to REJECT
Ludus user's WireGuard clients can initiate and maintain connections with VMs (i.e. RDP, SSH, VNC), but by default VMs cannot initiate connections to WireGuard clients.
If you want range VMs to be able to initiate connections to WireGuard clients, you must set
network:
wireguard_vlan_default: ACCEPT
Alternatively if you want to control which WireGuard clients can receive callbacks from specific IPs/VLANs with specific network rules
network:
rules:
- name: Allow traffic from a VLAN to any wireguard client
vlan_src: 10
vlan_dst: wireguard
protocol: all
ports: all
action: ACCEPT
- name: Allow traffic from a specific IP to any wireguard client
vlan_src: 10
ip_last_octet_src: 11
vlan_dst: wireguard
protocol: all
ports: all
action: ACCEPT
- name: Allow traffic from a specific IP to a specific wireguard client
vlan_src: 10
ip_last_octet_src: 11
vlan_dst: wireguard
ip_last_octet_dst: 2
protocol: all
ports: all
action: ACCEPT
Once you make this change in the range config you can apply it by running ludus range deploy -t network. For more information on deploy tags see tags.