Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - davegravy

Pages: 1 ... 30 31 [32] 33 34 ... 36
466
Users / Re: OpenVPN
« on: September 01, 2009, 10:52:12 pm »
I'm not sure build.sh is running from Configure_OpenVPN_Keys.sh... when I run the script manually it generates the keys directory along with all the keys, but does not do this when run from Configure_OpenVPN_Keys.sh

I don't know anything much about .sh scripts, but is the spawn syntax correct?

EDIT: the problem is that the 'expect' package is not installed by default. Add it to the list of packages installed in the script.

467
Users / Re: OpenVPN
« on: September 01, 2009, 10:13:28 pm »
Sorry! Not yet  ;)

#ls /etc/openvpn/easy-rsa/2.0/

build-ca          build-key-server  list-crl              revoke-full
build-dh          build-req         Makefile              sign-req
build-inter       build-req-pass    openssl-0.9.6.cnf.gz  vars
build-key         build.sh          openssl.cnf           whichopensslcnf
build-key-pass    clean-all         pkitool
build-key-pkcs12  inherit-inter     README.gz

There's no /keys directory here either... I'm not sure why the keys aren't being generated in their proper location.

468
Users / Re: iphone (SIAX client) and asterisk
« on: August 31, 2009, 09:31:14 pm »
You can use a domain name with IAX, so your DNS solution should work.

I'm by no means an expert either. If it's a common networking issue, can someone explain why I can access lmce-admin (http) using the public IP of my core from within the lmce internal network, but the same is not true for this IAX service?

469
Users / Re: OpenVPN
« on: August 31, 2009, 09:20:27 pm »
Did you run the script as root? I never get those errors when run as root. I will be making changes and incorporating OpenVPN into LinuxMCE web admin soon.

Yes, I ran as root.

After the script terminates the contents of /etc/openvpn/easy-rsa/ are as follows:

1.0  2.0  build.sh

There is no /keys directory.


470
Users / Re: iphone (SIAX client) and asterisk
« on: August 29, 2009, 03:58:13 pm »
By VSP I assume you mean Voip Service Provider. My VSP is iax04.unlimitel.ca (209.217.98.134) and is most definitely connecting to my core via IAX. Why Rogers and Magma Communications IPs are involved is beyond me.

471
Users / Re: OpenVPN
« on: August 29, 2009, 03:52:49 pm »
My reason for wanting to try openvpn, fyi, is as follows:

My workplace has a seriously draconian IT policy, dispite being a small company. I have HTTP, HTTPS (thankfully), FTP, RDP, and not much more in the way of non-firewalled ports. I want to use my core at home as a proxy to allow me unrestricted web communications. I can use ssh tunnelling via putty for most things, but not anything UDP (such as my office IAX/SIP softphone). I tried to ssh tunnel port 1723 to my core, and tried to establish a pptp vpn connection to no avail. Apparently it uses another protocol in tandem with tcp port 1723 (called GRE or something).

I'm interested to know if OpenVPN can do what I want, especially since it uses SSL which is supposedly UDP friendly.

472
Users / Re: iphone (SIAX client) and asterisk
« on: August 29, 2009, 03:38:50 pm »
Quote
hmmm... strange.... the 24.114.232.x addresses are Rogers Cable ... are you perhaps using Rogers for your iPhone telco? If so, then it looks like your phone is still attempting to connect externally at that point as well as internally.... realistically the only traffic on that interface you should see (when connecting internally) is your VSP, and probably only SIP traffic even then. Theres a stray 209.217.98.134 address to which is Magma Communications (part of Primus Canada).....

The second capture looks much the same.... still seeing traffic on both sides when really you shouldn't.... stronly suspect that the 24.114.232.x addresses are your iPhone's IP address through

Rogers is my ISP, but the test below was done with a softphone client installed on a windows PC inside the lmce internal network, not the iPhone. The iPhone was off. It's all very puzzling  ???


