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

Ultimate Geek
+1 received by user: 39


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

 
 
 
 


993 posts

Ultimate Geek
+1 received by user: 652

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.

993 posts

Ultimate Geek
+1 received by user: 652

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



Twitter and LinkedIn »



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 »

New Zealand PC Market declines on the back of high channel inventory, IDC reports
Posted 18-Jun-2019 17:35


Air New Zealand uses drones to inspect aircraft
Posted 17-Jun-2019 15:39


TCL Electronics launches its first-ever 8K TV
Posted 17-Jun-2019 15:18


E-scooter share scheme launches in Wellington
Posted 17-Jun-2019 12:34


Anyone can broadcast with Kordia Pop Up TV
Posted 13-Jun-2019 10:51


Volvo and Uber present production vehicle ready for self-driving
Posted 13-Jun-2019 10:47


100,000 customers connected to fibre broadband network through Enable
Posted 13-Jun-2019 10:35


5G uptake even faster than expected
Posted 12-Jun-2019 10:01


Xbox showcases 60 anticipated games
Posted 10-Jun-2019 20:24


Trend Micro Turns Public Hotspots into Secure Networks with WiFi Protection for Mobile Devices
Posted 5-Jun-2019 13:24


Bold UK spinoff for beauty software company Flossie
Posted 2-Jun-2019 14:10


Amazon Introduces Echo Show 5
Posted 1-Jun-2019 15:32


Epson launches new 4K Pro-UHD projector technology
Posted 1-Jun-2019 15:26


Lenovo and Qualcomm unveil first 5G PC called Project Limitless
Posted 28-May-2019 20:23


Intel introduces new 10th Gen Intel Core Processors and Project Athena
Posted 28-May-2019 19:28



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.