Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: j_radue on November 11, 2020, 04:49:09 PM

Title: Port Forwarding Question
Post by: j_radue on November 11, 2020, 04:49:09 PM
I am having trouble getting port forwarding to work on my server. What log files would I look at to see why the connection is being refused?
Title: Re: Port Forwarding Question
Post by: brianr on November 11, 2020, 08:54:24 PM
Not sure about the logs (/var/log/messages would be a start), but it would be useful if you told us what values you are putting into the port forwarding panel.
Title: Re: Port Forwarding Question
Post by: j_radue on November 11, 2020, 08:59:23 PM
Protocol   Source Port(s)   Destination Host IP Address   Destination Port(s)   Allow Hosts   Rule Comment   Action
TCP          8081                   10.10.1.232                           80                                                                Remove

Title: Re: Port Forwarding Question
Post by: brianr on November 12, 2020, 11:49:44 AM
Protocol   Source Port(s)   Destination Host IP Address   Destination Port(s)   Allow Hosts   Rule Comment   Action
TCP          8081                   10.10.1.232                           80                                                                Remove

and the ip address of your local subnet?
Title: Re: Port Forwarding Question
Post by: j_radue on November 12, 2020, 02:54:01 PM
and the ip address of your local subnet?

I have never used that before.  This approach I listed above worked a while back.  What values do you think I am missing?
Title: Re: Port Forwarding Question
Post by: brianr on November 12, 2020, 03:49:10 PM
I have never used that before.  This approach I listed above worked a while back.  What values do you think I am missing?

I wanted to check that your destination host address was within your local subnet.

I am assuming that the Server manager panel accepts your input without errors?
Title: Re: Port Forwarding Question
Post by: j_radue on November 12, 2020, 04:22:46 PM
I wanted to check that your destination host address was within your local subnet.

I am assuming that the Server manager panel accepts your input without errors?

No errors. I was hoping to find some log or error that would indicate why the connection is refused.
Title: Re: Port Forwarding Question
Post by: ReetP on November 12, 2020, 08:13:02 PM
Go to your server-manager and look down the bottom left for Report a bug and then run Configuration Report and post that here.

Your server should be in server gateway mode I think?

What is your internal network?

10.10.1.x ?

Quote
This approach I listed above worked a while back.

When? What have you changed?

I suspect the logs you want might be in /var/logs/iptables but the first place to check is messages to see if there are qny errors when you create a rule.

Note... ask these questions because we have no idea about your setup and need to understand it.