Page 1 of 1

How can i forward Ports?

Posted: Fri Nov 27, 2015 6:30 pm
by NothingTV
Hello,

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
but it won't work.

Any ideas how i can forward Ports to VPN Client

My System runs on Ubuntu 14.04 x64

i hope someone can help me

Re: How can i forward Ports?

Posted: Tue Jan 12, 2016 6:16 pm
by NothingTV
Srly? No one can help me?