|
From: Veli-Matti R. <vm...@wi...> - 2005-07-21 15:47:03
|
Hi, > I just want to know where is the initial firewall rule > in SAB Gateway that causes the redirection to the SAB > Gateway ? > > Simply put where the redirection happens in the code ? > The initial ruleset is defined in a "template" file named sth like sysconf_iptables_tpl, which is in /usr/local/wifinet/templates/ directory. after running the /usr/local/wifinet/scripts/updateconfig.pl the actual firewall rule file /etc/sysconfig/iptables is replaced by a new one that is based on the template file and the parameter values in /usr/local/wifinet/conf/nwsetup.conf. The new rules will become effective after restarting the firewall with /etc/init.d/iptables or the whole gateway with /usr/local/wifinet/scripts/restart_gateway.pl Regards, Veli-Matti -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.9.2/53 - Release Date: 20.7.2005 |