Hi. I have a pptpd server on the wan interface (net), so I configured the /etc/shorewall/tunnels file as follow: #TYPE ZONE GATEWAY GATEWAY # ZONE pptpserver net When I check the shorewall configuration I get this error: ERROR: Unknown Host (-) : /etc/shorewall/tunnels (line 12) I''m using shorewall-perl as compiler. The line number 12 is the "pptpserver net" line. I don''t see any line regarding this error in shorewall.log and shorewall-init.log. What''s wrong? Thank you very much! Bye! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
shacky wrote:> Hi. > I have a pptpd server on the wan interface (net), so I configured the > /etc/shorewall/tunnels file as follow: > > #TYPE ZONE GATEWAY GATEWAY > # ZONE > pptpserver net > > When I check the shorewall configuration I get this error: > > ERROR: Unknown Host (-) : /etc/shorewall/tunnels (line 12) > > I''m using shorewall-perl as compiler. > > The line number 12 is the "pptpserver net" line. > > I don''t see any line regarding this error in shorewall.log and > shorewall-init.log. > > What''s wrong? >You need 0.0.0.0/0 in the GATEWAY column. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
Tom Eastep wrote:> shacky wrote: >> Hi. >> I have a pptpd server on the wan interface (net), so I configured the >> /etc/shorewall/tunnels file as follow: >> >> #TYPE ZONE GATEWAY GATEWAY >> # ZONE >> pptpserver net >> >> When I check the shorewall configuration I get this error: >> >> ERROR: Unknown Host (-) : /etc/shorewall/tunnels (line 12) >> >> I''m using shorewall-perl as compiler. >> >> The line number 12 is the "pptpserver net" line. >> >> I don''t see any line regarding this error in shorewall.log and >> shorewall-init.log. >> >> What''s wrong? >> > > You need 0.0.0.0/0 in the GATEWAY column. >Yes -- I''ve already corrected the man page. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
> You need 0.0.0.0/0 in the GATEWAY column.Thank you very much! Now it works! But this is not documented... Bye! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
shacky wrote:>> You need 0.0.0.0/0 in the GATEWAY column. > > Thank you very much! Now it works! > But this is not documented...It is documented: a) All of the examples at http://www.shorewall.net/PPTP.htm show an address in the GATEWAY column. b) The shorewall-tunnels(5) man page does not describe the GATEWAY column as being optional. Unfortunately, example 6 at the bottom of that man page omits the GATEWAY column. As I mentioned in an earlier post, I''ve corrected the man page. I''ve also changed the code for Shorewall 4.0.6 to substitute 0.0.0.0/0 if the GATEWAY is omitted. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/