Hello,
When I connect my laptop to OpenVPN server, I receive two default route. (0.0.0.0/1 ànd 128.0.0.0/1)
I’ve seen in log file of my client that these routes are push.
How can I do to delete these routes ?
Actually, all of traffic pass through the VPN tunnel.
I’ve tried to set redirect-gateway but it doesn’t work.
Thank you in advance.
Quentin.
Delete default route
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Delete default route
Who is the server you connect to ?
-
- OpenVpn Newbie
- Posts: 2
- Joined: Fri Nov 17, 2017 3:47 pm
Re: Delete default route
It’s my own server.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Delete default route
Those are the routes to enable --redirect-gateway def1
You need those routes.
HOWTO: Routing all client traffic (including web-traffic) through the VPN
Please see:
HOWTO: Request Help ! {2}