Solved

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

Posted on 2011-03-22
7
375 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
CentOS User Audit 3 78
running production stuff on centos 4 102
DNS/DHCP Issue 5 69
Vmware tools installation in ubuntu 14.04 11 90
​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…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now