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


Topic # 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
279 posts

Ultimate Geek
+1 received by user: 39


  Reply # 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


  Reply # 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?

 
 
 
 


984 posts

Ultimate Geek
+1 received by user: 645

Trusted

  Reply # 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


  Reply # 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


  Reply # 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.

984 posts

Ultimate Geek
+1 received by user: 645

Trusted

  Reply # 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



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Orcon announces new always-on internet service for Small Business
Posted 18-Apr-2019 10:19


Spark Sport prices for Rugby World Cup 2019 announced
Posted 16-Apr-2019 07:58


2degrees launches new unlimited mobile plan
Posted 15-Apr-2019 09:35


Redgate brings together major industry speakers for SQL in the City Summits
Posted 13-Apr-2019 12:35


Exported honey authenticated on Blockchain
Posted 10-Apr-2019 21:19


HPE and Nutanix partner to deliver hybrid cloud as a service
Posted 10-Apr-2019 21:12


Southern Cross and ASN sign contract for Southern Cross NEXT
Posted 10-Apr-2019 21:09


Data security top New Zealand consumer priority when choosing a bank
Posted 10-Apr-2019 21:07


Samsung announces first 8K screens to hit New Zealand
Posted 10-Apr-2019 21:03


New cyber-protection and insurance product for businesses launched in APAC
Posted 10-Apr-2019 20:59


Kiwis ensure streaming is never interrupted by opting for uncapped broadband plans
Posted 7-Apr-2019 09:05


DHL Express introduces new MyDHL+ online portal to make shipping easier
Posted 7-Apr-2019 08:51


RackWare hybrid cloud platform removes barriers to enterprise cloud adoption
Posted 7-Apr-2019 08:50


Top partner named at MYOB High Achievers Awards
Posted 7-Apr-2019 08:48


Great ideas start in Gisborne with hackathon event back for another round
Posted 7-Apr-2019 08:42



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.