Created
December 2, 2022 11:53
-
-
Save danyanya/c9002cf7d34f9db9e1d9922298c10ee0 to your computer and use it in GitHub Desktop.
socat proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
ise-radius-auth: | |
image: alpine/socat | |
restart: always | |
# change 10.40.100.222 for your IP | |
command: UDP4-RECVFROM:1883,fork,reuseaddr UDP4-SENDTO:10.40.100.222:1812 | |
ports: | |
- 0.0.0.0:8812:1812 | |
logging: | |
driver: "json-file" | |
options: | |
max-size: "50m" | |
ise-radius-acct: | |
image: alpine/socat | |
restart: always | |
# change 10.40.100.222 for your IP | |
command: UDP4-RECVFROM:1883,fork,reuseaddr UDP4-SENDTO:10.40.100.222:1813 | |
ports: | |
- 0.0.0.0:8813:1813 | |
logging: | |
driver: "json-file" | |
options: | |
max-size: "50m" | |
ise-radius-coa: | |
image: alpine/socat | |
restart: always | |
# change 10.40.100.222 for your IP | |
command: UDP4-RECVFROM:3799,fork,reuseaddr UDP4-SENDTO:10.40.100.222:3799 | |
ports: | |
- 0.0.0.0:8899:3799 | |
logging: | |
driver: "json-file" | |
options: | |
max-size: "50m" | |
ise-radius-webui: | |
image: alpine/socat | |
restart: always | |
# change 10.40.100.222 for your IP | |
command: tcp-listen:8443,fork,reuseaddr tcp-connect:10.40.100.222:443 | |
ports: | |
- 0.0.0.0:8443:8443 | |
logging: | |
driver: "json-file" | |
options: | |
max-size: "50m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment