Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2003 13:35:04 +0000
From:      Daniel Bye <dan@slightlystrange.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Port Forwarding FreeBSD 4.7_Release
Message-ID:  <20030314133504.GA709@catflap.home.slightlystrange.org>
In-Reply-To: <F0B40624-561D-11D7-AE54-0030654886A6@overdose.com>
References:  <F0B40624-561D-11D7-AE54-0030654886A6@overdose.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 14, 2003 at 01:07:42PM +0000, Matthew Ryan wrote:
> Thanks Dan
> 
> Unfortunately that doesn't seem to work either.

Rats!

> I get this when I enter on the command line:
> 
> natd -n ep0 -redirect_port tcp 192.168.1.241:xxxx xxxx
> 
> natd: Unable to create divert socket.: Operation not permitted

Silly question, I'm almost blushing to ask - you are running the command as
root, yes?

> and no results using the following in /etc/rc.conf:
> 
> natd_flags="-n ep0 -redirect_port tcp 192.168.1.241:xxxx xxxx"
> 
> By the way, the interface is specified already in /etc/rc.conf as 
> follows?:
> 
> natd_interface="ep0"

This will ensure it's picked up at boot time, as Bill stated, but won't
affect the stuff you do on the commandline.

> any other ideas?

If it's not because you are running as a non-root user, no, not really.  

> 
> Ta
> 
> Matthew Ryan
> 
> Matt@overdose.com

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030314133504.GA709>