Listening on wrong ip - 127.0.0.1 vs. 0.0.0.0
hi all,
using local ssh port forwarding as follows:
ssh -L [local_port]:[local_host]:[remote_port] [remote_machine]
I found the local port 'binded' to IP 127.0.0.1:
Example: local_port = 30999
# netstat -nlp | grep 30999
tcp 0 0 127.0.0.1:30999 0.0.0.0:* LISTEN 6977/ssh
tcp 0 0 ::1:30999 :::* LISTEN 6977/ssh
For certain reasons it is supposed to be bound to the IP: 0.0.0.0, so
that my desired netstat should look like:
# netstat -nlp | grep 30999
tcp 0 0 0.0.0.0:30999 0.0.0.0:* LISTEN 6977/ssh
...
any ideas how this could be achieved?
tx in advance!
Peter