OpenVPN make redirect-gateway optional

Posted by Tuinslak on Server Fault See other posts from Server Fault or by Tuinslak
Published on 2010-03-13T13:46:28Z Indexed on 2010/03/13 13:55 UTC
Read the original article Hit count: 603

Filed under:
|
|

Hi there,

I'm currently running an OpenVPN server for multiple clients. All traffic is directed through the VPN (it's set up as gateway; push "redirect-gateway def1").

So far, all is working fine. However, I'd like to connect a couple of servers to this virtual private network, without these servers using the OVPN daemon as gateway.

These servers have to be accessible from both their WAN as well as their LAN IP address. Certain services will be accessible only from the LAN side.

Is there any way, for a client, to ignore the push redirect-gateway option?

Kind regards, Tuinslak

© Server Fault or respective owner

Related posts about openvpn

Related posts about gateway