Barba Configuration File (Legacy Version 6.4 or Older
Note: This document is just for version 6.4 or older.
Mode=HTTP-Tunnel | UDP-Tunnel | TCP-Redirect | UDP-Redirect
It can be IP4 address or domain name such as vpn.server.com. It is recommended to use IP address instead domain name, so if domain name could not resolve at start time, you should restart Barbatunnel.
Server Mode: If set 0 then the server will listen to all associated network IP.
, Default is "1".
It can be "0" or "1". If "0" the item will be disabled.
Can be "HTTP-Tunnel" or "UDP-Tunnel" or "UDP-Redirect" or "TCP-Redirect".
, Default is empty key and will stop the encryption.
Your simple shared encryption key in Hex . BarbaTunnel XOR all packet data with this key. A VPN has already performed encryption so strong encryption does not require.
- Make sure server use same key.
Range of tunnel ports. BarbaClient will choose one of these ports by random.
If you like to use only one port just set one port such as: TunnelPorts=80
- Make sure BarbaServer accept these ports.
- Make sure your network firewall does not block this port.
- System Local Firewall such as Windows Firewall does not effect on BarbaTunnel, you don't need any change to them.
, Valid for UDP-Tunnel and TCP-Tunnel. Ignored in server mode.
BarbaClient grab packets from these protocols and put them to tunnel.
Sample1 for PPTP: GRE:*,TCP:1723
, Valid for UDP-Redirect and TCP-Redirect.
BarbaClient will redirect this port to a tunnel port.
, default is 5. Valid for HTTP-Tunnel.
Maximum TCP connection per user for each HTTP-Tunnel.
, default is empty and will not send fake header file. Valid for HTTP-Tunnel.
List of Header file that should be send to simulate HTTP connection POST and GET. a type will be selected by random.
Header files should be exists in Templates folder with header extension. eg: jpg.header
, default is 15000 (15MB). Valid for HTTP-Tunnel. Ignored in server mode.
Maximum size of fake file in kilobyte that going to GET or POST. a range between FakeFileMaxSize/2 and FakeFileMaxSize will be selected by random for each HTTP connection.
, default is 0. Valid for HTTP-Tunnel. Ignored in server mode.
Indicate the minimum size in byte of each packet that going to send or receive. Barbatunnel add extra padding bytes to make packets look bigger.
: When used it will decrease the bandwidth.
, default is 60. Valid for HTTP-Tunnel. Ignored in server mode.
Time in second for custom keep alive mechanism that makes sure all HTTP connections is valid and up.
Set 0 to disable it.
, the default will be generated by key. Valid for HTTP-Tunnel.
Shared Key name for BarbaTunnel data in HTTP request.
- You should put this file in a folder in BarbaTunnel Config folder. It is recommended to create a folder with your server domain name or IP address in BarbaTunnel config folder, then put this file in it. Such as: barbatunnel\config\yourserver.com\HTTP-Retunnel.ini