I am recently learned about Shorewall firewall and decided to install it - The installation went fine, however, I have some problems with setting up rules (after spending several hours reading QA). Here is the setup: the firewall has two interface (eth0 => faces the DSL router and eth1 => faces my local net), eth0 is set for "net" and eth1 is set for "local" in the ZONES file. I have a web server (apache) that is running the same system and want to allow Internet users access it and open SSH (port 22) at the same time. Here is the what I have in the RULES file: .. ACCEPT:info net $FW tcp 80 ACCEPT:info net $FW tcp 22 I also tried but had no luck: ... ACCEPT:info net fw tcp 80 ACCEPT:info net fw tcp 22 By the way is there a difference between "$FW" and "fw" Please help.
> I am recently learned about Shorewall firewall and decided to install it - > The installation went fine, however, I have some problems with setting up > rules (after spending several hours reading QA). > > Here is the setup: the firewall has two interface (eth0 => faces the DSL > router and eth1 => faces my local net), eth0 is set for "net" and eth1 is > set for "local" in the ZONES file. I have a web server (apache) that is > running the same system and want to allow Internet users access it and open > SSH (port 22) at the same time. Here is the what I have in the RULES file: > .. > ACCEPT:info net $FW tcp 80 > ACCEPT:info net $FW tcp 22 > > I also tried but had no luck: > ... > ACCEPT:info net fw tcp 80 > ACCEPT:info net fw tcp 22 > > By the way is there a difference between "$FW" and "fw" > > Please help.Does your DSL use a ppp interface? Your best bet is to post all the info listed at Problem Reporting Guidelines on: http://www.shorewall.net/support.htm please include all your config files. Jerry