No, but let's wait for someone to confirm that it's also not working for them after making the msmtp change.Lantis wrote:Broken pipe is ok. So did it actually function sending the email?
Gargoyle 1.11.0 Release Candidate 1
Moderator: Moderators
Re: Gargoyle 1.11.0 Release Candidate 1
-
- Posts: 75
- Joined: Fri Aug 16, 2013 3:59 pm
Re: Gargoyle 1.11.0 Release Candidate 1
Correct.Lantis wrote:Is your DNS not hosted on the router, but another device?doug_porsche wrote:Probably been talked about, but.
Guest network does not find any DNS.
It will let me connect to my guest network, just no DNS, so useless.
Custom DNS Servers
NETGEAR WNDR3700v4 or an old Soup can with string. So hard to tell these days.
Re: Gargoyle 1.11.0 Release Candidate 1
So the way the guest network operates is it completely isolates the guests from the rest of the LAN. So if your DNS is in a different part of your LAN, and not located on the router itself or the WAN, you’re in trouble.
I think this is an oversight in the implementation.
I’m going to try to work on a fix, but it will take a bit of time.
I think this is an oversight in the implementation.
I’m going to try to work on a fix, but it will take a bit of time.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Gargoyle 1.11.0 Release Candidate 1
I still have the DNS issue as well. If the guest client has the router as DNS, no resolution occurs. Changing what the router has set as DNS server makes no difference.Lantis wrote:So the way the guest network operates is it completely isolates the guests from the rest of the LAN. So if your DNS is in a different part of your LAN, and not located on the router itself or the WAN, you’re in trouble.
I think this is an oversight in the implementation.
I’m going to try to work on a fix, but it will take a bit of time.
In the config file
Code: Select all
/etc/config/wireless
Code: Select all
option is_guest_network '1'
Code: Select all
/usr/lib/gargoyle_firewall_util/gargoyle_firewall_util.sh
Looking closer at the ebtables commands
Code: Select all
#Only allow DHCP/DNS access to router for anyone on guest network
ebtables -t filter -A INPUT -i "$lif" -p ARP -j ACCEPT
ebtables -t filter -A INPUT -i "$lif" -p IPV4 --ip-protocol UDP --ip-destination-port 53 -j ACCEPT
ebtables -t filter -A INPUT -i "$lif" -p IPV4 --ip-protocol UDP --ip-destination-port 67 -j ACCEPT
ebtables -t filter -A INPUT -i "$lif" -p IPV4 --ip-destination $lan_ip -j DROP
Code: Select all
root@Gargoyle:~# ebtables --list
Bridge table: filter
Bridge chain: INPUT, entries: 4, policy: ACCEPT
-p ARP -i wlan0-1 -j ACCEPT
-p IPv4 -i wlan0-1 --ip-dst 192.168.250.100 -j DROP
-p ARP -i wlan1-1 -j ACCEPT
-p IPv4 -i wlan1-1 --ip-dst 192.168.250.100 -j DROP
Bridge chain: FORWARD, entries: 2, policy: ACCEPT
-i wlan0-1 --logical-out br-lan -j DROP
-i wlan1-1 --logical-out br-lan -j DROP
Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
Code: Select all
root@Gargoyle:~# ebtables -t filter -A INPUT -i wlan0-1 -p ARP -j ACCEPT
root@Gargoyle:~# iptables -S | grep -i arp
root@Gargoyle:~# ebtables -t filter -A INPUT -i wlan0-1 -p IPV4 --ip-protocol UDP --ip-destination-port 53 -j ACCEPT
Unknown specified IP protocol - UDP.
root@Gargoyle:~# ebtables -t filter -A INPUT -i wlan0-1 -p IPV4 --ip-protocol UDP --ip-destination-port 67 -j ACCEPT
Unknown specified IP protocol - UDP.
root@Gargoyle:~# ebtables -t filter -A INPUT -i wlan0-1 -p IPV4 --ip-destination 192.168.250.100 -j DROP
EDIT :: I can confirm that changing "UDP" to lower case "udp" fixes the DNS issue with guest WiFi.
Re: Gargoyle 1.11.0 Release Candidate 1
Should not it be 17 instead of UDP as per man?
Re: Gargoyle 1.11.0 Release Candidate 1
Thanks for the pointers. I’ll start my investigation there.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Gargoyle 1.11.0 Release Candidate 1
Spot on guys, thanks for doing the investigation.
Fixed with this commit, which will make it into the next RC/final version
https://github.com/ericpaulbishop/gargo ... 5579194ef2
This should be easy enough for people to fix easily on their live routers as well.
Fixed with this commit, which will make it into the next RC/final version
https://github.com/ericpaulbishop/gargo ... 5579194ef2
This should be easy enough for people to fix easily on their live routers as well.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
-
- Posts: 75
- Joined: Fri Aug 16, 2013 3:59 pm
Re: Gargoyle 1.11.0 Release Candidate 1
You all are the best!
updated my gargoyle_firewall_util.sh and now my guest network is working.
updated my gargoyle_firewall_util.sh and now my guest network is working.
NETGEAR WNDR3700v4 or an old Soup can with string. So hard to tell these days.
-
- Posts: 75
- Joined: Fri Aug 16, 2013 3:59 pm
Re: Gargoyle 1.11.0 Release Candidate 1
Pushing my luck here, but....
Is there a way for QOS to include a config/filter for the guest network?
Would be a nice enhancement to say: OoS Download rule.
If logged into the guest network (SSID?) then max BW = X kbps
The way it looks now, it seems a DHCP IP assigned guest's has no limits.
Is there a way for QOS to include a config/filter for the guest network?
Would be a nice enhancement to say: OoS Download rule.
If logged into the guest network (SSID?) then max BW = X kbps
The way it looks now, it seems a DHCP IP assigned guest's has no limits.
NETGEAR WNDR3700v4 or an old Soup can with string. So hard to tell these days.
Re: Gargoyle 1.11.0 Release Candidate 1
There was a post many years ago about implementing a guest network. In the end a quick fix was made knowing that many features were missing.doug_porsche wrote:Pushing my luck here, but....
Is there a way for QOS to include a config/filter for the guest network?
Would be a nice enhancement to say: OoS Download rule.
If logged into the guest network (SSID?) then max BW = X kbps
The way it looks now, it seems a DHCP IP assigned guest's has no limits.