Version 1.5.9 - Plugins Interface

The latest news about Gargoyle

Moderator: Moderators

Post Reply
excelsi
Posts: 29
Joined: Sat Sep 08, 2012 7:44 am

Re: Version 1.5.9 - Plugins Interface

Post by excelsi »

Hello,

i have again massive OpenVpn Problems since i run this firmware on 1043ND.
These problems i had already in version 1.5.7: http://www.gargoyle-router.com/phpbb/vi ... f=8&t=3180
In version 1.5.8 all was running fine then.
Can you help me out or approve for this problem.

7PBHChD
Posts: 14
Joined: Tue Jan 08, 2013 6:55 am

Re: Version 1.5.9 - OpenVPN

Post by 7PBHChD »

yc3948 wrote:do you know how to fix it?
7PBHChD wrote: Through Gargoyle gateway goes traffic only to your local Gargoyle subnet (192.168.1.0 in my case)
I'm not sure, need some time to investgate but there is official manual for the case of routing of all the traffic through OpenVPN here.
Model:TP-Link TL-WR1043N/ND v1
Gargoyle Version:1.5.X (Built 20130404-0612 git@8db2ea1)

7PBHChD
Posts: 14
Joined: Tue Jan 08, 2013 6:55 am

Re: Version 1.5.9 - OpenVPN

Post by 7PBHChD »

7PBHChD wrote:
yc3948 wrote:do you know how to fix it?
7PBHChD wrote: Through Gargoyle gateway goes traffic only to your local Gargoyle subnet (192.168.1.0 in my case)
I'm not sure, need some time to investgate but there is official manual for the case of routing of all the traffic through OpenVPN here.
I've found some caveat in my config.
I had no Allow rule for my OpenVPN client on the Gargoyle gateway.
As soon as I added it's address to the Exceptions list i can browse Internet through my Gargoyle.
Check this out.
If it won't be enough we can change ccd with custom route for the client.
Model:TP-Link TL-WR1043N/ND v1
Gargoyle Version:1.5.X (Built 20130404-0612 git@8db2ea1)

yc3948
Posts: 164
Joined: Sat Sep 10, 2011 1:04 am

Re: Version 1.5.9 - OpenVPN

Post by yc3948 »

Thanks for share this, I think you locat the problem now, but could you find way ti fix it? Thank you very much
7PBHChD wrote:
yc3948 wrote:do you know how to fix it?
7PBHChD wrote: Through Gargoyle gateway goes traffic only to your local Gargoyle subnet (192.168.1.0 in my case)
I'm not sure, need some time to investgate but there is official manual for the case of routing of all the traffic through OpenVPN here.
Buffalo WZR-HP-G300NH2 DD-WRT v24SP2-MULTI (10/31/11) std
Buffalo WZR-HP-G300NH Gargoyle 1.5.9+1f082daf
Linksys WRT54GL Gargoyle 1.4.4
TP-Link TL-WR1043ND Gargoyle 1.5.9+1f082daf

yc3948
Posts: 164
Joined: Sat Sep 10, 2011 1:04 am

Re: Version 1.5.9 - OpenVPN

Post by yc3948 »

Sorry I'm not understand this... But I know gargoyle allow you use ssh into the router make the change include all system file. I use WinSCP to make the change, and PuTTY for the command
7PBHChD wrote:
7PBHChD wrote:
yc3948 wrote:do you know how to fix it?
7PBHChD wrote: Through Gargoyle gateway goes traffic only to your local Gargoyle subnet (192.168.1.0 in my case)
I'm not sure, need some time to investgate but there is official manual for the case of routing of all the traffic through OpenVPN here.
I've found some caveat in my config.
I had no Allow rule for my OpenVPN client on the Gargoyle gateway.
As soon as I added it's address to the Exceptions list i can browse Internet through my Gargoyle.
Check this out.
If it won't be enough we can change ccd with custom route for the client.
Buffalo WZR-HP-G300NH2 DD-WRT v24SP2-MULTI (10/31/11) std
Buffalo WZR-HP-G300NH Gargoyle 1.5.9+1f082daf
Linksys WRT54GL Gargoyle 1.4.4
TP-Link TL-WR1043ND Gargoyle 1.5.9+1f082daf

7PBHChD
Posts: 14
Joined: Tue Jan 08, 2013 6:55 am

Re: Version 1.5.9 - OpenVPN

Post by 7PBHChD »

yc3948 wrote:Sorry I'm not understand this... But I know gargoyle allow you use ssh into the router make the change include all system file. I use WinSCP to make the change, and PuTTY for the command
Do you restrict access here http://192.168.1.1/restriction.sh by default?
Model:TP-Link TL-WR1043N/ND v1
Gargoyle Version:1.5.X (Built 20130404-0612 git@8db2ea1)

yc3948
Posts: 164
Joined: Sat Sep 10, 2011 1:04 am

Re: Version 1.5.9 - OpenVPN

Post by yc3948 »

yes I can use WinSCP access restriction.sh on the router /www/restriction.sh and on internet web browsing

Code: Select all

#!/usr/bin/haserl
<?
	# This program is copyright ?2008 Eric Bishop and is distributed under the terms of the GNU GPL
	# version 2.0 with a special clarification/exception that permits adapting the program to
	# configure proprietary "back end" software provided that all modifications to the web interface
	# itself remain covered by the GPL.
	# See http://gargoyle-router.com/faq.html#qfoss for more information
	eval $( gargoyle_session_validator -c "$COOKIE_hash" -e "$COOKIE_exp" -a "$HTTP_USER_AGENT" -i "$REMOTE_ADDR" -r "login.sh" -t $(uci get gargoyle.global.session_timeout) -b "$COOKIE_browser_time"  )
	gargoyle_header_footer -h -s "firewall" -p "restriction" -c "internal.css" -j "table.js restrictions.js" gargoyle firewall

