Solved

Linux is listen on 127.0.0.1 - I can not change - nevertheless, access from outside?

Posted on 2011-03-22
7
381 Views
Last Modified: 2012-05-11
Dear all,

on my ubuntu-server is a service, which is unfortunately listening on 127.0.0.1 instead of 0.0.0.0. There is no config file to change this.

Is there any possibility, for example with iptables - using NAT - to access on this specific  port?

Thanks a lot.
0
Comment
Question by:it-mpib
7 Comments
 
LVL 8

Expert Comment

by:pilson66
ID: 35187195
Which service?
0
 

Author Comment

by:it-mpib
ID: 35187201
Sophos Anti-Virus Web UI
0
 
LVL 16

Expert Comment

by:Blaz
ID: 35187640
You could proxy the requests - if it is http traffic than with web proxy (squid, apache mod_proxy).

Otherwise a TCP or UDP proxy (http://en.wikipedia.org/wiki/Netcat, http://www.boutell.com/rinetd/, http://www.xinetd.org/)

Iptables (kernel) has some limitations to redirecting to 127.0.0.1
0
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 
LVL 8

Expert Comment

by:Chris Wong
ID: 35187849
As it is not possible to change the port the Web GUI is listening on, you can do one of the following:
- use command line tools to perform every task that is configurable from the Web GUI. For more details refer to the Sophos Anti-Virus for Linux User Manual.
- use 3rd party tools like rinetd to redirect port 8081 to another additional port to listen on.
http://www.sophos.com/support/knowledgebase/article/110856.html
0
 
LVL 2

Expert Comment

by:maxalarie
ID: 35204505
I suggest you  install VNC  anduse VNC to connect  to it. I read the manual here and I dot think its possible.. http://www.sophos.com/sophos/docs/eng/instguid/linu_sen.pdf
0
 
LVL 2

Accepted Solution

by:
PowerToaster earned 250 total points
ID: 35215555
You could also use rinetd to forward the appropriate port from a normal to the loopback ip.

rinetd.conf
192.168.1.10 80 127.0.0.1 80

0
 

Author Closing Comment

by:it-mpib
ID: 35238977
Thanks a lot
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question