Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-25-2017, 09:35 PM   #1
LQ Newbie
Registered: Jan 2017
Posts: 2

Rep: Reputation: Disabled
WEBMIN: Remote connection problems (IP)


I am trying to connect my webmin from my mobile iOS phone without any luck, the problem is NOT isolated to mobile browsers as I tried three different devices, mobile, tablet, computer results same. I've also tested on a VPN and proxy same results.

The problem:

When connecting to the address https://(, webmin will redirect the connection to a private IP on my LAN.

( will display 192.168.1.XXX:10000 on my browser and of course, my remote connection is then trying to connect to a LAN address.


I've tested with and without SSL no luck..
I've tried different DNS servers.. no luck
Connecting to Apache is fine, connects okay with correct domain
connecting to any other service on the linuxbox is fine

Recent activity:

was testing out DNS BIND, didn't like it got rid of it,
changed DNS proxy on router to route ( to private ip so
SIP phones could work without having to manually change from LAN IP to domain every time I leave the Network Coverage Area. (not literally) points to a private ip 192.168.1.XXX (same as the problem IP) when on the LAN network.


Network parameters are static IP 192.168.1.XXX with public DNS servers to avoid any trouble. DNS from the box points to google


I suspect that webmin is not using the public DNS and is somehow using the LAN DNS proxy which is telling my browser to connect to 192.168.1.XXX


DNS cache needs to be flushed on webmin to update it since I was fking around with the DNS BIND before which had it point there.

any input or help with this problem would be great because im stuck

Log files:

No further information regarding this issue indicated in the debugging log file
the access log file doesn't even show an attempt made from any public (remote) ip - except in past before problem


performed nslookup from the server on ( and it is coming back with the correct public IP not the LAN IP.

Flushed DNS with sudo /etc/init.d/nscd restart .. no effect

Last edited by dayton; 01-25-2017 at 10:03 PM. Reason: more info
Old 01-26-2017, 12:10 AM   #2
LQ Newbie
Registered: Jan 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Problem resolved

I've seem to have resolved the problem by flushing the server box dns cache and deleting the arp tables, got a fresh update from the dhcp server to assign an ip then changed back to static.

on the iOS side, I had to go into settings --> Safari --> Clear history and website data, which flushes the dns

now it works


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
X11 Remote connection problems RogueWarrior65 Linux - Networking 3 03-04-2016 04:41 PM
Problems with remote connection bet. Linux and Win using SSH and Putty cucolin@ Ubuntu 4 10-02-2006 11:53 PM
Mysql Remote Connection Problems harbringer Linux - Software 5 04-14-2005 03:42 PM
problems getting remote ssh/X connection working fabs Linux - Newbie 6 03-01-2004 11:24 PM
Remote login dial-up connection problems Sikoliwe Linux - Networking 1 01-16-2004 06:36 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration