I've set up a VPN on a Debian (7.8) server. On a Windows 8 machine, I can set up a VPN connection to the server and it works fine for TCP applications. Everything is going through the VPN.
However, UDP applications don't work. They continue to go through the normal route instead of using the VPN. One such application is Mumble (it's a VoIP application using UDP.)
Is there a way to also get UDP applications to use the VPN?
My /etc/pptpd.conf file is:
option /etc/ppp/pptpd-options logwtmp localip 192.168.0.1 remoteip 192.168.0.100-200
My /etc/ppp/pptpd-options file is:
name pptpd ms-dns 8.8.8.8 ms-dns 8.8.4.4 proxyarp nodefaultroute lock nobsdcomp noipx mtu 1490 mru 1490
The iptables commands are:
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE iptables -A FORWARD -p tcp --syn -s 192.168.0.0/24 -j TCPMSS --set-mss 1356