mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-16 11:58:47 +00:00
add icecast
This commit is contained in:
parent
ee877a1878
commit
e53889748c
@ -14,6 +14,7 @@ A collection of delicious docker recipes.
|
|||||||
|
|
||||||
## Todo
|
## Todo
|
||||||
|
|
||||||
|
- [ ] badvpn
|
||||||
- [ ] caddy
|
- [ ] caddy
|
||||||
- [ ] cloudtunes
|
- [ ] cloudtunes
|
||||||
- [ ] dsniff
|
- [ ] dsniff
|
||||||
@ -92,6 +93,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] ffmpeg
|
- [x] ffmpeg
|
||||||
- [x] ffmpeg-arm
|
- [x] ffmpeg-arm
|
||||||
- [x] ffserver :beetle:
|
- [x] ffserver :beetle:
|
||||||
|
- [x] icecast
|
||||||
- [x] live555
|
- [x] live555
|
||||||
- [x] minidlna
|
- [x] minidlna
|
||||||
- [x] murmur
|
- [x] murmur
|
||||||
|
56
badvpn/README.md
Normal file
56
badvpn/README.md
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
badvpn
|
||||||
|
======
|
||||||
|
|
||||||
|
## Build Binaries
|
||||||
|
|
||||||
|
```bash
|
||||||
|
apt-get install build-essential cmake
|
||||||
|
wget https://github.com/ambrop72/badvpn/archive/1.999.130.tar.gz
|
||||||
|
tar xzf 1.999.130.tar.gz
|
||||||
|
cd badvpn-1.999.130
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake -DBUILD_NOTHING_BY_DEFAULT=1 -DBUILD_TUN2SOCKS=1 -DBUILD_UDPGW=1 ..
|
||||||
|
make install
|
||||||
|
ls /usr/local/bin/
|
||||||
|
```
|
||||||
|
|
||||||
|
## Server Setup
|
||||||
|
|
||||||
|
```bash
|
||||||
|
badvpn-udpgw --listen-addr 0.0.0.0:7300
|
||||||
|
```
|
||||||
|
|
||||||
|
## Client Setup
|
||||||
|
|
||||||
|
```bash
|
||||||
|
systemctl start shadowsocks-libev@jp
|
||||||
|
|
||||||
|
ip tuntap add dev tun0 mode tun user root
|
||||||
|
ip addr add 10.0.0.1/24 dev tun0
|
||||||
|
ip link set tun0 up
|
||||||
|
|
||||||
|
badvpn-tun2socks --tundev tun0 \
|
||||||
|
--netif-ipaddr 10.0.0.2 \
|
||||||
|
--netif-netmask 255.255.255.0 \
|
||||||
|
--socks-server-addr 127.0.0.1:1080 \
|
||||||
|
--udpgw-remote-server-addr 45.32.57.113:7300
|
||||||
|
|
||||||
|
ip route add 45.32.57.113 via 192.168.31.1
|
||||||
|
ip route add 0.0.0.0/1 via 10.0.0.2
|
||||||
|
ip route add 128.0.0.0/1 via 10.0.0.2
|
||||||
|
```
|
||||||
|
|
||||||
|
## Client Test
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# ICMP (Failed)
|
||||||
|
ping ifconfig.co
|
||||||
|
|
||||||
|
# TCP/UDP (Success)
|
||||||
|
curl ifconfig.co
|
||||||
|
```
|
||||||
|
|
||||||
|
## References
|
||||||
|
|
||||||
|
- <https://code.google.com/archive/p/badvpn/wikis/tun2socks.wiki>
|
13
icecast/Dockerfile
Normal file
13
icecast/Dockerfile
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for icecast
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM alpine
|
||||||
|
|
||||||
|
MAINTAINER kev <noreply@easypi.info>
|
||||||
|
|
||||||
|
RUN apk add --no-cache icecast
|
||||||
|
|
||||||
|
EXPOSE 8000
|
||||||
|
|
||||||
|
CMD ["icecast", "-c", "/etc/icecast.xml"]
|
2
icecast/README.md
Normal file
2
icecast/README.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
icecast
|
||||||
|
=======
|
5
icecast/docker-compose.yml
Normal file
5
icecast/docker-compose.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
icecast:
|
||||||
|
image: vimagick/icecast
|
||||||
|
ports:
|
||||||
|
- "8000:8000"
|
||||||
|
restart: always
|
@ -1,5 +1,5 @@
|
|||||||
openconnect:
|
openconnect:
|
||||||
image: vimagick/openconnect
|
image: easypi/openconnect-arm
|
||||||
command: https://vpn.easypi.info:4443
|
command: https://vpn.easypi.info:4443
|
||||||
net: host
|
net: host
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user