maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   OpenVPN push "redirect-gateway" (https://talk.maemo.org/showthread.php?t=36069)

MaemoUser 2009-12-06 14:27

OpenVPN push "redirect-gateway"
 
Hi,

I'm trying to redirect my default gateway of the phone via my openvpn server. But it's not working I always get:

NOTE: unable to redirect default gateway -- Cannot read current default gateway from system

Has anybody yet tried to configure a different gw via Openvpn?

Thank's for your help.

mikkov 2009-12-06 14:33

Re: OpenVPN push "redirect-gateway"
 
redirect-gateway should work when you're on wlan, but on cellular connection it doesn't work.

Issue is summarized pretty good in this thread:
http://openvpn.net/archive/openvpn-u.../msg00028.html

There is no default gateway address which openvpn would need. It's
possible to hack around it but there isn't really a good solution.

MaemoUser 2009-12-06 14:45

Re: OpenVPN push "redirect-gateway"
 
Hm.
So there is no "real" workaround just selfmade scripts. Will there be a solution in the future?

MaemoUser 2009-12-06 15:11

Re: OpenVPN push "redirect-gateway"
 
maemo-update-resolvconf

is also not working it always fails with:
script failed: external program fork failed

Paff 2009-12-18 18:27

Re: OpenVPN push "redirect-gateway"
 
I have the same problem using cellular connection. So, there is no solution to fix this ?

Paff 2009-12-20 15:29

Re: OpenVPN push "redirect-gateway"
 
No answers yet, so OpenVPN don't work with cellular(3G) connection at all ?

mikkov 2009-12-20 20:09

Re: OpenVPN push "redirect-gateway"
 
Quote:

Originally Posted by Paff (Post 435334)
No answers yet, so OpenVPN don't work with cellular(3G) connection at all ?

redirect-gateway option doesn't work. OpenVPN works otherwise.

Paff 2009-12-21 14:43

Re: OpenVPN push "redirect-gateway"
 
Quote:

Originally Posted by mikkov (Post 435641)
redirect-gateway option doesn't work. OpenVPN works otherwise.

As I understood from your post, it's possible to fix it...
I'm a noob in linux and programming, can you tell me, how I have to configure my openvpn to make it working with my cellular network

p.s. sorry for my bad english too )

mikkov 2009-12-21 15:05

Re: OpenVPN push "redirect-gateway"
 
Quote:

Originally Posted by Paff (Post 436434)
As I understood from your post, it's possible to fix it...
I'm a noob in linux and programming, can you tell me, how I have to configure my openvpn to make it working with my cellular network

p.s. sorry for my bad english too )

sorry but the link in post #2 is all that I can say. I haven't tried the workarounds there myself.

Netweaver 2009-12-21 22:12

Re: OpenVPN push "redirect-gateway"
 
bump.

I would love to have a proper solution myself. could a generic (wlan & 3g) working solution be included in the openvpn package? either build-in or via a sort of before/after connection script ?
thanks,
Geert


All times are GMT. The time now is 13:40.

vBulletin® Version 3.8.8