What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Remove items in ovpn file

octopus

Part of the Furniture
I'm trying to remove this in "openvpn/server1/config.ovpn":
Code:
push "redirect-gateway def1"
Tried,
Code:
pc_delete "push redirect-gateway def1" "$CONFIG"
In "openvpnserver1.postconf" but don't get it removed.
Any fix/trix?
 
Don`t enable the option to redirect WAN traffic.
 
Don`t enable the option to redirect WAN traffic.
I'm trying not to "push redirect-gateway for site-to-site" traffic.
I'm out in the wild here!
 
Testing this, push "redirect-gateway def1" is only removed when set to "LAN only".
That's because that's what "redirect gateway def1" does basically - tell the client to make that VPN your default gateway, so anything not handled by your client's routing table will be sent through the VPN.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Back
Top