1
0
mirror of https://github.com/FrodoVDR/UdpPipe.git synced 2023-10-10 13:36:54 +02:00

my config changes

This commit is contained in:
Dirk Köhler 2019-03-09 16:35:34 +01:00
parent 4c11735c0d
commit 5a102ede42
5 changed files with 105 additions and 1 deletions

View File

@ -1 +0,0 @@
Look at http://www.liebrandapps.com/udppipe-a-udp-traffic-routing-utility for a description.

15
sample/client/udppipe.ini Normal file
View File

@ -0,0 +1,15 @@
# rename the template to udppipe.ini in order to use it
# once started lock at /tmp/udppipe.log
[head]
# Tail connects to this port port via TCP. UDP packets will be relayed through this connection
# this is the only mandatory key
pipePort=16001
# optional key - the ip of the connecting client needs to resolve to the hostname provided here
# use a dynamic dns provider to assign if you don't have a fixed ip / hostname
#tailHostname=<hostname>
# optional key - 10 = debug, 20 = info
# logLevel=10

50
sample/server/udppipe.ini Normal file
View File

@ -0,0 +1,50 @@
# rename the template to udppipe.ini in order to use it
# once started look at /tmp/udppipe.log
[tail]
# the following two keys tell thead app where to connect to
headHost=cloud2.koehlerweb.org
headPort=16001
# timeout in seconds to wait for a response or the next incoming packet giving up / cleaning up
timeout=60
# see head ini file
#logLevel=20
# portConfigs need to be numberer sequentially starting with index 1. Reading the config will stop at the first "missing" number.
# n - integer
# Example:
[portConfig_1]
id=L2TP_500
listenPort=500
forwardHost=192.168.4.51
forwardPort=500
[portConfig_2]
id=L2TP_4500
listenPort=4500
forwardHost=192.168.4.51
forwardPort=4500
[portConfig_3]
id=L2TP_1701
listenPort=1701
forwardHost=192.168.4.51
forwardPort=1701
#[portConfig_<n>]
#id=<string identifier, something meaningfull for you>
#listenPort=<port the head application should listen on for incoming udp packets>
#forwardHost=<hostname in the local network tail is running>
#forwardPort=<port number where the target service is running in the LAN>
#enableAdmin=yes
#adminPort=16002
#certificate=key/publickey.cer
#publicKey=key/publickey.pem
#privateKey=key/private.pem
#instanceName=My UdpPipe

View File

@ -0,0 +1,20 @@
# untested, feedback welcomed.
[Unit]
Description=UdpPipe - UDP Pipe
After=network.target
Requires=network.target
[Service]
Environment=PYTHONPATH=/usr/local/UdpPipe
WorkingDirectory=/usr/local/UdpPipe
ExecStart=/usr/bin/python /usr/local/UdpPipe/eu/liebrand/udppipe/Pipe.py nodaemon -H
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=udppipe
Type=simple
User=root
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,20 @@
# untested, feedback welcomed.
[Unit]
Description=UdpPipe - UDP Pipe
After=network.target
Requires=network.target
[Service]
Environment=PYTHONPATH=/usr/local/UdpPipe
WorkingDirectory=/usr/local/UdpPipe
ExecStart=/usr/bin/python /usr/local/UdpPipe/eu/liebrand/udppipe/Pipe.py nodaemon -T
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=udppipe
Type=simple
User=root
[Install]
WantedBy=multi-user.target