Re: port forward

2003-12-03 Thread Mohsin Rahman
This might help too:

/usr/ports/net/bounce

pkg-descr:

A little program to bounce tcp connections to another machine/port.
By default it listens on port 1523.

Author: Roger Espel Llima
WWW: http://www.iagora.com/~espel/hacks.html

--
Mohsin Rahman
[EMAIL PROTECTED]


- Original Message - 
From: Mike Berning [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 11:53 PM
Subject: Re: port forward


 The method suggested by Sunil will work fine but if you plan on using
 multiple redirects I would recommend doing this in rc.conf
 natd_flags=-config /etc/natd.conf

 and placing the multiple redirects into the file /etc/natd.conf like this
 redirect_port tcp 192.168.0.100:5900 5900

 HTH

 mike

 Sunil Sunder Raj wrote:

  Hi,
 
  In rc.conf you need
  natd_flags=-redirect_port tcp 192.168.0.100:5900 5900
 
  Regards
  SSR



 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: port forward

2003-12-02 Thread Sunil Sunder Raj
Hi,

In rc.conf you need
natd_flags=-redirect_port tcp 192.168.0.100:5900 5900
Regards
SSR

From: Peter Kok [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: port forward
Date: Mon, 01 Dec 2003 22:46:43 -0500
--
Hi all
Does freebsd provide port forward when using the nat?

If yes, how can I forward?

I would like to forward the window port (192.168.0.100:5900) to map to
the freebsd (public address:5900)
Thank you very much
Peter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Download cool KHNH ringtones. Add style to your mobile. 
http://server1.msn.co.in/sp03/gprs/howcani_ring.asp Simply click here.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port forward

2003-12-02 Thread Mike Berning
The method suggested by Sunil will work fine but if you plan on using 
multiple redirects I would recommend doing this in rc.conf
natd_flags=-config /etc/natd.conf

and placing the multiple redirects into the file /etc/natd.conf like this
redirect_port tcp 192.168.0.100:5900 5900
HTH

mike

Sunil Sunder Raj wrote:

Hi,

In rc.conf you need
natd_flags=-redirect_port tcp 192.168.0.100:5900 5900
Regards
SSR


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port forward

2003-12-01 Thread ana
i dont know if this helps
but you can use something like this in your ipnat

rdr device x.x.x.x/0 port 5900 - x.x.x.x port 5900 tcp

hope this helps.


 --
 Hi all

 Does freebsd provide port forward when using the nat?

 If yes, how can I forward?

 I would like to forward the window port (192.168.0.100:5900) to map to
 the freebsd (public address:5900)


 Thank you very much
 Peter
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port forward

2003-12-01 Thread Clayton F
For security purposes, I ssh tunnel with a port forward to use vnc from 
remote locations

For example:

 sudo ssh -L  5900:192.168.0.100:5900 
[EMAIL PROTECTED]

Hope this helps...
--Clayton
On Dec 1, 2003, at 7:46 PM, Peter Kok wrote:

--
Hi all
Does freebsd provide port forward when using the nat?

If yes, how can I forward?

I would like to forward the window port (192.168.0.100:5900) to map to
the freebsd (public address:5900)
Thank you very much
Peter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]