I currently have openvpn access server setup on a centos openvz server. I have two public static IP's on the server and two seperate clients at this time. One client is just a windows pc that connects to the open access server via the openvpn client. The other client is a dd-wrt router that is setup with OpenVPN. Both clients connect just fine. I have also setup routing so that the windows PC can ping all the IP's on the dd-wrt client side.
The OpenVPN public IP is venet0:0
The secondary public IP is on venet 0:1
the dd-wrt is on interface as0t1 going through static ip (openvpn) 10.0.0.2 and the dd-wrt router is on 10.136.1.1 (10.136.1.0/24) which contains all my servers on that subnet. I would like to portforward to my exchange server.
Can someone give me advise on how the iptables should look in order to port forward for example port 443 tcp to 10.136.1.11 from the public ip that is on interface venet0:1?
I appreciate anyones help.
Need to port forward several ports from public wan to client
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 1
- Joined: Sun Jan 13, 2013 6:41 pm