Jump to content

Recommended Posts

Что-то я совсем запутался, координаторы не видят друг друга и всё тут. В логах ничего не блокирует. Схема такова:

Координатор 1 HW: Проброшен в инет портом 55777 udp через шлюз (внешний ip 87.255.240.17). Внешние клиенты его видят замечательно и соединяются.

Координатор 2 HW Подключен на прямую в инет (ip 87.255.240.240).

Оба координатора принадлежат одной сети, в цусе связи есть.

вот конфиг ip лир

Координатор1:

[id]
id= 0x06ce000a
name= Координатор 1
ip= 192.168.2.253
ip= 192.168.4.1
firewallip= 87.255.240.17
port= 55777
proxyid= 0x00000000
usefirewall= on
fixfirewall= on
virtualip= 11.0.0.1
version= 3.0-670
 

[id]
id= 0x06ce0017
name= Координатор 2
ip= 87.255.240.240, 11.0.0.14
accessip= 11.0.0.14
firewallip= 87.255.240.240
accessiplist= 87.255.240.240, auto, 87.255.240.240, 3, addrdoc
port= 55777
dynamic_timeout= 0
usefirewall= on
virtualip= 11.0.0.14
visibility= auto
version= 3.0-670

[adapter]
name= eth1
allowtraffic= on
type= internal

[adapter]
name= eth0
ip= 192.168.2.253
allowtraffic= on
type= external

[adapter]
name= eth2
allowtraffic= on
type= internal

[adapter]
name= eth3
ip= 192.168.4.1
allowtraffic= on
type= internal

[dynamic]
dynamic_proxy= off
firewallip= 192.168.2.253
port= 55777
forward_id= 0x0ffffffe
always_use_server= off
timeout= 25

[misc]
packettype= 4.1
timediff= 7200
warnoldautosave= on
client_pollinterval= 300
server_pollinterval= 900
tunnel_local_network= off
ifcheck_timeout= 5
ipforwarding= on
iscaggregate= on
msg_compress_level= 3
ompnumthreads= 1
mssdecrease= 0
ciphertype= gost
 

Координатор 2

[id]
id= 0x06ce0017
name= Координатор 2
filterdefault= pass
ip= 87.255.240.240
ip= 192.168.0.3
firewallip= 192.168.240.240
port= 55777
proxyid= 0x00000000
usefirewall= on
fixfirewall= on
virtualip= 10.0.0.1
version= 3.0-670
 

[id]
id= 0x06ce000a
name= Координатор 1
filterdefault= pass
ip= 192.168.2.253
ip= 192.168.4.1
accessip= 192.168.2.253
firewallip= 87.255.240.17
port= 55777
proxyid= 0x0ffffffe
dynamic_timeout= 0
usefirewall= on
virtualip= 10.0.0.2
version= 3.0-670
 

[adapter]
name= eth1
ip= 192.168.0.3
allowtraffic= on
type= internal

[adapter]
name= eth0
ip= 87.255.240.240
allowtraffic= on
type= external

[adapter]
name= eth2
allowtraffic= on
type= internal

[adapter]
name= eth3
allowtraffic= on
type= internal

[dynamic]
dynamic_proxy= off
firewallip= 87.255.240.240
port= 55777
forward_id= 0x00000000
always_use_server= off
timeout= 25

[misc]
packettype= 4.1
timediff= 7200
warnoldautosave= on
client_pollinterval= 300
server_pollinterval= 900
iparponly= off
ifcheck_timeout= 30
ipforwarding= on
iscaggregate= on
msg_compress_level= 9
mssdecrease= 0
ciphertype= gost
 

Как то так..

Share this post


Link to post
Share on other sites

Поставьте dynamic-proxy на первом координаторе, уберите usefirewall на втором. В конфигах интерфейсов (iplir config eth) поставьте логирование всего.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.