Solved

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

Posted on 2011-03-22
7
383 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access Required to Read Linux Security Settings and User Permissions 13 150
page view and f5 big ip 4 39
IP range 6 65
Ping general failure windows 7 5 82
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
​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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

730 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