Hale's picture

Not exactly. To apply IPtables, there's a "Network" config in /etc/network in Symbian.

The problem is that it was not working.

I pinned the problem: "Act as router?" was enabled in network interface config in WebMin.

 

I am not sure what does it do, but it was clearing iptables completely.

 

However, after disabling this feature, firewall works, but routing does not work anymore via WebMin's firewall(IPtables) config.

 

How can I fix it?

 

==========

It seems for me that that thing uses iproutes2 to tweak kernel routes for transparrent routing, and cleans iptables rules. When it is turned off, there are just no chains in "mangle" and "nat" tables to route the traffic with iptables. Worse, DNS seems stopping responding, so I can not use even SQUID proxy on the same server (I don't know why).

How can I recreate normal router behaviour with "Webmin firewall" settings only? I mean, to forward all the local requests for the internet to other gateway in the same network (the same eth0) ?

 

Temporarily I made a script repopulating iptables again after webmin was started. But id does not seem correct because the firewall does not block anything during webmin startup.