This project implements a TCP proxy server for forwarding traffic to various backend services.
The proxy accepts TCP connections and forwards them to target servers.
To configure your Galileosky device to use this proxy server:
Command format: REMOTECONFIGADDR server,port
Example:
Request: REMOTECONFIGADDR <your-proxy-ip>,9444
Response: REMOTECONFIGADDR=<your-proxy-ip>,9444
Command format: UPGRADEIP server,port
Example:
Request: UPGRADEIP <your-proxy-ip>,32132
Response: UPGRADEIP=<your-proxy-ip>:32132
Note: Commands are available on 7x terminals with firmware 44.0 and higher.
- Docker
- Docker Compose
docker-compose up -ddocker-compose downdocker-compose restartdocker-compose logs -f tcp-proxydocker-compose psHAProxy configuration is located in haproxy.cfg. After changing the configuration, restart the container:
docker-compose restart- 9444 - Remote configuration →
c.7gis.ru:9444 - 32132 - Firmware updates →
www.g-a-l-i-l-e-o.com:32132 - 60522 - Test telematic server (default settings) →
service.7gis.ru:60522
- Connect: 10 seconds
- Client: 3 minutes
- Server: 1 minute
- Tunnel: 8 hours (for long-lived connections)
gs-proxy/
├── docker-compose.yml # Docker Compose configuration
├── haproxy.cfg # HAProxy configuration
└── README.md # Documentation
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USER
newgrp dockergit clone <repository-url>
cd gs-proxy
docker compose up -dsudo ufw allow 22/tcp
sudo ufw allow 9444/tcp
sudo ufw allow 32132/tcp
sudo ufw allow 60522/tcp
sudo ufw --force enable