?>

<script>
<!--
	var uci = uciOriginal.clone();
//-->
</script>



<form>
	<fieldset>
		<legend class="sectionheader">Access Restrictions</legend>

		<span id="add_rule_label" style="text-decoration:underline" >New Restriction Rule:</span>

		<div>
			<?
		       sed -e '/<L7OPTIONS>/,$ d' templates/restriction_template
		       sed -e '/^#/ d'  -e "s/\([^ ]* \)\(.*\)/<option value='\1'>\2<\/option>/" /etc/l7-protocols/l7index
		       sed -e '1,/<L7OPTIONS>/ d' templates/restriction_template
                     ?>
			<div>
				<input type="button" id="add_restriction_button" class="default_button" value="Add New Rule" onclick='addNewRule("restriction_rule", "rule_")' />
			</div>
		</div>


		<div id='internal_divider1' class='internal_divider'></div>



		<span id="current_rule_label" style="text-decoration:underline" >Current Restrictions:</span>

		<div id="rule_table_container"></div>

	</fieldset>

		<fieldset>
		<legend class="sectionheader">Exceptions (White List)</legend>

		<span id="add_exception_label" style="text-decoration:underline" >New Exception:</span>

		<div>
			<?
		       sed -e '/<L7OPTIONS>/,$ d' templates/whitelist_template
		       sed -e '/^#/ d'  -e "s/\([^ ]* \)\(.*\)/<option value='\1\2'>\2<\/option>/" /etc/l7-protocols/l7index
		       sed -e '1,/<L7OPTIONS>/ d' templates/whitelist_template
		       ?>

			<div>
				<input type="button" id="add_restriction_button" class="default_button" value="Add New Rule" onclick='addNewRule("whitelist_rule", "exception_")' />
			</div>
		</div>


		<div id='internal_divider1' class='internal_divider'></div>



		<span id="current_exceptions_label" style="text-decoration:underline" >Current Exceptions:</span>

		<div id="exception_table_container"></div>

	</fieldset>
	<div id="bottom_button_container">
		<input type='button' value='Save Changes' id="save_button" class="bottom_button" onclick='saveChanges()' />
		<input type='button' value='Reset' id="reset_button" class="bottom_button" onclick='resetData()'/>
	</div>


	<span id="update_container" >Please wait while new settings are applied. . .</span>
</form>

<!-- <br /><textarea style="margin-left:20px;" rows=30 cols=60 id='output'></textarea> -->

<script>
<!--
	resetData();
//-->
</script>


<?
	gargoyle_header_footer -f -s "firewall" -p "restriction"
?>
7PBHChD wrote:
yc3948 wrote:Sorry I'm not understand this... But I know gargoyle allow you use ssh into the router make the change include all system file. I use WinSCP to make the change, and PuTTY for the command
Do you restrict access here http://192.168.1.1/restriction.sh by default?
Buffalo WZR-HP-G300NH2 DD-WRT v24SP2-MULTI (10/31/11) std
Buffalo WZR-HP-G300NH Gargoyle 1.5.9+1f082daf
Linksys WRT54GL Gargoyle 1.4.4
TP-Link TL-WR1043ND Gargoyle 1.5.9+1f082daf

jorgecorazondeleon
Posts: 48
Joined: Tue Oct 02, 2012 5:27 pm

Re: wr941nd v3.6 BRICK

Post by jorgecorazondeleon »

jorgecorazondeleon wrote:In principle thanks to the people who answered my concern.
Unfortunately, I managed to install the 1.5.9 gargoyle.
But I made a mistake ugly
Since I could not find out how to clone the mac, import settings 1.4.7 !!!gargoyle.
From there, I can not enter the router.
Now assemble the RS232-TTL
Any idea, what are the steps to retrieve it?
I found the solution:
You have to use the serial console

http://wifiar.sytes.net/drupal6/?q=node/10

http://electonicalibre.blogspot.com.ar/ ... 2-ttl.html

It is very important to feed the circuit with 5v but not with 3.3 v does not work.
Use Putty series,
with
speedSpeed ​​(Speed ​​baud) 115 200
Data bits8
Stop bits1
ParitynoneFlow Control: none

I use the commands:"firstboot" command, and then "reboot
After that I can re-enter the gargoyle

AVSTDR
Posts: 6
Joined: Sat Dec 17, 2011 5:59 am

Re: Version 1.5.9 - Plugins Interface

Post by AVSTDR »

I can't use IPTV with router over cable and wi-fi. Is it possible in 1.5.9 firmware? What i need to do (may be install some plugins).
It works on stock firmware without any proxy. Am I need to configure something?
I'm use TL-WR1043ND v1

yc3948
Posts: 164
Joined: Sat Sep 10, 2011 1:04 am

Re: Version 1.5.9 - Plugins Interface

Post by yc3948 »

AVSTDR wrote:I can't use IPTV with router over cable and wi-fi. Is it possible in 1.5.9 firmware? What i need to do (may be install some plugins).
It works on stock firmware without any proxy. Am I need to configure something?
I'm use TL-WR1043ND v1
which FW you use now? I test on 1.4.7 and 1.5.9 all working
Buffalo WZR-HP-G300NH2 DD-WRT v24SP2-MULTI (10/31/11) std
Buffalo WZR-HP-G300NH Gargoyle 1.5.9+1f082daf
Linksys WRT54GL Gargoyle 1.4.4
TP-Link TL-WR1043ND Gargoyle 1.5.9+1f082daf

Post Reply