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 ... 29 30 [31] 32 33 ... 35
451
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.


452
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.

453
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.

454
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  ???


455
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.


456
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)


457
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.

458
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


459
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?

460
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.

461
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?

462
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.

463
Users / Re: iPhone/iPod Touch Orbiter?
« on: August 26, 2009, 03:43:11 pm »
and some electromagnetic interference happened to arrange the bits in one of your hard drives to mirror one such distribution...
Errr, what? You been taking something :o
http://lmgtfy.com/?q=msi+wind+u100+osx
Ok, I suppose I asked for that  ::) However 95,300 hits  :-[ I was kind of hoping for a set of instructions that someone had verified worked. (I've followed MANY HowTos that don't work in the end!  >:()Never mind, thanks for the lead - I'll return IF I manage to get something working!

Not sure if you're being sarcastic. As I understand it, it's illegal to install MacOSX on pc hardware (partly due to DMCA). If it happened by fluke however, you'd be off the hook.

464
Users / Re: iPhone/iPod Touch Orbiter?
« on: August 25, 2009, 11:03:07 pm »
Supposing your hardware happened to be supported by OSx86, and some electromagnetic interference happened to arrange the bits in one of your hard drives to mirror one such distribution...

465
Users / Re: Network query
« on: August 24, 2009, 08:02:27 pm »
All your lmce devices must be on the internal network to function, but I understand you can have devices on the external network that do not rely on lmce for internet.

Pages: 1 ... 29 30 [31] 32 33 ... 35