Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2002 13:28:19 +0200
From:      "Adam@junik.lv" <adam@junik.lv>
To:        <freebsd-security@freebsd.org>
Subject:   ssh and ipfw
Message-ID:  <003101c1beb8$b196e240$06cdb6d5@junik.lv>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
 I would appreciate any help with this issue:

I'm using ipfw on two machines, both running FreeBSD 4.5 RELEASE.
At both machines the following rules apply:
ipfw add pass tcp from A to B 22
ipfw add pass tcp form B to A 22
A and B being the respective IP addresses of the machines!

Surprisingly, when I tried to log from each of the machines into the other, the ipfw wouldn't pass any tcp through.


The login format is as per usual:

ssh username@A
ssh usernamer@B


Thanks in anticipation,
Adam



______________________________________
Scanned and protected by Inflex
http://pldaniels.com/inflex

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff>&nbsp;I&nbsp;would appreciate any 
help&nbsp;with this issue:
<DIV><FONT face=Arial color=#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff>I'm using ipfw on two machines, both running 
FreeBSD 4.5 RELEASE.</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff>At both machines the following rules 
apply:</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff>ipfw add pass tcp from A to B 
22</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff>ipfw add pass tcp form B to A 
22</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff>A and B being&nbsp;the respective IP 
addresses of the machines!</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff>Surprisingly, when I tried to log from each 
of the machines into the other, the ipfw wouldn't pass any tcp 
through.</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff>The login format is as per 
usual:</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff>ssh <A 
href="mailto:username@A">username@A</A></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff>ssh <A 
href="mailto:usernamer@B">usernamer@B</A></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff>Thanks in anticipation,</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff>Adam</FONT></DIV>
<DIV>&nbsp;</DIV></FONT></DIV>
<PRE>

______________________________________
Scanned and protected by Inflex
http://pldaniels.com/inflex

</pre>
</BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003101c1beb8$b196e240$06cdb6d5>