On 18/12/16 07:17, Muhammad Yousuf Khan wrote:
> Hello All,
> 
> I have been using openvpn for years this is a great vpn application.
> today i tuck in a issue which i never face before. i wanted to redirect
> all traffic through vpn for a client however it is not working. i place
> the redirect-gateway def1 in server config and client configs
> individually and on both configs at same time. but nothing works.
> the confusing point is that when remove the redirect-gateway value from
> both config. my vpn works fine. i can ping remote network IPs with no
> problem. but when i use this option i fail to ping any ip on remote. or
> even in local network. i dont know what is going on need you expert
> advice please.

--redirect-gateway is to be used on the client side.  To use it on the
server side, you normally --push "redirect-gateway def1" in the server
config.

Further, you need to ensure that the server allows the VPN tun/tap
device to forward traffic to the Internet *and* that IPv4 traffic is
NATed properly when hitting wild Internet.


-- 
kind regards,

David Sommerseth
OpenVPN Technologies, Inc


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to