Date: Fri, 7 Mar 2008 19:02:43 +1030 From: "nepbabu" <nepbabucxspamfree@yahoo.ca> To: Siraj Shaikh <siraj.shaikh@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Manually opening TCP ports Message-ID: <20080307083243.GB9838@everest.volcano.com> In-Reply-To: <3b2ddd940803062347w3fefeb72w519ac28ca73f24d7@mail.gmail.com> References: <3b2ddd940803062347w3fefeb72w519ac28ca73f24d7@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi Siraj, Thus spoke Siraj Shaikh on Friday, 7 March 2008 at 7:47:19 +0000: > Hello > > I am just wondering if there is a utility (or any feature in FreeBSD) > that allows me to manually open a TCP port on a machine. I am looking > for a way that could either allow me to open ALL or many TCP ports on > a machine. nc -l <port> bash: for ((i=1025; i<1035;i++)); do nc -l $i; done > Also, is there any way of running a service on more than a single > port, or on all or many ports? If you load a service and bind them to a port according to different set of configurations, it should be possible but I do not know why one might do that especially if it has dependencies on lot of other things. But it is possible definitely. -- Cheers, Bikal KC (Please use: nepbababucxspamfree_at_yahoo DOT ca) Journal: http://nepbabu.livejournal.com || pubkey: see header "Rule 6: There is no Rule 6." - Rob Pike "Those who can make you believe absurdities, can make you commit atrocities." - François-Marie Arouet [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: http://www.fossnepal.org iD8DBQFH0P2rcd1dCF2uO+URAok1AJwJdgYhOQLFsC8l9v60+tbMYoH0DACbBbk4 8NZTVCyX1MxbTpRoQKS3r4o= =clKn -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080307083243.GB9838>
