Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Currently only A and B scenarios are supported. There will be more in future.

Scenario A

Terminals connect to Server via application’s built-in OpenVPN client’s secure channel. This is a preferred deployment by the operators that don’t have dedicated routers in their ATM machines that have VPN capability features.

Scenario B

Terminals connect to Server via VPN that is being provided by additional hardware such as router. This scenario is considered as more secure then A as the VPN configuration is NOT distributed by CAS.

Notes

Gate service

Listens for terminal’s pairing requests. In case of successful pairing gate service sends terminal VPN configuration including the information on where to connect to master service. Prior paring terminal VPN configuration must exist.
Gate service uses batmgate unix user, which is member of batm group.
Gate service is listening on port 7741. Please note that same port uses master service but on different interface.

Gate service’s TCP port 7741 should be accessible from the Internet only temporarily when performing the pairing. Don’t leave it open. Leaving it open will encourage attackers to try playing with your server.

Gate service is only compatible with terminals running on version 20230801 and newer! Terminals running older software will automatically get upgraded by gate service.

Configuration of gate service

/batm/config/network

See the example below to see that every service has it’s own bind IP address used to run application enabling expected behavior, basic setup will be created during first batm-manage start

public_ip=1.2.3.4
master_bind_ip=10.1.1.1
admin_bind_ip=10.1.1.2
gate_bind_ip=10.1.1.3

/batm/config/gate.properties

Basic properties fully functional will be generated by first batm-manage start gate (or all when it comes to gate service)

However gate service can be further configured by following properties:

  • batm.processing-slots

    • optional, default value: 20

    • this property is used to throttle upgrade traffic so server won’t be overloaded by too many terminals downloading upgrade packages at a time

  • batm.download

    • optional, default value: /batm/app/shared/

    • location where terminal upgrade package used to upgrade terminals to version 20230801 will be located, package will be downloaded once and then reused for all terminals

    • make sure location has correct permission and is accessible to batmgate user

Master service

Listens to terminal’s requests. Answers only terminal requests that are coming from trusted ( paired ) terminals.
Master service uses batmmaster unix user, which is member of batm group.
Master service is listening on port 7741. Please note that same port uses gate service but on different interface.

Master service should never be exposed to the Internet.

Admin service

Listens to user's browser requests. Enables CAS users to configure ATMs remotely and inspect processed transactions.
Admin service uses batmadmin unix user, which is member of batm group.

Admin service is listening on port 7777.

Admin service should never be exposed to the Internet.

Extensions

Very powerful way how to extend existing server’s functionality. More can be read here.

  • No labels