packages/socat: add init script

Init script to start instances of socat for port-forwarding etc.

Signed-off-by: Henning Schild <henning@hennsch.de>
This commit is contained in:
Henning Schild
2014-08-12 22:17:57 +02:00
parent ea2970aa72
commit 8b67d48c47
3 changed files with 53 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
# forward port 8000 on IPv6 to IPv4 host port 80
# change enable to '1' to use this example
config socat 'http'
option enable '0'
option SocatOptions '-d -d TCP6-LISTEN:8000,fork TCP4:192.168.1.20:80'