Cannot Portforward a client

Scripts with setup, destroy, and modify routing tables and firewall rulesets for client connections.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
Spetsnaz
OpenVpn Newbie
Posts: 1
Joined: Wed Feb 20, 2013 12:29 pm

Cannot Portforward a client

Post by Spetsnaz » Wed Feb 20, 2013 12:36 pm

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 ~]#

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Cannot Portforward a client

Post by maikcat » Wed Feb 20, 2013 1:02 pm

post the output of

iptables -L -t nat -v

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Post Reply