====== Routes == =====Definition===== Routes are used to configure routing between network segments and to redirect traffic to different providers. {{:ics-routing-new.png|Adding a route}} Route can direct traffic through defined gateway, network interface or provider. Routing through interface is usually used for various tunnel connections. Routing through gateway is used for routing in common Ethernet networks. =====Asymmetrical routing===== In the case when source (user) and gateway are located in one subnet, when creating a route it is necessary to make a remark “don’t pass traffic through firewall”. {{:ics-routing-pf.png|Asymmetrical routing}} In the example above, user 1 is located in 192.168.1.0/24 network, user 2 is located in 10.10.10.0/24. ICS is a default gateway for user 1. There is a route on ICS that allows user 1 to send requests to user 2. {{:ics-routing-pf-add.png|Adding a route(example)}} When user 1 sends a request to user 2 data packet passes through the default gateway then through the router and delivers request to user 2. Reply from user 2 will be delivered in a different way: data packet is sent to router and then directly from LAN switch to user 1. In case of simple data exchange without setting a session (exchange of UDP-segments) this scheme will work with ICS firewall setup by default. However, when connection sets up a session with a guaranteed data packet delivery (TCP connection) ICS firewall controls the session status and if the return data is missing for 30 seconds the connection will be dropped. In order to prevent that use the firewall exception. **Warning! Route excluded from firewall will not be processed by any other firewall rules.**