Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ccd file, ifconfig-up directive #7

Closed
GoogleCodeExporter opened this issue Mar 19, 2015 · 8 comments
Closed

ccd file, ifconfig-up directive #7

GoogleCodeExporter opened this issue Mar 19, 2015 · 8 comments
Labels

Comments

@GoogleCodeExporter
Copy link

Version 0.4.8b effectively closes issue 6.

Now, when i have a ccd file (server side) for an android client, it always 
remembers the ifconfig-up line disregarding server restart or ccd file change. 
(i've cleaned the cache too, just in case)

Another issue is that trying to recconect after this error returns an "Address 
already in use" error. i have to clean memory (trought application manager) and 
re-open openvpn client to at least get to the point when it complainns about 
the  IP address (even when the ccd file it's empty) it bails with: "Cannot make 
sense of x.x.x.x and x.x.x.x as a local IP with CIDR netmask. assuming second 
address is peer address of remote. Using /32 netmask for local IP"

All ip addresses are valid (i even tried with the /30 Win32 limitation pairs)



Original issue reported on code.google.com by [email protected] on 5 May 2012 at 4:48

@GoogleCodeExporter
Copy link
Author

I have the same issue. I am allocated 10.8.0.21, the server has .22. This falls 
neatly into the 10.8.0.20/30 subnet.

Likewise with the hang.

Original comment by [email protected] on 5 May 2012 at 10:26

@GoogleCodeExporter
Copy link
Author

I am having the same issue.  Using "ifconfig-push 10.39.0.17 10.39.0.18" 
directive in ccd dir. 
- This IS working, if I use this from my windows client machine and IS a vaild 
10.39.0.0/30 net
- This WAS working with an older build of ics-openvpn (updated by market 
yesterday.. - probably I shouldn't ...)

Original comment by [email protected] on 6 May 2012 at 2:42

@GoogleCodeExporter
Copy link
Author

Do you get the android vpn connected screen? Does the show information output 
of the log window look right? (Under menu or in the action bar)

Original comment by [email protected] on 6 May 2012 at 3:01

@GoogleCodeExporter
Copy link
Author

It never completes the connection. It hangs in the log screen after the log 
line above. Pressing the X to terminate the connection will sometimes fix the 
issue, but not always. There's nothing in the action bar. The only time 
anything about being connected occurs is a toast just after starting the 
connection process.

Happy to provide server config if required to duplicate the issue.

Original comment by [email protected] on 6 May 2012 at 8:39

@GoogleCodeExporter
Copy link
Author

Yes I think it would be good if you can provide me the server config. as I am 
puzzeld what is causing this. You can mail me the server config in private you 
do not want to post it here.

Original comment by [email protected] on 6 May 2012 at 8:44

@GoogleCodeExporter
Copy link
Author

This is on a Fon 2.0n, where the OpenVPN process is started by command line 
rather than using a config file. It is slightly tweaked from normal, as I've 
added a TCP and a UDP server.

/usr/sbin/openvpn --syslog openvpn-u(openvpn) --writepid 
/var/run/openvpn-openvpn.pid --client-to-client --comp-lzo --persist-key 
--persist-tun --ca /etc/openvpn/keys/ca.crt --cert /etc/openvpn/keys/Fonera.crt 
--dh /etc/openvpn/keys/dh1024.pem --ifconfig-pool-persist /tmp/ipp.txt --key 
/etc/openvpn/keys/Fonera.key --max-clients 64 --port 1194 --status 
/tmp/openvpn.clients 15 --status-version 2 --verb 3 --pushroute 10.8.0.0 
255.255.254.0 --port 1194 --dev tun-ovpn-u --server 10.8.0.0 255.255.255.0 
--proto udp --client-config-dir /etc/openvpn/ccd/udp

root@Fonera:~# cat /etc/openvpn/ccd/udp/Jon_Phone
ifconfig-push 10.8.0.21 10.8.0.22

Original comment by [email protected] on 6 May 2012 at 9:30

@GoogleCodeExporter
Copy link
Author

I got my current version to crash rather than to do nothing. But still, there 
is a bug if neither the server nor the user sets any dns information. I will 
upload fixed version to the market shortly.

Original comment by [email protected] on 6 May 2012 at 9:43

@GoogleCodeExporter
Copy link
Author

I am closing the issue since the ifconfig hang should be fixed in 0.4.10. The 
other hang on reconnection is discussed in issue #12

Original comment by [email protected] on 8 May 2012 at 11:04

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant