No outgoing request from Wireguard server
-
Hi! I'm very new to VPNs but I have managed to configure a wireguard service in a container on my server and can connect to my LAN from my peers from outside.
My problem is that I think I cannot send requests from my server to my peers. I need this for VoIP. I have an asterisk service and my phone devices are not able to register when VPN is on.
When doing a
tcpdump -i eth0 -n -s0 -v udp port 5060
I can see both inbound and outbound requestsWhen doing a
tcpdump -i wg0 -n -s0 -v udp port 5060
I only see requests coming in but nothing going out. Should I have outbound requests too? How can I fixed this?My current iptable rules are:
iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE iptables -D INPUT -i wg0 -j ACCEPT iptables -D FORWARD -i eth0 -o wg0 -j ACCEPT iptables -D FORWARD -i wg0 -o eth0 -j ACCEPT iptables -D INPUT -i eth0 -p udp --dport 51820 -j ACCEPT
-
@xiki It isn't clear if and how this is related to pfSense.