oscam server to Client (LAN and WAN)

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

  • Hii,


    I am a neewbie. Just install oscam for window on my pc connected with omnikey 3021. I seem to have configured oscam.conf, reader, server, cccam on webif and can read card via omnikey from oscam.exe and webif card entitlement. My question are these:


    1. How do I connect my router and local box to oscam
    2. How will external client connet with my oscam server
    2. Do I need to forward any port on the router
    3. Do I need a dns from no-ip.com or dyndns.com and how do i use it
    4. What eise do i need to know or do.


    I am sorry once more. I have read almost all tutorial in this forum and dont seem to get to anywhere.


    Thanks. I appreciate all of your help in advance.


    SOJ

  • Thanks very much for your help. The local box uses cccam, but it has got mgcard, newcamd etc. My config are:


    • Official Post
    Quote

    1. How do I connect my router and local box to oscam


    Make sure the windows server has a static internal ip address, this is important because the local box will look for this ip and you are going to open a port in the router pointing to this ip.
    An [account] must be setup in oscam.user to allow the local box/client to connect to the server.


    Code
    [account]
    user = local
    pwd = box
    group = 1
    au = mypcsc


    You have [newcamd] and [CCcam] protocols active in oscam.conf already.. Your local box/client would connect with either of these;


    Code
    N: [COLOR='#FF0000']127.0.0.1[/COLOR] 17000 local box 01 02 03 04 05 06 07 08 09 10 11 12 13 14 
    C: [COLOR='#FF0000']127.0.0.1[/COLOR] 35000 local box


    (change 127.0.0.1 to the ip address of the server for internal sharing)


    Quote

    2. How will external client connet with my oscam server


    The same way the local box does, setup an [account] with new login details.. Only difference is they will use your dynamic hostname (dyndns or no-ip) to connect instead of ip address..


    Code
    N: my.hostname.no-ip 17000 local box 01 02 03 04 05 06 07 08 09 10 11 12 13 14 
    C: my.hostname.no-ip 35000 local box


    Quote

    3. Do I need to forward any port on the router


    If you intend using both [newcamd] and [CCcam] for external clients, then both of those ports you have set (17000, 35000) will need opened pointed to the server ip address.. You don`t need any open ports for internal sharing..


    Quote

    4. Do I need a dns from no-ip.com or dyndns.com and how do i use it


    You need an account from one of these services.. Dyndns is no longer free, but still worth the small fee. If you don`t want to pay use No-ip. They both come with an ip address updater client or you can add your hostname details to the router..


    Quote

    5. What eise do i need to know or do.


    For your own server security, i urge you to use different ports from what you have shown in this thread..


    Once you have completed all of the above the hard part is over. If you have any other questions just ask buddy..

  • Thanks for your help .


    Step 4
    I have a dns Emily. Ddns.net from no ip. How do i configure this, where do I insert the dns in my pc, oscam server or my router adsl xxxxx. Do I need to forward the dns to another port or one of 17000 or 35000.


    2. Do I use the external ip of my router or the ip from noip. Since noip update client updates dynamic ip, why the need to use static ip.


    3. What's the difference btw n, l, c and f line. How are they used. Think c line goes into cccam. Cfg in client


    4. Tried connecting my local m5 box to oscam on windows pc via cccam.cfg but it says offline.



    Pls. What am I not getting right.

  • Thanks Master G. I have mapped a static IP with port xxxx and yyyy on my router and got an hostname xxxxx.ddns.net from noip. I also installed noip update client to updates my external IP. The problrm is i still can not connect my local box to my windows oscam server with configuaration below. Pls i need your help.


    [global]
    logfile = stdout
    nice = -1
    cwlogdir = /var/log/oscam/cw
    [cache]


    [cs378x]
    port = x11x1


    [newcamd]
    port = xxxxx@0100:FFFFFF;10001@0200:FFF000,FFFF00;10002@0300:FFFFFF
    serverip = xxx.xxx.x.xx
    key = 0102030405060708091011121314


    [cccam]
    port = xxxxx
    serverip = xxx.xxx.x.xx
    nodeid = 938225991017142E
    version = 2.0.11
    reshare = 2


    [monitor]
    port = 988


    [webif]
    httpport = 8888
    httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255,10.0.0.0-10.255.255.255,255.255.255.255


    [reader]
    label = Reader-0
    description = mypcsc reader
    protocol = pcsc
    device = 0
    caid = 0963
    detect = cd
    group = 1
    emmcache = 1,3,2


    [account]


    user = local
    pwd = local
    group = 1


    [account]


    user = xxxxx
    pwd = xxxxx
    description = External
    caid = 0963
    au = 1
    group = 1
    ident = 0963:000000


    Thanks all for your help.

  • Thanks quick response.


    I have only got one card(uk). I beleive the setting for newcamd and cccam are for local and remote client to connect. Think remote newcamd client will connect using the newcamd config and cccam remote client will do like wise


    I have tried connecting local client using cccam (c line) via the static IP address of windows oscam server:


    C: xxx.xxx.x.xx 35000 user pwd


    oscam is installed on windows pc, so i use the static ip of the pc and the port forwarded for cccam.

    • Official Post

    If remote clients are going to use [newcamd] it will need to be setup like this;

    Code
    [newcamd]
    port = 17000@[COLOR='#FF0000']0963:000000[/COLOR]
    serverip = xxx.xxx.x.xx
    key = 0102030405060708091011121314


    Your internal client should be connecting with this;

    Code
    C: ip.address.of.server 35000 local local


    We will need to see an oscam log from startup to check what errors there are..

  • thanks. this is the log


  • This is the log without changing anything. but still cant connect local m5 box via cccam.


    2014/08/15 17:52:42 0 s userdb reloaded: 2 accounts loaded, 0 expired, 0 disabled
    2014/08/15 17:52:42 0 s signal handling initialized
    2014/08/15 17:52:42 0 s monitor: initialized (fd=3, port=988)
    2014/08/15 17:52:42 0 s cs378x: initialized (fd=4, port=30000)
    2014/08/15 17:52:42 0 s newcamd: initialized (fd=5, port=18235, ip=192.168.1.45)
    2014/08/15 17:52:42 0 s -> CAID: 0963 PROVID: 000000
    2014/08/15 17:52:42 0 s cccam: initialized (fd=6, port=40000, ip=192.168.1.45)
    2014/08/15 17:52:42 20094698 h webif: decompressed 149210 bytes back into 359272 bytes
    2014/08/15 17:52:42 20094698 h HTTP Server running. ip=0.0.0.0 port=8888
    2014/08/15 17:52:42 0 s Reader-0 [pcsc] creating thread for device 0
    2014/08/15 17:52:42 0 s loadbalancer: can't read from file /DOCUME~1/Sunny/LOCALS~1/Temp/_oscam/stat
    2014/08/15 17:52:42 0 s waiting for local card init
    2014/08/15 17:52:42 20098E08 r Reader-0 [pcsc] Reader initialized (device=0, detect=cd, mhz=357, cardmhz=357)
    2014/08/15 17:52:43 20098E08 r Reader-0 [pcsc] PCSC was opened with handle: -369033216
    2014/08/15 17:52:43 20098E08 r Reader-0 [pcsc] card detected
    2014/08/15 17:52:43 20098E08 r Reader-0 [pcsc] ATR: 3F FD 13 25 02 50 00 0F 33 B0 0F 69 FF 4A 50 D0 00 00 53 59 02
    2014/08/15 17:52:45 20098E08 r Reader-0 [pcsc] Card type: SYAV
    2014/08/15 17:52:45 20098E08 r Reader-0 [pcsc] Rom version: 40LF
    2014/08/15 17:52:45 20098E08 r Reader-0 [pcsc] Credit available on card: 35 euro
    2014/08/15 17:52:45 20098E08 r Reader-0 [pcsc] Region Code: W1H
    2014/08/15 17:52:45 20098E08 r Reader-0 [pcsc] Pincode read: 9962
    2014/08/15 17:52:45 20098E08 r Reader-0 [pcsc] PCB settings: 3F 0 E 0
    2014/08/15 17:52:45 20098E08 r Reader-0 [pcsc] type: ********** B***B (0963), caid: 0963
    2014/08/15 17:52:45 20098E08 r Reader-0 [pcsc] serial: ########, BoxID: ########, baseyear: 1997
    2014/08/15 17:52:45 20098E08 r Reader-0 [pcsc] ready for requests
    2014/08/15 17:52:45 20098E08 r Reader-0 [pcsc] found card system ***********
    2014/08/15 17:52:45 20098E08 r Reader-0 [***********] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max alloted of 1
    2014/08/15 17:52:45 20098E08 r Reader-0 [***********] card detected
    2014/08/15 17:52:45 20098E08 r Reader-0 [***********] type: ********** B***B (0963)
    2014/08/15 17:52:45 20098E08 r Reader-0 [***********] tier: 0003, expiry date: 2014/10/01-01:00:00
    2014/08/15 17:52:45 20098E08 r Reader-0 [***********] tier: 000b, expiry date: 2014/10/01-01:00:00
    2014/08/15 17:52:45 20098E08 r Reader-0 [***********] tier: 0010, expiry date: 2014/10/01-01:00:00
    2014/08/15 17:52:45 20098E08 r Reader-0 [***********] tier: 001d, expiry date: 2014/10/01-01:00:00
    2014/08/15 17:52:45 20098E08 r Reader-0 [***********] tier: b765, expiry date: 2014/10/01-01:00:00
    2014/08/15 17:52:45 20098E08 r Reader-0 [***********] tier: b766, expiry date: 2014/10/01-01:00:00
    2014/08/15 17:52:45 20098E08 r Reader-0 [***********] tier: b772, expiry date: 2014/10/01-01:00:00
    2014/08/15 17:52:45 20098E08 r Reader-0 [***********] tier: b773, expiry date: 2014/10/01-01:00:00
    2014/08/15 17:52:45 20098E08 r Reader-0 [***********] tier: b846, expiry date: 2014/10/01-01:00:00
    2014/08/15 17:52:45 20098E08 r Reader-0 [***********] tier: b860, expiry date: 2014/10/01-01:00:00
    2014/08/15 17:52:45 20098E08 r Reader-0 [***********] tier: b8d2, expiry date: 2014/10/01-01:00:00
    2014/08/15 17:52:45 20098E08 r Reader-0 [***********] tier: b968, expiry date: 2014/10/01-01:00:00
    2014/08/15 17:52:49 0 s init for all local cards done
    2014/08/15 17:52:49 0 s anti cascading disabled

  • Yes. cccam is connected locally. see additional log. Will have to find a way to try remote connection now.


    2014/08/15 18:21:27 2009F7C8 c anonymous disconnected from 192.168.1.7
    2014/08/15 18:23:13 0 --- Skipped 5 duplicated log lines ---
    2014/08/15 18:23:26 0 --- Skipped 10 duplicated log lines ---
    2014/08/15 18:23:26 200D2638 c encrypted cccam-client 192.168.1.7 granted (NEWUSER1, au=off)


    Thanks so much. God Bless.

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!