|
|
Hi to everybody. I'm a linux user with no knowledge whatsoever about openvpn, so please excuse my noob questions :-) I have a linux box sitting behind a gateway that implements NAT. I cannot change anything on the gateway, so no port forwarding is possible. I found a company that provides very cheap VPS hosting and I wanted use openvpn to get access to WWW, mail (smtp,imap+pop) and DB daemons. What I want to acheive is that when somebody types www.myvps.com the request will be redirected to my-nat-box:80. Same thing for all the other services I mentioned above. The service has to be outbound too, meaning that the traffic going out from my-nat-box has to go through myvps.com . I google'd around a little and learned how to set up basic VPN with the server/client config: *server.conf dev tap lport 5000 ifconfig 10.4.0.1 255.255.255.0 secret /etc/openvpn/vpn.key *client.conf remote myvps.com dev tap rport 5000 ifconfig 10.4.0.2 255.255.255.0 secret /etc/openvpn/vpn.key verb 9 This setup allows me to ping the both the servers. But implementing the port forwarding is the big issue. How do I proceed to do that? Is it something openvpn will take care of, or do I have to tune iptables too? Raven ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2008-01/msg00026.html on line 214 Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2008-01/msg00026.html on line 214 |