Changes

90 bytes added ,  17:38, 28 February 2023
no edit summary
Line 46: Line 46:  
== BACnet/IP configuration ==
 
== BACnet/IP configuration ==
 
This is the most commonly used type of BACnet, which is designed to work over Ethernet networks using the Internet Protocol (IP). It supports both IPv4 and IPv6 addressing.
 
This is the most commonly used type of BACnet, which is designed to work over Ethernet networks using the Internet Protocol (IP). It supports both IPv4 and IPv6 addressing.
 +
 +
For this configuration you must have a Public IP address. You can read up more on this in our article on '''[[Private and Public IP Addresses]]'''.
    
=== Router 1 ===
 
=== Router 1 ===
Line 52: Line 54:  
==== BACnet ====
 
==== BACnet ====
 
----
 
----
Install the BACnet package on RUT955 and navigate to '''Services → BACnet''' → '''enable''' the '''instance''' and '''BBMD'''. Everything else can be left as default or changed according to your needs.
+
Install the BACnet package on RUT955 and navigate to '''Services → BACnet''' → '''enable''' the '''instance'''. Everything else can be left as default or changed according to your needs.
   −
<<SCREENSHOT>>
+
[[File:BACnet enable instance.png|border|center|class=tlt-border|818x210px]]
    
==== Firewall ====
 
==== Firewall ====
Line 60: Line 62:  
The configuration will also require you to add port forward rule in the firewall configuration. To do that, open Router1 WebUI and navigate to '''Network → Firewall → Port Forwards'''. Create a port forward rule to forward UDP packets from Router2 WAN to Router1 LAN address port.
 
The configuration will also require you to add port forward rule in the firewall configuration. To do that, open Router1 WebUI and navigate to '''Network → Firewall → Port Forwards'''. Create a port forward rule to forward UDP packets from Router2 WAN to Router1 LAN address port.
   −
<<SCREENSHOT>>
+
[[File:Router1 firewall port forward.png|border|center|class=tlt-border|797x617px]]
 +
 
 +
# '''Enable''' instance
 +
# '''Name''' - enter desired name
 +
# '''Protocol''' - UDP
 +
# '''Source zone''' - WAN
 +
# '''External port''' - YABE port
 +
# '''Internal zone''' - LAN
 +
# '''Internal IP address''' - PC LAN IP
 +
# '''Internal port''' - YABE port
    
'''Note''': When YABE sends registration packets you will need to find out which port YABE is using (One way is to look through the traffic with wireshark on your PC or TCP dump on router 1 or router 2)
 
'''Note''': When YABE sends registration packets you will need to find out which port YABE is using (One way is to look through the traffic with wireshark on your PC or TCP dump on router 1 or router 2)
    
If you restart YABE software or delete and create new communication device, YABE might use different port number, and you will need to change port forward configured in router connected to your PC.  
 
If you restart YABE software or delete and create new communication device, YABE might use different port number, and you will need to change port forward configured in router connected to your PC.  
  −
==== Server ====
  −
----
  −
Open YABE and create IP communication node by click on '''add device'''.
  −
  −
<<SCREENSHOT>>
  −
  −
Then select the node and go to '''Meniu → Functions → IP services → Foreign device registration''' and enter public IP address of Router2 (the one connected to controller).
  −
  −
<<SCREENSHOT>>
      
=== Router 2 ===
 
=== Router 2 ===
Line 81: Line 82:  
==== BACnet ====
 
==== BACnet ====
 
----
 
----
Install the BACnet package on RUT955 and navigate to '''Services → BACnet''' → '''enable''' the '''instance''' and '''BBMD'''. Everything else can be left as default or changed according to your needs.
+
Navigate to '''Services → BACnet''', there:
   −
<<SCREENSHOT>>
+
# '''Enable''' BACnet
 +
# '''Enable''' BBMD
 +
# '''BBMD interface''' - select the interface with Public IP.
 +
# '''Enable Port forward''' - this will automatically create a port forward rule.
 +
 
 +
[[File:BACnet enabled BBMD.png|border|center|class=tlt-border|746x305px]]
 +
 
 +
Everything else can be left as default or changed according to your needs.
    
==== Firewall ====
 
==== Firewall ====
 
----
 
----
The configuration will also require you to add port forward rule in the firewall configuration. To do that, open Router1 WebUI and navigate to '''Network → Firewall → Port Forwards'''. Create a port forward rule to forward UDP packets from Router2 WAN to Router1 LAN address port.
+
If you would like manually creating a port forward rule, navigate to '''Network → Firewall → Port Forwards'''.
 
  −
<<SCREENSHOT>>
     −
'''Note''': When YABE sends registration packets you will need to find out which port YABE is using (One way is to look through the traffic with wireshark on your PC or TCP dump on router 1 or router 2)
+
[[File:BACnet firewall router2.png|border|center|class=tlt-border|864x602px]]
   −
If you restart YABE software or delete and create new communication device, YABE might use different port number, and you will need to change port forward configured in router connected to your PC.
+
# '''Enable''' instance
 +
# '''Name''' - enter desired name
 +
# '''Protocol''' - UDP
 +
# '''Source zone''' - WAN
 +
# '''External port''' - 47808
 +
# '''Internal zone''' - LAN
 +
# '''Internal IP address''' - Router LAN IP
 +
# '''Internal port''' - 47808
   −
==== Server ====
+
=== Server ===
 
----
 
----
 
Open YABE and create IP communication node by click on '''add device'''.
 
Open YABE and create IP communication node by click on '''add device'''.