Redirect-gateway def1

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-03-29T20:46:14Z Indexed on 2010/03/29 20:53 UTC
Read the original article Hit count: 135

Filed under:

I have setup OpenVPN on my server, and I am able to connect to it just fine, and browse the web, etc, from the client box. If I set the following option in the client config, I can no longer browse the web via domain name:

redirect-gateway def1

On the server, I have run the following command:

iptables -t nat -s 10.8.0.0/24 -A POSTROUTING -j SNAT --to myserver'sIP

but that hasn't changed anything.

Can anyone help suggest something?

© Stack Overflow or respective owner

Related posts about openvpn