Page 1 of 1

Accessing Bridged VDSL Modem

Posted: Tue May 24, 2016 6:02 am
by phibreoptix
Hi All,

Hoping for some assistance please.
I recently got upgraded from ADSL to VDSL, when I was on ADSL I was using PPPoE configuration with a bridged modem and now with VDSL I have a bridged modem but must use 'DHCP (Wired)' mode.

When I was on ADSL I was able to access the modem's web interface to view line stats etc, which I setup by following this guide:
https://www.gargoyle-router.com/wiki/do ... ridge_mode

This doesn't seem to work when used on DHCP (Wired) mode.

I've connected directly to the modem and manually set my IP address to one in the modems range (10.0.0.2) and when navigating to 10.0.0.138 am succesfully presented with the web interface.

Is it possible to get this working the same way it was on PPPoE so that I don't need to unplug from my router, plugin to the modem and reconfigure my connection to manually assign an IP address just to check the stats?

Thanks.

Re: Accessing Bridged VDSL Modem

Posted: Tue May 24, 2016 8:19 am
by Lantis
This sounds like an NBN service? :)

Possibly.
I've never tried it.
The idea will be:
Find out the WAN device with "uci get network.wan.ifname"
Then
"iptables -A postrouting_rule -t nat -o $wan_dev -j MASQUERADE"
"iptables -A forwarding_rule -o $wan_dev -j ACCEPT"
"/etc/ppp/ip-up.d/modemaccess.sh firewall $wan_dev"

Where $wan_dev is replaced by the result of the first command we ran.

Alternatively, you could alter line 565 of /usr/lib/gargoyle_firewall_util/gargoyle_firewall_util.sh
From "pppoe" to "dhcp".


Unfortunately I'm terrible with routing otherwise I could give you a more definitive answer.

Re: Accessing Bridged VDSL Modem

Posted: Wed May 25, 2016 5:10 am
by phibreoptix
Yep it's NBN FTTN, the node is literally in front of my house so I'm getting very close to 100/40M speeds.

I took the second approach to modify /usr/lib/gargoyle_firewall_util/gargoyle_firewall_util.sh from "pppoe" to "dhcp" and it is now working, thank you very much :D

This is something that I'd like to see configurable in the web interface, maybe it's time for me to learn what's required on the development side of gargoyle to submit a patch :geek:

Re: Accessing Bridged VDSL Modem

Posted: Wed May 25, 2016 5:16 am
by Lantis
I'm glad you're happy with your NBN service :)

Any extra dev help is always appreciated.
Having this feature switchable is probably very useful as we've just discovered.
If you want to tackle it then please do, otherwise I'll just add it to my ideas list to do at some point.