Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


nih



40 posts

Geek


#173605 29-May-2015 10:33
Send private message

Hi there

My HG659 won't detect my virtual device when it's on the network. Even if I manually create the device in the admin it seems like if it doesn't see it online it won't forward ports to it. Right now accessing port 80 from the outside.

I've set up evil.deceptico.nz to point to my current IP, which is 163.47.221.173.

If I go to http://evil.deceptico.nz/ I get redirected to https://163.47.221.173/html/pub/redirect.asp?origin=aHR0cHM6Ly9ldmlsLmRlY2VwdGljby5uei8= - is this the modem? Because if I go to http://163.47.221.173 I get my HG659 management page.

Seems like I have a stack of problems. Can anyone help?

Create new topic
280 posts

Ultimate Geek


  #1314099 29-May-2015 13:21
Send private message

Your domain resolves to your IP, when a user tries to access your IP the router checks if you are:
inside your lan->HG659 management page
outside your lan->redirect user back to their previous page (or similar)

[I presume based on your information]

nih



40 posts

Geek


  #1314213 29-May-2015 15:58
Send private message

Sounds about right. Not sure where the destination with the ASP url is coming from though.

Any ideas on the virtual mac device not being found by the router? Or is there some way to unlock a superuser mode on the router so I can just do a static forward to an ip address? Or is there something I can run on my windows device that IS found that can re-route by port to the virtual machine?

 
 
 
 


1097 posts

Uber Geek

Trusted

  #1314223 29-May-2015 16:10
Send private message

Is this a Vodafone HG659 by anychance? if so nothing you do will allow you to port forward port 80 as it is taken by the management page.

As for your VM, have you set the virtual NIC as bridge mode?

nih



40 posts

Geek


  #1314241 29-May-2015 16:40
Send private message

Okay, so I managed to ssh in and get a shell. I modified iptables to forward ssh to my virtual box by IP, which worked perfectly. I'm still getting that weird redirect on port 80 however. These are the port 80 rules on the box, including my rule for redirecting web traffic to my VM:

ACCEPT tcp -- anywhere 192.168.1.4 tcp dpt:www
ACCEPT tcp -- anywhere anywhere multiport dports www,https
ACCEPT tcp -- anywhere anywhere multiport dports www,https
DROP tcp -- anywhere anywhere multiport dports ftp,990,www,https,ssh,netbios-ns,netbios-dgm,netbios-ssn,445,37215,37443,telnet

The first rule is the one I added. How do I modify these rules to pass external web traffic to my VM?

nih



40 posts

Geek


  #1314244 29-May-2015 16:42
Send private message

Andib: Is this a Vodafone HG659 by anychance? if so nothing you do will allow you to port forward port 80 as it is taken by the management page.

As for your VM, have you set the virtual NIC as bridge mode?


Yes I have. No matter how I configure it the VM won't show up in the management page as a device, so I've bypassed that entirely.

It looks like I can just modify the iptables rules to get around the strange port 80 configuration it has though, although I have used port forwarding with a bare metal device to capture port 80 traffic before. That's definitely possible. And yep, a Vodafone HG659.

1097 posts

Uber Geek

Trusted

  #1314249 29-May-2015 16:48
Send private message

nih:
Andib: Is this a Vodafone HG659 by anychance? if so nothing you do will allow you to port forward port 80 as it is taken by the management page.

As for your VM, have you set the virtual NIC as bridge mode?


Yes I have. No matter how I configure it the VM won't show up in the management page as a device, so I've bypassed that entirely.

It looks like I can just modify the iptables rules to get around the strange port 80 configuration it has though, although I have used port forwarding with a bare metal device to capture port 80 traffic before. That's definitely possible. And yep, a Vodafone HG659.


If you want to port forward on port 80 you can always flash your 659 with Spark firmware which allows you to turn off the Remote Management over the WAN freeing up port 80.

Create new topic




News »

Freeview On Demand app launches on Sony Android TVs
Posted 6-Aug-2020 13:35


UFB hits more than one million connections
Posted 6-Aug-2020 09:42


D-Link A/NZ extends COVR Wi-Fi EasyMesh System series with new three-pack
Posted 4-Aug-2020 15:01


New Zealand software Rfider tracks coffee from Colombia all the way to New Zealand businesses
Posted 3-Aug-2020 10:35


Logitech G launches Pro X Wireless gaming headset
Posted 3-Aug-2020 10:21


Sony Alpha 7S III provides supreme imaging performance
Posted 3-Aug-2020 10:11


Sony introduces first CFexpress Type A memory card
Posted 3-Aug-2020 10:05


Marsello acquires Goody consolidating online and in-store marketing position
Posted 30-Jul-2020 16:26


Fonterra first major customer for Microsoft's New Zealand datacentre
Posted 30-Jul-2020 08:07


Everything we learnt at the IBM Cloud Forum 2020
Posted 29-Jul-2020 14:45


Dropbox launches native HelloSign workflow and data residency in Australia
Posted 29-Jul-2020 12:48


Spark launches 5G in Palmerston North
Posted 29-Jul-2020 09:50


Lenovo brings speed and smarter features to new 5G mobile gaming phone
Posted 28-Jul-2020 22:00


Withings raises $60 million to enable bridge between patients and healthcare
Posted 28-Jul-2020 21:51


QNAP integrates Catalyst Cloud Object Storage into Hybrid Backup solution
Posted 28-Jul-2020 21:40



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.