su-3.2# ipnat -l
List of active MAP/Redirect filters:
map fxp0 172.16.172.16/32 -> 0.0.0.0/32
rdr fxp0 0.0.0.0/0 port 22 -> 172.16.172.16 port 22 tcp

List of active sessions:
su-3.2#

this configuration seems to be working just like i wanted it, i just
wanted to make sure its correct in terms of networking
first rule provides "NAT" for whatever coming out from
172.16.172.16/32 to everything outside
rdr rule is redirects port 22 tcp from outside to 172.16.172.16/32

a little confusion i get is due to in first rule there is 0.0.0.0/32
and in second rule there is 0.0.0.0/0


On Wed, Apr 30, 2008 at 1:35 AM, Olivier GARNIER <[EMAIL PROTECTED]> wrote:
> Other informations ?
> Have you try to login in ssh from your ssh server computer ?
> Is it working ?
>
> Have you try nmap on your ssh server computer tu see if 22 port is open ?
> Can you show us what is the ssh commande you type to try to connect ?
>
>
> -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] De la part de alexus
> Envoyé : mercredi 30 avril 2008 03:35
> À : freebsd-questions@freebsd.org
> Objet : Re: ipnat
>
>
> anyone?
>
> On Tue, Apr 29, 2008 at 5:33 PM, alexus <[EMAIL PROTECTED]> wrote:
> > i can't seem to figure this out
> >
> >  su-3.2# ipnat -l
> >  List of active MAP/Redirect filters:
> >  rdr fxp0 0.0.0.0/32 port 22 -> 172.16.172.16 port 22 tcp
> >
> >  List of active sessions:
> >  su-3.2# netstat -tan | grep LISTEN | grep 22
> >  tcp4       0      0  172.16.172.16.22       *.*                    LISTEN
> >  su-3.2#
> >
> >  i'm trying to ssh from outside, no luck :(
> >
> >  --
> >  http://alexus.org/
> >
>
>
>
> --
> http://alexus.org/
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>



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

Reply via email to