Robert Moskowitz wrote:
> I started shorewall, rebooted, and SSH connections from the internal net 
> were refused.  From the console I had to stop shorewall and iptables to 
> get in with SSH again.
>
> Note for below, interface Int is working and is how I am connected to 
> the gateway.  Interface Ext is connected to a switch that has no other 
> connections.  This is so the Interface will come up, but nothing will 
> happen on it.
>
> Policy:
> all     fw     DROP    info
> fw      all    DROP    info
> Int     Ext    ACCEPT
> Ext     Int    ACCEPT
>
> rules:
> SECTION NEW
> ACCEPT  all     all     icmp
> ACCEPT  all     fw      tcp     7722
> ACCEPT  all     fw      tcp     10000
> ACCEPT  Int     fw      tcp     5902:5903
> ACCEPT  Ext     fw      tcp     5902:5903
>
>
> Rules are suppose to override Policy, per 
> http://www.shorewall.net/manpages/shorewall-rules.html:
>
> "Entries in this file govern connection establishment by defining 
> exceptions to the policies layed out in shorewall-policy 
> <http://www.shorewall.net/manpages/shorewall-policy.html>(5)."
>
>
> so why does
>
> ssh 1.2.3.4 -p 7722
>
> get a connection refused?
>   
Have you configured the SSH daemon to listen on port 7722?

Regards,

Steve.


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to