Koozali.org formerly Contribs.org

Port Forwarding Question

Port Forwarding Question
« 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?

Offline brianr

  • *
  • 926
Re: Port Forwarding Question
« Reply #1 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.
Brian j Read
(retired, for a second time, still got 2 installations though)
.........

Re: Port Forwarding Question
« Reply #2 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


Offline brianr

  • *
  • 926
Re: Port Forwarding Question
« Reply #3 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?
Brian j Read
(retired, for a second time, still got 2 installations though)
.........

Re: Port Forwarding Question
« Reply #4 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?

Offline brianr

  • *
  • 926
Re: Port Forwarding Question
« Reply #5 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?
Brian j Read
(retired, for a second time, still got 2 installations though)
.........

Re: Port Forwarding Question
« Reply #6 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.

Offline ReetP

  • *
  • 2,676
Re: Port Forwarding Question
« Reply #7 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.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation