Oscam dyndns problem with clients connection

There are 12 replies in this Thread which was already clicked 9,779 times. The last Post () by LFGringo.

  • Hi mates,


    I have setup an oscam server and almost everything is working fine.


    But when a client tries to connect to my server through my dyndns address, it is not possible. I get the message (invalid ip address), and he can be online, if I put manually his ip address in the "host" field. (oscam.user)
    You may find here below my configuration.



    [global]
    serverip = 0.0.0.0
    usrfile =
    mailfile =
    logfile = /dev/tty/var/log/oscam.log
    cwlogdir = /var/log/
    emmlogdir = /var/log/emm.log
    disablelog = 0
    disableuserfile = 1
    disablemail = 1
    loghistorysize = 4096
    usrfileflag = 0
    clienttimeout = 5000
    fallbacktimeout = 2500
    clientmaxidle = 120
    failbantime = 5
    failbancount = 0
    cachedelay = 0
    bindwait = 120
    netprio = 0
    sleep = 0
    unlockparental = 1
    nice = 99
    serialreadertimeout = 1500
    suppresscmd08 = 0
    maxlogsize = 4096
    waitforcards = 1
    waitforcards_extra_delay = 500
    preferlocalcards = 0
    saveinithistory = 1
    readerrestartseconds = 5
    dropdups = 0
    lb_mode = 10
    lb_save = 100
    lb_nbest_readers = 2
    lb_nfb_readers = 3
    lb_min_ecmcount = 5
    lb_max_ecmcount = 500
    lb_reopen_seconds = 900
    lb_retrylimit = 800
    lb_retrylimits =
    lb_nbest_percaid = 0604:2,0100:1,0500:1,0009:2
    lb_noproviderforcaid =
    lb_savepath = /tmp/.oscam/stat/oscam.stat
    lb_stat_cleanup = 336
    lb_use_locking = 0
    lb_reopen_mode = 0
    lb_max_readers = 0
    lb_auto_betatunnel = 1
    resolvegethostbyname = 1



    [monitor]
    port = 0
    serverip = 0.0.0.0
    nocrypt =
    aulow = 30
    hideclient_to = 15
    monlevel = 2
    appendchaninfo = 0


    [cccam]
    port = 12000
    reshare = 2
    ignorereshare = 1
    forward_origin_card = 0
    version = 2.1.4
    updateinterval = 240
    minimizecards = 0
    keepconnected = 1
    stealth = 1
    nodeid = xxxxxxxxxxxxxx
    reshare_mode = 0


    [webif]
    httpport = 9999
    httphelplang = en
    httpuser = oscam
    httppwd = oscam
    httpcert =
    httpcss =
    httpjscript =
    httptpl =
    httpscript =
    httprefresh = 60
    httpallowed = 127.0.0.1-255.255.255.255
    httpdyndns = blablabla.dyndns.com
    httphideidleclients = 0
    httpreadonly = 0
    httpsavefullcfg = 1


    oscam.user


    [account]
    user = test
    pwd = test
    description =
    disabled = 0
    expdate =
    allowedtimeframe =
    group = 2
    hostname = blablabla.dyndns.com (I must put here his ip number in order to be connected)
    uniq = 1
    sleep = 0
    monlevel = 2
    au =
    services =
    caid =
    betatunnel =
    ident =
    chid =
    class =
    suppresscmd08 = 0
    cccmaxhops = 1
    cccreshare = 0
    cccignorereshare = 0
    cccstealth = -1
    sleepsend = 0
    failban = 0
    keepalive = 1
    numusers = 0
    penalty = 0





    Thank you for your efforts.


    Regards


    Carmagedon

  • Does this happen with all peers or only the one?
    It could be that the client & server are in different locations, e.g vps.


    Yes with the peers from different location. The dyndns "thing" is working fine when connecting from a local ip address.


    What should I check ?


    Many thanks carmagedon

  • your hostname to [account] oscam.user is not correct, logically outside the local network may not enter anyone but you. (Invalid IP)


    I have copied-paste the dyndns address in the host field. I just need to know if there is any special syntax to do this.


    The "host name" logically, is my dyndns address or not ?

    Does anyone knows if I should put any other info at the host name field ?

  • oscam.user you should put in the hostname belonging to that user.


    His hostname what do you mean ?


    lets say that My dyndns address is work.dyndns.com


    The client's hostname is what ?


    [account]
    user = test
    pwd = testpass
    description = testaccount
    disabled = 0
    expdate =
    allowedtimeframe =
    group = 2
    hostname = ?????????????????
    uniq = 0



    Many thanks for your efforts

  • if that user is a line such newcamd own, with another EMU (CCcam) does not have to put that parameter (hostname =)


    but if a user outside your local network, you have to put that user dyndns
    hostname = user.dyndns.com

    Pardon my language
    I love OSCam build by lareq78


  • hostname = blablabla.dyndns.com (I must put here his ip number in order to be connected)


    I understand that means that if you put the static IP of the user you connect?


    if the IP is static, it is like a host, the host only thing it does is associate the public IP, then set the hostname = static IP

    Pardon my language
    I love OSCam build by lareq78

  • I understand that means that if you put the static IP of the user you connect?


    if the IP is static, it is like a host, the host only thing it does is associate the public IP, then set the hostname = static IP



    SOLVED


    Many many many many thanks to fongonero and the idea he provided me with!!!!!!!!!!!!!!

  • if that user is a line such newcamd own, with another EMU (CCcam) does not have to put that parameter (hostname =)


    but if a user outside your local network, you have to put the user dyndns
    hostname = user.dyndns.com


    Hi Mates, I have the same problem for users outside my local network not being able to connect to OSCAM (oscam.user) the server and the reader, work perfectly!(oscam.server) and the inadyn are working!
    if I understand what friend fogonero said, if you enter the hostname the user should work?
    something like this:


    [account]
    user = clientuser
    pwd = clientpass
    group = 1
    caid = 0xxx
    ident = 0xxx:00xxxx,00xxxx,00xxxx
    cccmaxhops = 2
    cccreshare = 0
    hostname = clientx.dyndns.com


    think adding dns address to the file (oscam.user) every user that are outside the local network can connect to the box??


    thanks for your efforts

OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!