ClearFoundation Tracker - ClearOS
View Issue Details
0000993ClearOSapp-firewall - Firewallpublic2013-02-25 20:462019-04-26 02:52
user2 
 
normaltweakalways
closedsuspended 
 
 
0000993: Access to local WAN network should be permitted even when WAN is offline
In some circumstances, access equipment directly connected to a WAN is necessary even when offline. Consider example:

- WAN1 / eth1 @ 2.2.2.2 with gateway 2.2.2.1
- WAN2 / eth2 @ 3.3.3.3 with gateway 3.3.3.1
- LAN / eth3 @ 192.168.99.x

If WAN1 goes offline, it should be possible to still access the gateway at 2.2.2.1. Currently, that access fails due to masquerading/routing. When WAN1 is offline, traffic from the LAN (192.168.99.x) to 2.2.2.1 is not masqueraded. When the 2.2.2.1 system sends the reply, it will sent it out its default gateway (not back to 2.2.2.2).
In ClearOS 5.x, the following workaround is available - add masquerading to all WAN interfaces in /etc/rc.d/rc.firewall.local. Continuing with our example, this would be:

/sbin/iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
/sbin/iptables -t nat -A POSTROUTING -o eth2 -j MASQUERADE

In ClearOS 6, additional work is required. The individual routing tables for external interfaces (first loop in RunMultipath()) interferes with the above workaround. To investigate.
No tags attached.
Issue History
2013-02-25 20:46user2New Issue
2013-02-25 20:47user2Assigned To => user2
2013-02-25 20:47user2Statusnew => confirmed
2013-02-25 20:49user2Additional Information Updatedbug_revision_view_page.php?rev_id=45#r45
2013-02-25 20:49user2Assigned Touser2 => dsokoloski
2013-02-25 20:49user2Statusconfirmed => assigned
2013-02-25 20:56user2Description Updatedbug_revision_view_page.php?rev_id=47#r47
2019-04-26 02:52NickHNote Added: 0011811
2019-04-26 02:52NickHStatusassigned => closed
2019-04-26 02:52NickHAssigned Todsokoloski =>
2019-04-26 02:52NickHResolutionopen => suspended

Notes
(0011811)
NickH   
2019-04-26 02:52   
Migrated to https://gitlab.com/clearos/clearfoundation/app-multiwan/issues/2 [^] and redesignated to app-multiwan