[Gllug] Telnet from IP?

Bruce Richardson itsbruce at workshy.org
Thu Nov 9 12:23:58 UTC 2006


On Thu, Nov 09, 2006 at 11:45:34AM +0000, Yashpal wrote:
> Hi list,
> 
> This morning i am in different situation never before. I have two IPs 
> eth0 192.168.200.111 and eth0:1 192.168.200.222
> I have to test a partiuclar port lets say 3306 of a host(10.33.0.67) in 
> separate DMZ.
> I do telnet from the Linux box as
> telnet 10.33.0.67 3306
> 
> it gets connected and validates firewall is Ok from the IP 192.168.200.111
> 
> How should i check that secondary IP is also allowed in Firewall?

I'm assuming that you mean that this box has two addresses and you want
to make telnet use the second one?  Check that your version of telnet
supports the -b parameter, which allows you to specify the local address
that telnet should bind to when connecting.  If it doesn't then  use
netcat, which allows you to specify the source address to use with the
-s parameter.  

-- 
Bruce

A problem shared brings the consolation that someone else is now
feeling as miserable as you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20061109/b5cb9566/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list