Code:
17259 root 816 S /var/media/ftp/uStor01/external/balance -b 192.168.138.253 51831 [COLOR=red][B]xyxyxyxy.ath.cx[/B][/COLOR]
Code:
[B]balance[/B] 17259 root 4u IPv4 3106291 TCP [B]192.168.138.253:51831 (LISTEN)[/B]
balance 21343 root 1u IPv4 3108549 TCP 192.168.138.253:51831->[COLOR=red][B]192.168.138.185[/B][/COLOR]:33346 (ESTABLISHED)
balance 21343 root 2u IPv4 3108562 TCP 192.168.138.1:4188->[B]79.###.###.###:51831[/B] (ESTABLISHED)
FB 2 mit uhub server:
Code:
[B]uhub[/B] 2035 nobody 4u inet 3027 TCP [B]*:51831 (LISTEN)[/B]
uhub 2035 nobody 5u inet 11092408 TCP 169.254.2.1:51831->78.xx.xxx.xxx:4188 (ESTABLISHED)
EDIT:
Der lauschende balance proxy muss nach jedem onlinechanged, mit einem start-stop-Script neu gestartet werden, damit der Hostname immer auf die aktuelle/richtige externe (öffentliche) IP-Adresse zeigt.
Das heist dann wird nur der port 51831 weitergeleitet?
_ _
| |__ __ _| | __ _ _ __ ___ ___
| '_ \ / _` | |/ _` | '_ \ / __/ _ \
| |_) | (_| | | (_| | | | | (_| __/
|_.__/ \__,_|_|\__,_|_| |_|\___\___|
this is balance 3.54
Copyright (c) 2000-2009,2010
by Inlab Software GmbH, Gruenwald, Germany.
All rights reserved.
usage:
balance [-b addr] [-B addr] [-t sec] [-T sec] [-adfpHM] \
port [h1[
1[:maxc1]] [!%] [ ... hN[
N[:maxcN]]]]
balance [-b addr] -i [-d] port
balance [-b addr] -c cmd [-d] portecho x > /tmp/flash/security
-a enable channel autodisable option
-b host bind to specific address on listen
-B host bind to specific address for outgoing connections
-c cmd execute specified interactive command
-d debugging on
-f stay in foregound
-i interactive control
-H failover even if Hash Type is used
-M use MMAP instead of SHM for IPC
-p packetdump
-t sec specify connect timeout in seconds (default=5)
-T sec timeout (seconds) for select (0 => never) (default=0)
! separates channelgroups (declaring previous to be Round Robin)
% as !, but declaring previous group to be a Hash Type
examples:
balance smtp mailhost1:smtp mailhost2:25 mailhost3
balance -i smtp
balance -b 2001
B8::1 80 10.1.1.1 10.1.1.2
balance -b 2001
B8::1 80
Müsste es nicht groß -B sein?