Re: Problem with OpenVPN
- From: Allen Kistler <ackistler@xxxxxxxxx>
- Date: Fri, 13 Oct 2006 03:26:00 GMT
John Oliver wrote:
I built openvpn-2.0.7 on a Red Hat ES 4 machine. I can connect to it
with the OpenVPN GUI from Windows laptops. I get authenticated, get an
IP address, and get my routes from the VPN server.
I can ping and ssh to the VPN server.
I cannot ping or ssh to any other host on the same subnet as the VPN
server.
[snip]
I'm stumped... what more can I do to get this working?
You get nothing back probably because nothing knows that your VPN server
is the gateway back to your VPN client.
You need to enable forwarding on your VPN server
(/proc/sys/net/ipv4/ip_forward).
Then figure out how other machines know how to get packets back. I can
think of two options. (1) run masquerade in netfilter for anything
going out the wired interface and originating from the tun interface or
(2) put an explicit route in everything that your VPN addresses need to
use your VPN server's wired interface as the gateway.
Option (1) is probably simpler.
.
- Follow-Ups:
- Re: Problem with OpenVPN
- From: John Oliver
- Re: Problem with OpenVPN
- Prev by Date: Re: Roaming Profiles
- Next by Date: davFS - aborted operation but connection still established
- Previous by thread: handy DCHP server on Linux
- Next by thread: Re: Problem with OpenVPN
- Index(es):
Relevant Pages
|