Hi
I have SuSEfirewall2 running on 192.168.1.2, doing routing for my internal network. This machine also has an external, public ip.
Now I have connected a new server on the network (a controller for sprinklers in the garden). This server is on 192.168.1.210
It runs a service on port 80, which I can access without problems when sitting here on a machine connected to the internal network.
But I need access to this server/service also from the outside, so I try to forward port 18080 to this controller on port 80:
FW_FORWARD_MASQ=“0/0,192.168.1.210,tcp,28080,80 0/0,192.168.1.210,udp,28080,80”
Does not work - I get ‘connection refused’ when trying to connect to my external ip.
I also tried using FW_REDIRECT but also without any luck.
If I was using a cheap hardware router, it would have a section to port-forward where I could easily add the external port and the internal ip/port and have connections forwarded.
But how do I do this when using SuSEfirewall?