Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2003 07:58:41 +0100
From:      "abdul" <freebsd@citizensbankng.com>
To:        "Joshua Lokken" <joshualokken@attbi.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: -redirect_port problem
Message-ID:  <013e01c2fe65$8920dee0$ea640180@abdul>
References:  <004101c2fde2$eb932340$ea640180@abdul> <20030409035218.GB16149@joloxbox.joshualokken.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Joshua,
Yes I rebooted .

Thanks
abdul
----- Original Message -----
From: "Joshua Lokken" <joshualokken@attbi.com>
To: "abdul" <freebsd@citizensbankng.com>
Cc: <freebsd-questions@freebsd.org>
Sent: Wednesday, April 09, 2003 4:52 AM
Subject: Re: -redirect_port problem


> * abdul (freebsd@citizensbankng.com) wrote:
> ==> I use a FreeBSD box (version 4.7) as my Internet Proxy machine. I
presently use the natd daemon to redirect all HTTP
> ==>
> ==> traffic to our web server and POP/SMTP to our mail server. This works
well. A portion of my rc.conf file is:
> ==>
> ==> natd_program="/sbin/natd"       # path to natd, if you want a
different one.
> ==> natd_enable="YES"                # Enable natd (if firewall_enable ==
YES).
> ==> natd_interface="tl0"               # Public interface or IPaddress to
use.
> ==> natd_flags=" -redirect_port tcp 128.1.100.139:80
207.241.164.30:80 -redirect_port tcp 128.1.100.6:25 25 -redirect_port
> ==>
> ==> tcp 128.1.100.6:110 110 -redirect_port tc
> ==> p 128.1.100.7:80 80 "
> ==>
> ==> My Problem
> ==>
> ==> In addition to what I have above, I want to redirect all HTTP traffic
from a particular external server (a public IP) to port
> ==>
> ==> 8080 of a local machine for our mobile banking software. So I modified
my rc.conf as follows:
> ==>
> ==> natd_flags=" -redirect_port tcp 128.1.100.139:8080
241.164.30:80     -redirect_port tcp 128.1.100.6:25 25
> ==>
> ==> -redirect_port tcp 128.1.100.6:110 110 -redirect_port tcp
128.1.100.7:80 80 "                   #
> ==> I have confirmed that can locally browse to the HTTP based software
running on the local machine in question
> ==>
> ==> (128.1.100.139).
> ==>
> ==> I will appreciate any help.
> ==>
> ==> Thanks
> ==>
>
> Did you restart natd (reboot, I think) after you made the change?
> Just a thought...
>
> --
> Joshua
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?013e01c2fe65$8920dee0$ea640180>