On 06-10-2014 20:59, stan wrote:
> I have a pf configuration which corectly fowards external conections to
> port 5432 on a machine on the inside. Iam trying to set up a machine on the
> outside to use ssh port fowarding to send ackets to port 5432 on the
> machine runing pf (firewall). Here is my ssh command line:
>
> ssh -v -v -v -g -f -L 6030:phfw1:5432 stan@phfw1 -N
>
> I keep getting errrs in auth.og about falure to connect on that port.
>
> Any idea what I am ding wrong?
>
>
>
Very confusing. But if I understood correctly, you are trying to make a
tcp port on a machine behind your firewall, available to others, in your
internal lan, to others, right? Well, for starters, I wouldn't use dns
names on the port forwarding part. It's prone to errors, not to mention
the fact that you'll get confused wheter the name is resolved locally or
remote. But it's remote, IIRC. In your case, you need to add your ip
address to the forwarding. In your case, it would become:

-L <LOCAL IP>:6030:<REMOTE SIDE IP>:5432

If it's not this that you want, please clarify.

Cheers,

[demime 1.01d removed an attachment of type application/pkcs7-signature which 
had a name of smime.p7s]

Reply via email to