: Defines the listening port for incoming network traffic.
Crucial for multi-reader setups. It tells OScam how long to wait before trying a backup reader.
The file is divided into logical sections. The most important are:
Here's a brief explanation of the sections and some common settings: oscam.conf
Use failbantime and failbancount to block IPs that attempt to brute-force your OScam login.
Enables OSCam to act as a CCcam server for CCcam clients. | Parameter | Description | Example | |-----------|-------------|---------| | port | Listening port for CCcam protocol | port = 12000 | | version | Reported CCcam version to clients | version = 2.3.2 | | nodeid | Unique node ID (hex) | nodeid = 1234567890ABCDEF |
: A security filter determining which IP addresses can connect. For maximum security on a local network, limit this to 127.0.0.1,192.168.1.0-192.168.1.255 . : Defines the listening port for incoming network traffic
The [monitor] section enables a telnet interface for real-time debugging.
: When using the [cccam] module, setting stealth = 1 hides advanced server structures from client inspection, minimizing communication overhead.
A standard oscam.conf is typically broken down into these core parts: The file is divided into logical sections
preferlocalcards = 1 savenano = 1 double_check = 0 lb_mode = 1 lb_save = 600 lb_nbest_readers = 2 lb_nfb_readers = 1 lb_min_ecmcount = 5 lb_reopen_seconds = 120
The oscam.conf file is built around several distinct sections, each enclosed in square brackets. Only the [global] section is mandatory, while all others are optional, allowing you to tailor the software's functions to your specific needs.
# ===================================================================== # MASTER OSCAM GLOBAL CONFIGURATION # ===================================================================== [global] logfile = /var/log/oscam/oscam.log maxlogsize = 2048 nice = -10 clienttimeout = 4000 fallbacktimeout = 2500 waitforcards = 1 preferlocalcards = 2 dropdups = 1 lb_mode = 1 lb_save = 100 lb_savepath = /var/log/oscam/stat_data [cacheex] lb_auto_timeout_t = 300 [monitor] port = 0 monlevel = 0 [dvbapi] enabled = 1 au = 1 pmt_mode = 0 user = dvbapi_local boxtype = dreambox [webif] httpport = 8888 httpuser = sysadmin httppwd = ChangeThisWithASecurePassword httpallow = 127.0.0.1,192.168.0.0-192.168.255.255 httpreadonly = 0 httpsavefullcfg = 1 [anticasc] enabled = 0 Use code with caution. If youg., Raspberry Pi, Enigma2 Box, x86 PC).
[global] or top-level general options
: A port-per-CAID protocol. You must map specific ports to specific Conditional Access IDs (e.g., key = 0102030405060708091011121314 and port = 10000@0100:000000 ). Production-Ready oscam.conf Example