Hello, I''m not a subscribed user to the mailinglist and I try to install shorewall and get following error when I try to start it: iptables v1.2.11: invalid TCP port/service `ssh'' specified Could anybody tell me my mistake? Best Greetings! -- Fabian Braennstroem
Hello, Tom Eastep <teastep@shorewall.net> writes:> Fabian Braennstroem wrote: >> Hello, >> I''m not a subscribed user to the mailinglist and I try to install shorewall >> and >> get following error when I try to start it: >> iptables v1.2.11: invalid TCP port/service `ssh'' specified >> Could anybody tell me my mistake? >> > > Apparently your distribution''s /etc/services file doesn''t define the ssh > service. > > You can modify /etc/services by adding: > > ssh 22/tcp # SSH Remote Login Protocol > ssh 22/udp # SSH Remote Login Protocol > > or you can determine which configuration file is involved (see the Shorewall > Troubleshooting page under "Shorewall start and shorewall restart Errors") and > replace ''ssh'' by ''22''.Thanks, I never saw the ''/etc/services'' before ... I got the same error with ftp-data, but I could figure it out. Now it works! Best Greetings! -- Fabian Braennstroem Duesseldorf/Berlin
Fabian Braennstroem wrote:> Hello, > > I''m not a subscribed user to the mailinglist and I try to install shorewall and > get following error when I try to start it: > > iptables v1.2.11: invalid TCP port/service `ssh'' specified > > Could anybody tell me my mistake? >Apparently your distribution''s /etc/services file doesn''t define the ssh service. You can modify /etc/services by adding: ssh 22/tcp # SSH Remote Login Protocol ssh 22/udp # SSH Remote Login Protocol or you can determine which configuration file is involved (see the Shorewall Troubleshooting page under "Shorewall start and shorewall restart Errors") and replace ''ssh'' by ''22''. -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