473
Users / Re: OpenVPN
« on: August 28, 2009, 08:55:52 pm »
Quote
cp: cannot stat `/etc/openvpn/easy-rsa/keys/ca.crt': No such file or directory
cp: cannot stat `/etc/openvpn/easy-rsa/keys/server.crt': No such file or directory
cp: cannot stat `/etc/openvpn/easy-rsa/keys/server.key': No such file or directory
25829 Mon May 11 16:32:45 CDT 2009 WaitLock 'Firewall' (Firewall)
25829 Mon May 11 16:32:45 CDT 2009 WaitLock 'Firewall' (Firewall) success
Clearing firewall
Enabling packet forwarding
Setting up firewall
Setting up forwarded ports
  Source port: 3080/tcp; Destination: 127.0.0.1:80
  Source port: 21/tcp; Destination: 192.168.80.254:21
  Source port: 1194/tcp; Destination: 192.168.80.1:1194
  Source port: 3877/tcp; Destination: 192.168.80.1:3877
Opening specified ports to exterior
  Port: 4569:4569/udp
  Port: 5060:5060/udp
  Port: 2000:2000/udp
  Port: 2000:2000/tcp
  Port: 22:22/tcp
  Port: 55237:55237/tcp
25829 Mon May 11 16:32:46 CDT 2009 Unlock 'Firewall' (Firewall)
25829 Mon May 11 16:32:46 CDT 2009 Unlock 'Firewall' (Firewall) success
Stopping virtual private network daemon:.
Starting virtual private network daemon: lmce-server(FAILED).

I just downloaded and ran the script, and got the same errors krys_ got before.


474
Users / Re: iphone (SIAX client) and asterisk
« on: August 28, 2009, 07:32:34 pm »
Well the issue is NOT specifically with the iphone. I installed an IAX softphone on one of my PCs on the linuxmce internal network, and the same thing happens.
   ie. can connect no problem to 192.168.80.1, but not to <MY INET IP>.

Here is a 30s log of IAX traffic when the client attempts (and succeeds) to register using 192.168.80.1, on both eth0 and eth1 interfaces:

http://pastebin.com/m2efb08bf

Here is a 30s log of IAX traffic when the client attempts (and fails) to register using <MY INET IP>, on both eth0 and eth1 interfaces:

http://pastebin.com/m7dbfc87f

I have no idea what 24.114.232.35 is. It's not my IP, nor does it belong to my VOIP provider (iax04.unlimitel.ca)


475
Users / Re: iphone (SIAX client) and asterisk
« on: August 28, 2009, 03:53:48 pm »
That's just it... There isn't any CLI output, unless of course I use the settings that work mentioned in the original post at which point it mentions successful registration etc. 

This suggests the packets sent when the phone tries to register aren't even making it to Asterisk. Is there a way to trace the packets through the various stages of routing that occurs within the core, to see where they are getting stopped? I suppose it's possible they're not even leaving the iPhone (if apple's draconian firmware is meddling with things) This is beyond my level of troubleshooting... Appreciate your help.

476
Users / Re: iphone (SIAX client) and asterisk
« on: August 28, 2009, 04:39:03 am »
IAX uses port 4569 (udp)... that's about all I can tell you about it.

iPhone It's set up to use DHCP (I've tested static settings as well). Here's the info it gives:

IP - 192.168.80.144
Subnet Mask - 255.255.255.0
Router - 192.168.80.1
DNS - 192.168.80.1
Search Domains - (blank)
Client ID - (blank)

As for tools I have on the iphone, I have an SSH terminal app, a tracert and a ping app.

I've been using verbosity = 9 in the asterisk CLI, I hope this is sufficient.

Thanks for the help,

Dave


477
Users / Re: iphone (SIAX client) and asterisk
« on: August 28, 2009, 12:01:39 am »
Tried your suggestion of disabling the firewall - doesn't work. Any other ideas?

478
Users / Re: iphone (SIAX client) and asterisk
« on: August 27, 2009, 09:24:32 pm »
Thanks Colin, I'll try this tonight when I'm home. The external IP is a public internet address.

479
Users / iphone (SIAX client) and asterisk
« on: August 27, 2009, 05:00:14 am »
I'm using SIAX on my iphone as an extension in linuxmce and am experiencing a strange situation.

When using the iphone over wifi (connected to internal linuxmce network) I must use 192.168.80.1 as the host name to register. If I use the internet IP address of my core, i get no registration (asterisk CLI shows nada in the way of connection attempts).

When using the iphone on 3G, using the internet IP address of my core works. Since obviously using 192.168.80.1 when connected via 3G won't work, this means I have to switch the server name each time I go on and off wifi.

Any ideas why I can't use the internet IP when inside the linuxmce network?

480
Users / Re: iPhone/iPod Touch Orbiter?
« on: August 26, 2009, 04:44:48 pm »
I'm in about the same predicament. My girlfriend's co-worker is an iphone app developer... maybe i'll see if I can entice him.

Pages: 1 ... 30 31 [32] 33 34 ... 36