OSCam working with SSH Tunnel


On Cardserver at Home OScam listen to port 10001 with cs378x protocol. VPS Server is connecting to port 10001 trought the router on Cardserver at home. We will change this with a SSH tunnel, so You need only to open tcp port 22 on your router and forward it to you cardserver (like port 10001), that our vps can connect with port 22 on our cardserver. You need also to setup ssh with public key authentication.


Start SSH tunnel on VPS server

As example

Now You need to change the device to on your oscam.server file on the VPS Server.
External ports on router before

External ports on router after modification