Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 ... 4 5 [6] 7

Author Topic: HG612 - Access GUI Over WAN  (Read 21823 times)

tickmike

  • Kitizen
  • ****
  • Posts: 3640
  • Yes Another Penguin !. :)
Re: HG612 - Access GUI Over WAN
« Reply #75 on: April 28, 2016, 12:49:18 PM »


This thread is about getting stats through LAN1  ???
I will go and get on with putting my oak floor down and get a eye test booked  :blush:
Logged
I have a set of 6 fixed IP's From  Eclipse  isp.BT ADSL2(G992.3) line>HG612 as a Modem, Bridge, WAN Not Bound to LAN1 or 2 + Also have FTTP (G.984) No One isp Fixed IP >Dual WAN pfSense (Hardware Firewall and routing).> Two WAN's, Ethernet LAN, DMZ LAN, Zyxel GS1100-24 Switch.

SignedAdam

  • Member
  • **
  • Posts: 58
Re: HG612 - Access GUI Over WAN
« Reply #76 on: April 28, 2016, 04:20:52 PM »

so what does everyone want me to test, remember, make it very clear, I dont talk networking binary language just yet

I recall you saying,

1) Untick bindings. from Basic - WAN - port 1 and 2

2) how do i enter the firewall settings in to the interface, so tell me what to press on the firewall tab, and what to enter, if we cant enter them in to the user interface, then there is no point in proceeding with this, as the firewall settings will reset everytime there is a power cut, shame the router cant force the modem in the right place and everything, because the router can save its command settings

3) Set the 2nd LAN subnet on router, im guessing this is the

Code: [Select]
ifconfig vlan2:1 192.168.3.253 netmask 255.255.255.0
iptables -t nat -I POSTROUTING ! -s $(nvram get lan_ipaddr) -d 192.168.3.0/24 -j SNAT --to 192.168.3.253

command ?
« Last Edit: April 28, 2016, 04:24:11 PM by SignedAdam »
Logged
I'm a geek on his own

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7403
  • VM Gig1 - AAISP CF
Re: HG612 - Access GUI Over WAN
« Reply #77 on: April 28, 2016, 04:32:34 PM »

dray needs to answer, I havent plugged in the hg612 since I did the guide.

He thinks its as simple as one change in the GUI if I understand him correctly.
Logged

SignedAdam

  • Member
  • **
  • Posts: 58
Re: HG612 - Access GUI Over WAN
« Reply #78 on: April 28, 2016, 04:43:11 PM »

That would be much more easyer than doing it in telnet for n00bs, my Chrysalis friend :) dont worry, if it fails, i will be doing everything you said still, your still a legend
Logged
I'm a geek on his own

Dray

  • Kitizen
  • ****
  • Posts: 2361
Re: HG612 - Access GUI Over WAN
« Reply #79 on: April 28, 2016, 04:47:21 PM »

As far as I can see, all you need to do is

1) Untick bindings. from Basic - WAN - port 1 and 2
2) Give the modem the address 192.168.3.1 netmask 255.255.255.0 in Basic - LAN - LAN Host Settings

3) Apply those settings from before to the router (I'll just go and see if I can find them) Yeah these:
Quote
3) go to the command line and enter one by one :
Code: [Select]
ifconfig vlan2:1 192.168.3.253 netmask 255.255.255.0
iptables -t nat -I POSTROUTING ! -s $(nvram get lan_ipaddr) -d 192.168.3.0/24 -j SNAT --to 192.168.3.253
Although I have to say I don't actually understand what these are doing because as I mentioned I use pfSense which does it in a different way.
« Last Edit: April 28, 2016, 04:53:14 PM by Dray »
Logged

SignedAdam

  • Member
  • **
  • Posts: 58
Re: HG612 - Access GUI Over WAN
« Reply #80 on: April 29, 2016, 07:14:00 AM »

WELL DONE Dray!

with your settings, im able to gain access to the modem

I'm still testing here, we will have to see what happens when the firewall settings go on a powercut

please list how you do it with "pfSense" the more ways we have of doing this, the more chance people will get GUI Over WAN working
« Last Edit: April 29, 2016, 07:17:06 AM by SignedAdam »
Logged
I'm a geek on his own

Dray

  • Kitizen
  • ****
  • Posts: 2361
Re: HG612 - Access GUI Over WAN
« Reply #81 on: April 29, 2016, 07:22:23 AM »

I've already linked to the instructions for pfSense, but in my case I'll update this thread if I ever get round to trying it as my set up is a bit more bizarre.

Excellent news, thanks for doing it  :thumbs: :dance: :yay:
« Last Edit: April 29, 2016, 07:27:59 AM by Dray »
Logged

SignedAdam

  • Member
  • **
  • Posts: 58
Re: HG612 - Access GUI Over WAN
« Reply #82 on: April 29, 2016, 07:33:11 AM »

