Solution above is one of the options.
Oscam can act as cccam client and server. Other solution allows you to use C line. In this case each C line need to be added as [reader] in oscam.server (we're the client).
Here is an example.
You get C line C: 192.168.0.5 45678 user4 password4
[reader]
label = remote4
protocol = cccam
device = 192.168.0.5,45678
user = user4
password = password4
group = 4
caid = 0400
cccversion = 1.2.34
cccbuild = 5678
There are many more options that can be set up with such virtual reader (like max hops, etc), all can be found on oscam wiki pages.
If you wish to run oscam as cccam server, just add your config to oscam.conf like here
[cccam]
port = 40000
version = 1.2.3
build = 1234
reshare = 2
You need to add user entries in oscam.user for your clients. And you can send them C line that connects to your oscam/cccam server
[account]
user = user2
pwd = password2
monlevel = 1
uniq = 0
group = 2
au = reader2
services = services2
ident = 0200:000000
caid = 0200