What Does "Redirect IPv4 Gateway" Do?
-
Could someone please explain to me what "Redirect IPv4 Gateway", which Forces all client-generated IPv4 traffic through the tunnel in OpenVPN means? I want to know the pros and cons to be able to decide whether I'll need to enable it or not. Thanks
-
It means literally what you typed: it forces all traffic through the VPN by making it the default gateway. This is what most people want 99.999% of the time. You would not want this if for whatever reason, you only wanted some traffic going over the VPN, and other traffic going out your real gateway.
-
@KOM said in What Does "Redirect IPv4 Gateway" Do?:
This is what most people want 99.999% of the time.
That depends on what the VPN is being used for. If it's a "road warrior" connected to a coffee shop WiFi, then yes. If for a site to site connection for internal traffic, then maybe not.
-
This post is deleted! -
Won't enabling this option, slow down my internet speed on the client side?
-
@Moon_D said in What Does "Redirect IPv4 Gateway" Do?:
Won't enabling this option, slow down my internet speed on the client side?
Given that it adds a couple of extra hops, including passing twice through the Internet connection at the other end, yes. As I mentioned, the main reason for this is when you use public WiFi, to prevent snooping, though TLS has largely reduced that threat. So, you have to determine your needs and be guided accordingly.
-
I want to force the client to use its own internet gateway. In my scenario, the client must definitely use its own internet. Some clients can send all traffic over VPN and the internet can be accessed through the VPN server's internet. I prevent this situation with security rules, but this time the internet cannot be accessed in any way. Even if routing is done to access the internet via VPN, my VPN server must not allow this and force it to use its own gateway. How do I do this?