User Tools

Site Tools


data_transport

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
data_transport [2011/05/18 13:16]
elch
data_transport [2011/05/18 13:17]
elch
Line 16: Line 16:
 iptables -I INPUT -p tcp -s 95.168.195.26 --dport 22 -j ACCEPT iptables -I INPUT -p tcp -s 95.168.195.26 --dport 22 -j ACCEPT
 iptables -I INPUT -p tcp -s 95.168.195.28 --dport 22 -j ACCEPT iptables -I INPUT -p tcp -s 95.168.195.28 --dport 22 -j ACCEPT
 +iptables -I INPUT -p tcp -s 95.168.195.29 --dport 22 -j ACCEPT
 </​code>​ </​code>​
 where 22 is the SSH port. where 22 is the SSH port.
Line 47: Line 48:
 man hosts.allow man hosts.allow
 </​code>​ </​code>​
 +
 ===== Push method ===== ===== Push method =====
 This is the new method better suited for users behind NAT or firewall and daemon enables it automatically if there was no pull for 15 minutes. Only requirement is OpenSSH client. On first daemon startup SSH key pair is created under ''/​var/​lib/​bijk''​. Then public part is sent to our master server via plain TCP connection to port 50010. This is repeated on every client startup in case of some issue in our server. Every 4 minutes (depends on bijk-node version) daemon spawns SSH to master server to port 22 which then setup local forwarding from 127.0.0.1:​50011 on your server to 127.0.0.1:​50009 on master server (through SSH tunnel). The period is configurable but minimum period for free users is 4 min. To change period to 1 minute edit (or create) file ''/​etc/​bijk/​plugins.yml''​ and add the following (NOTE: formatting is important and you can't use tabs):<​code>​ This is the new method better suited for users behind NAT or firewall and daemon enables it automatically if there was no pull for 15 minutes. Only requirement is OpenSSH client. On first daemon startup SSH key pair is created under ''/​var/​lib/​bijk''​. Then public part is sent to our master server via plain TCP connection to port 50010. This is repeated on every client startup in case of some issue in our server. Every 4 minutes (depends on bijk-node version) daemon spawns SSH to master server to port 22 which then setup local forwarding from 127.0.0.1:​50011 on your server to 127.0.0.1:​50009 on master server (through SSH tunnel). The period is configurable but minimum period for free users is 4 min. To change period to 1 minute edit (or create) file ''/​etc/​bijk/​plugins.yml''​ and add the following (NOTE: formatting is important and you can't use tabs):<​code>​
data_transport.txt ยท Last modified: 2013/02/28 16:32 by woky