Page 1 of 1

Cannot Portforward a client

Posted: Wed Feb 20, 2013 12:36 pm
by Spetsnaz
Server information : Centos 6 64 bit OpenVZ


So I currently facing this issue that I want to open up port 3074 for user 10.8.0.10
I have this in my iptables but still nothing
-A PREROUTING -d SERVERIP -p tcp --dport 3074 -j DNAT --to-destination 10.8.0.10:3074
-A PREROUTING -d SERVERIP -p udp -m udp --dport 3074 -j DNAT --to-destination 10.8.0.10:3074


[root@RUVPN ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT all -- 10.8.0.0/24 0.0.0.0/0

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@RUVPN ~]#

Re: Cannot Portforward a client

Posted: Wed Feb 20, 2013 1:02 pm
by maikcat
post the output of

iptables -L -t nat -v

Michael.