site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Share Topic
Posting?
Post a:
Post a:
Links: ·VPN Forum FAQ ·VPN Terms ·SSH Sentinel ·Real VNC ·TightVNC
AuthorAll Replies


SoonerAl
Premium,MVM
join:2002-07-23
Norman, OK
kudos:5

reply to Douggiephres

Re: All traffic through VPN

Its been a long time since I ran an OpenVPN server/client pair but here goes...

Have you seen this?

»openvpn.net/index.php/open-sourc···redirect

This is in the server.ovpn file (Windows) on the OpenVPN server. See the example following from...

»openvpn.net/index.php/open-sourc···examples

quote:
# If enabled, this directive will configure
# all clients to redirect their default
# network gateway through the VPN, causing
# all IP traffic such as web browsing and
# and DNS lookups to go through the VPN
# (The OpenVPN server machine may need to NAT
# the TUN/TAP interface to the internet in
# order for this to work properly).
# CAVEAT: May break client's network config if
# client's local DHCP server packets get routed
# through the tunnel. Solution: make sure
# client's local DHCP server is reachable via
# a more specific route than the default route# of 0.0.0.0/0.0.0.0.
;push "redirect-gateway"
Uncomment the push statement, ie. remove the ";" character...

From further reading it is recommened to use the def1 flag in the push command. See the man page for details...

»openvpn.net/man.html

Alternatively you could put the redirect-gatewy statement in your client.ovpn (Windows) file. Here are examples...

»www.dd-wrt.com/wiki/index.php/Op···ration_2

Here are the OpenVPN forums for further help...

»forums.openvpn.net/

Thursday, 23-May 16:36:24 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 13.5 years online © 1999-2013 dslreports.com.
Most commented news this week
Hot Topics