Page 7 of 20

Re: Version 1.5.9 - Plugins Interface

Posted: Sun Jan 13, 2013 8:06 am
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.

Re: Version 1.5.9 - OpenVPN

Posted: Sun Jan 13, 2013 8:10 am
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.

Re: Version 1.5.9 - OpenVPN

Posted: Sun Jan 13, 2013 3:06 pm
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.

Re: Version 1.5.9 - OpenVPN

Posted: Sun Jan 13, 2013 4:07 pm
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.

Re: Version 1.5.9 - OpenVPN

Posted: Sun Jan 13, 2013 4:17 pm
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.

Re: Version 1.5.9 - OpenVPN

Posted: Sun Jan 13, 2013 4:25 pm
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?

Re: Version 1.5.9 - OpenVPN

Posted: Sun Jan 13, 2013 5:02 pm
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?

Re: wr941nd v3.6 BRICK

Posted: Sun Jan 13, 2013 9:52 pm
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

Re: Version 1.5.9 - Plugins Interface

Posted: Mon Jan 14, 2013 3:36 am
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

Re: Version 1.5.9 - Plugins Interface

Posted: Mon Jan 14, 2013 3:43 am
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