i installed the OpenVPN Script from Nyr which works perfectly, now i want to forward Gameserver Ports like '25565', '7777', etc. for 2 Clients (alternately), but i don't understand iptables. I tried this:
Code: Select all
iptables -t nat -A PREROUTING -d ip.from.my.droplet -p tcp --dport 25565 -j DNAT --to-dest 10.8.0.3:25565
iptables -t nat -A POSTROUTING -d 10.8.0.3 -p tcp --dport 25565 -j SNAT --to-source 10.8.0.3
Any ideas how i can forward Ports to VPN Client
My System runs on Ubuntu 14.04 x64
i hope someone can help me