Now, I guess, theres still the firewall, does anyone know how to enter the following strings,

Code: [Select]
iptables -I INPUT_SERVICE_ACL -i br1 -s 192.168.3.253 -p ICMP -j ACCEPT
iptables -I INPUT_SERVICE_ACL -i br1 -s 192.168.3.253 -p TCP --dport 80 -j ACCEPT
iptables -I INPUT_SERVICE_ACL -i br1 -s 192.168.3.253 -p TCP --dport 23 -j ACCEPT
iptables -t nat -I PRE_SERVICE_ACL -i br1 -s 192.168.3.253 -p ICMP -j ACCEPT
iptables -t nat -I PRE_SERVICE_ACL -i br1 -s 192.168.3.253 -p TCP --dport 80 -j ACCEPT
iptables -t nat -I PRE_SERVICE_ACL -i br1 -s 192.168.3.253 -p TCP --dport 23 -j ACCEPT

in to the GUI, with out telnet or any command lines but the interface of the HG612,

* Basically I need someone to translate the code above in to a string of imputs, to imput in to the interface, as shown in the image bellow, it can be done
« Last Edit: April 29, 2016, 07:44:32 AM by SignedAdam »
Logged
I'm a geek on his own

Dray

  • Kitizen
  • ****
  • Posts: 2361
Re: HG612 - Access GUI Over WAN
« Reply #83 on: April 29, 2016, 07:57:45 AM »

It would help if we knew what those commands actually do :shrug2:
Logged

SignedAdam

  • Member
  • **
  • Posts: 58
Re: HG612 - Access GUI Over WAN
« Reply #84 on: April 29, 2016, 09:00:27 AM »

I've just found out the hardway, it's if you have a custom setup within the modem, for ports and address, but if you keep it as default, you dont get blocked by the modems firewall, so keep the setting as "Standard" setting, dont change anything to do with the modems firewall, and you will find you can connect to it like Dray, so this is where your going wrong Chrysalis, dont mess with the modems firewall


If anyone runs in to the modem blocking you, with its firewall, try changing your ethernet ip to 192.168.3.100, then connect by lan two, you will be able to login at 192.168.3.1, then reset to default and try again
« Last Edit: April 29, 2016, 10:01:07 AM by SignedAdam »
Logged
I'm a geek on his own

d2d4j

  • Kitizen
  • ****
  • Posts: 1103
Re: HG612 - Access GUI Over WAN
« Reply #85 on: April 29, 2016, 09:54:10 AM »

Hi signedadam

I just had a quick look at hg612, and setting those up in hg612 looks simple to complete

I can take pictures as I'm not looking at it now, but login to hg612, advanced, firewall, select custom, give it a name, submit, click acl, add in http, telnet etc, submit and test

Many thanks

John
Logged

Dray

  • Kitizen
  • ****
  • Posts: 2361
Re: HG612 - Access GUI Over WAN
« Reply #86 on: April 29, 2016, 09:57:34 AM »

updated my reply, no firewall settings needed if you keep it as default settings, "normal" mode for the firewall

I think you mean Firewall Level: Standard
Logged

SignedAdam

  • Member
  • **
  • Posts: 58
Re: HG612 - Access GUI Over WAN
« Reply #87 on: April 29, 2016, 10:06:17 AM »

correct, i mean "Standard" firewall settings allow you to connect to the modem GUI with out the need of editing any firewall ports on the modem

now that I have a permanent solution, which wont stop working if theres a power cut, I will make a guilde for n00bs to follow,

Thank you both Dray + Chrysalis for the permanent solution,

* d2d4j thanks for taking alook, we sorted it  :fingers:

* dont use firefox 64x, it wont show the modem
Logged
I'm a geek on his own

Dray

  • Kitizen
  • ****
  • Posts: 2361
Re: HG612 - Access GUI Over WAN
« Reply #88 on: April 29, 2016, 10:09:58 AM »

Brilliant  :yay:
Logged

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7403
  • VM Gig1 - AAISP CF
Re: HG612 - Access GUI Over WAN
« Reply #89 on: April 29, 2016, 10:27:03 AM »

I've just found out the hardway, it's if you have a custom setup within the modem, for ports and address, but if you keep it as default, you dont get blocked by the modems firewall, so keep the setting as "Standard" setting, dont change anything to do with the modems firewall, and you will find you can connect to it like Dray, so this is where your going wrong Chrysalis, dont mess with the modems firewall


If anyone runs in to the modem blocking you, with its firewall, try changing your ethernet ip to 192.168.3.100, then connect by lan two, you will be able to login at 192.168.3.1, then reset to default and try again

those rules dont block anything, they just poke a hole to allow the lan second subnet traffic on the br1 interface (by default blocked on the shipped configuration).

As for the change dray recommended, I am glad it works, although compared to how other routers behave this is inconsistent.
Logged
Pages: 1 ... 4 5 [6] 7