Solved

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

Posted on 2011-03-22
7
378 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
New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

 
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

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

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

Suggested Solutions

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 …
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

910 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

21 Experts available now in Live!

Get 1:1 Help Now