Rut956 socket I/o pass through settings

Hello. I’m porting a server app from a router that is nearing end of production to the rut956. The app is running on the rut956 but it looks like the firewall is not allowing a pass through on the IP:port. I’ve tried various pass through options on the 956 configuration page but have been unsuccessful. I don’t have a good understanding of the various options that the 956 GUI gives me. The nomenclature is a bit obtuse. I assume this is a configuration that i’m after is very common.

So, the app runs on the native Linux host on the 956. It is waiting to accept(…) on an incoming port on local host. When i try to connect from a client, the accept(…) never occurs. It appears the connection from the client never gets to the local host (127.0.0.1:portnum) on the 956.

What is the pass through configuration that I need to setup to allow this to work?

Thanks in advance.

Dave

Dave

hi, rule should look like this
Source zone: wan if remote or lan if local, you can select any too

Destination zone: device (input)

Destination port: application’s port number

Action: accept

but i think your issue is using the loopback address, try to bind it to listen to all interfaces 0.0.0.0

Thank you for your response but many of those settings are not on the RUT956 Port forwarding page. It has:

match: the port # I want to pass through

forward: LAN 192.168.1.36 (address of my rut956 on lan)

Advanced Enable NAT loopback: off

Please advise if this is the right location to enable port forwarding or if I need to set some other "Traffic Rules” or “NAT Rules” to make this work.

Thank you

One more thing - With the port forwarding configured as in the prior post, the “Counter” on the page gets incremented when the client tries to connect to the server running on the rut956. So, the packet is getting to the 192.168.1.36:8001 endpoint. It just is not getting passed through to the local host 127.0.0.1:8001 on the rut956 so the connection is never accept(..)ed by the server code.

The server code is an app running on the Linux rut956 host as root. The code works on other similar routers.

Thanks

Greetings,

If the counter increases, it indicates that the port forwarding is working correctly. Could you please configure the application to listen on the router’s LAN IP 192.168.1.36:8001 instead of the localhost address, and then test it again?

Best Regards,
Justinas