[OpenIndiana-discuss] IPNAT redirection.

Gary Gendel gary at genashor.com
Fri Apr 19 10:45:38 UTC 2013


Jon,

I redirect ports fine using nat.  I'm trying to understand what's 
different between your and my setup.  For example in my ipnat.conf file 
I have:

rdr bge0 0.0.0.0/0 port 2022 -> 10.101.1.9 port 22 tcp/udp

Where bge0 is my external nic (bge1 is my internal nic).  BTW, I use 
0.0.0.0/0 so it automatically picks up my external nic's ip address 
(I've have pseudo-dynamic IP from my ISP).

Gary

On 04/19/2013 05:22 AM, Jonathan Adams wrote:
> Actually in the real system I am trying to forward a port from an external
> address (on the internet, the address I hid) to an internal RDP server
> (port 3389 tcp) ... but for testing I forwarded to an internal IMAP server
>
> iprb0 is the external interface, bge0 is the internal.
>
> I added bge0 to see if it was a problem with my external connection.
>
> I enabled the telnet server on the local machine and used ipnat to redirect
> 143 to 23 and that worked ... I was just surprised that I couldn't connect
> to any port on another host.
>
> Anyway, to cut your explanation down, you are basically saying that I
> cannot do "port forwarding" with ipnat?
>
> Jon
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss




More information about the OpenIndiana-discuss mailing list