Re: combination of ssh port fowarding and pf redirection

2014-10-10 Thread stan
On Thu, Oct 09, 2014 at 07:27:37AM -0300, Giancarlo Razzolini wrote: On 08-10-2014 18:25, stan wrote: Anyone have any sugestions as to how to make this work? Did you try the suggestion I gave you off list, of making two ssh connections? Also, you could provide more details of your setup? Both

Re: combination of ssh port fowarding and pf redirection

2014-10-09 Thread Giancarlo Razzolini
On 08-10-2014 18:25, stan wrote: Anyone have any sugestions as to how to make this work? Did you try the suggestion I gave you off list, of making two ssh connections? Also, you could provide more details of your setup? Both your e-mails trying to explain it, were confusing. I think I understood

Re: combination of ssh port fowarding and pf redirection

2014-10-08 Thread stan
Anyone have any sugestions as to how to make this work? On Tue, Oct 07, 2014 at 07:32:53PM -0400, stan wrote: Sorry that I did not make this clear. Here s what I am tryin to do, I have a DB server behind a OpenbSD firewall that we control. I have a non routable nework behind it that connect

Re: combination of ssh port fowarding and pf redirection

2014-10-07 Thread stan
Sorry that I did not make this clear. Here s what I am tryin to do, I have a DB server behind a OpenbSD firewall that we control. I have a non routable nework behind it that connect outbound doing NAT, and inbound using rt fowarding. I have this wrking so that mahines on the orporate network can

combination of ssh port fowarding and pf redirection

2014-10-06 Thread stan
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

Re: combination of ssh port fowarding and pf redirection

2014-10-06 Thread stan
BTW here is the error mesage from auth.log authlog:Oct 6 13:40:45 phfw1 sshd[13604]: error: connect to phfw1 port 5432 failed: Connection refused On Mon, Oct 06, 2014 at 07:59:10PM -0400, stan wrote: I have a pf configuration which corectly fowards external conections to port 5432 on a

Re: combination of ssh port fowarding and pf redirection

2014-10-06 Thread Giancarlo Razzolini
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