[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Redirect Gateway: Cannot ping gateway


  • Subject: Re: [Openvpn-users] Redirect Gateway: Cannot ping gateway
  • From: Thomas Pedoussaut <thomas@xxxxxxxxxxxxxx>
  • Date: Tue, 22 May 2007 18:19:12 +0100

ournixnation@xxxxxxxxx wrote:
> Hello,
>
> I have a centos server located in a data center with openvpn running. 
> I can interact with the server over the vpn, but I cannot access the 
> internet. I also cannot ping the servers gateway while connected to 
> the vpn. I have "redirect-gateway def1" set in the server.conf file. I 
> have tried pushing a route to the gateway multiple ways, but nothing 
> has worked. The gateway is x.x.x.129 and the netmask is 
> 255.255.255.248 <http://255.255.255.248>. How would I go about 
> configuring this?
C is you client, S is your server and G is the gateway in your datacenter.

The redirect-gateway instruction is just to define a default route for C 
through S

What you need is:
- tell G how to reach C (through S)
- or masquerade your VPN connection on S
______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users