FYI Incredible PBX help

Discussion in 'Help' started by PBX Novice, Oct 24, 2018.

  1. PBX Novice

    PBX Novice New Member

    Joined:
    Oct 24, 2018
    Messages:
    16
    Likes Received:
    0
    Yeah not sure I need a VPN just wanted to be secure. I also was hoping to be able to set up softphones on our staffs cell phones but as they have dynamic IPs I'm not sure how to allow them through on to the whitelist

    I keep getting permission denied to my request to view /root/knock.FAQ
    I'm suspecting that my IP somehow was blocked and I'm not sure how to gain access... @wardmundy any idea how I can gain access? Thanks in advance

    Thanks for the offer may take you up on it when I get some time at a normal hour :)
     
    #21 PBX Novice, Oct 31, 2018
    Last edited: Oct 31, 2018
  2. mainenotarynet

    mainenotarynet Not really a Guru - Just a long time user

    Joined:
    May 29, 2010
    Messages:
    554
    Likes Received:
    62
    IncrediblePBX is like fort knox, but the remote users , well I have the same issue, opening 5060 and 4329 (SIP and IAX2) ports blows a wide hole in the vault door, that is what Port Knocker is for, but I havn't figured how to do that with a cell phone where the IP cahnges faster than you change underwear. So I am stuck myself here. and by normal hour: I am usually up until 23:00 Eastern US nightly.
     
  3. PBX Novice

    PBX Novice New Member

    Joined:
    Oct 24, 2018
    Messages:
    16
    Likes Received:
    0
    Does google block caller ID spoofing?
    Do you know how incredible pbx locks down? I'm trying to access the port knocker file and I'm blocked out...
     
  4. mainenotarynet

    mainenotarynet Not really a Guru - Just a long time user

    Joined:
    May 29, 2010
    Messages:
    554
    Likes Received:
    62
    Google does not allow ANY number but your GVSIP number out its trung, It's whay I won'yt use it, I want my Main number out my trunks, google won't let me so google doesn't get used for outbound calls, only inbound for specific purposes.

    Incredible locks down on IP addresses (through iptables and iptables-custom [this is where most of the rules reside now, and where add-ip and add-fqdn puts the entries] )

    As for PortKnoker, there is a file in /root called knock.faq (or very similar) where it is a text document that will show how to use knockd. Port Knocker is an app on my android phone where I put in my server name, and the three numbers (in order) shown in that file. I find this useless as I want an app on my cell phone but the IPs on a cell network are not static to you phone, so as you move around towers the IP changes and again you get locked out every so often that it gets annoying , so useless. I am no programmer and Incredible is Free so I really cannot complain, but a more useful filtering (weather to replace or augment the IP tables) is a MACTables where many of the devices can be entered as MAC addresses and thence a Cell phones Wireless or cell antenna you could enter the MACTables and then never have it be disconnected as you move around -- even phones and computers have the MAC addresses that never change. I know a MAC can be spoofed (my router can do it) but it's a thought.
     
  5. PBX Novice

    PBX Novice New Member

    Joined:
    Oct 24, 2018
    Messages:
    16
    Likes Received:
    0
    So I used chmod to avoid the permission denied reply for knock.FAQ and now I get this:
    /root/knock.FAQ: line 1: Knock: command not found
    /root/knock.FAQ: line 2: To: command not found
    /root/knock.FAQ: line 3: nmap: command not found
    /root/knock.FAQ: line 4: Or: command not found
    I'm not even remotely a programmer but this clearly isn't what I was hoping for
    Any insight anyone?

    Thanks
     
  6. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,309
    Likes Received:
    2,437
    It's a text file, not a script to be run. Just type: cat /root/knock.FAQ
     
  7. PBX Novice

    PBX Novice New Member

    Joined:
    Oct 24, 2018
    Messages:
    16
    Likes Received:
    0
    @wardmundy
    Quite true
    Thanks for the education in Linux!
     

Share This Page