Search found 7 matches

by lifeis_good_enjoy
Mon Oct 13, 2014 8:33 pm
Forum: Network / Wireless Issues
Topic: NAT Reflection with OpenVPN
Replies: 6
Views: 15322

Re: NAT Reflection with OpenVPN

Fixed a small routing issue, with actual external ips over the vpn. File and diff contained below File: /* * This program is copyright © 2008-2013 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 *...
by lifeis_good_enjoy
Mon Oct 13, 2014 2:57 pm
Forum: Network / Wireless Issues
Topic: NAT Reflection with OpenVPN
Replies: 6
Views: 15322

Re: NAT Reflection with OpenVPN

This results in the file below. As a workaround for others, you may copy this file to /www/js/port_forwarding.js on your gargoyle router to give you port forwards via nat reflection when using openvpn. /* * This program is copyright © 2008-2013 Eric Bishop and is distributed under the terms of the G...
by lifeis_good_enjoy
Mon Oct 13, 2014 2:22 pm
Forum: Network / Wireless Issues
Topic: NAT Reflection with OpenVPN
Replies: 6
Views: 15322

Re: NAT Reflection with OpenVPN

The following diff resolves the issue. It could be cleaned up some but it allows port forwards to work for the vpn zone. diff --git a/package/gargoyle/files/www/js/port_forwarding.js b/package/gargoyle/files/www/js/port_forwarding.js index b74c27f..d44d99e 100644 --- a/package/gargoyle/files/www/js/...
by lifeis_good_enjoy
Mon Oct 13, 2014 1:09 pm
Forum: Network / Wireless Issues
Topic: NAT Reflection with OpenVPN
Replies: 6
Views: 15322

Re: NAT Reflection with OpenVPN

After creating the forwarding rules in the gargoyle ui, I can ssh into the router and duplicate the rules (found in /etc/config/firewall), changing the src to 'vpn'. This works until I make a change in the ui which rewrites vpn back to wan.
by lifeis_good_enjoy
Mon Oct 13, 2014 12:43 pm
Forum: Network / Wireless Issues
Topic: NAT Reflection with OpenVPN
Replies: 6
Views: 15322

Re: NAT Reflection with OpenVPN

I believe this is the issue:

https://dev.openwrt.org/ticket/8546
by lifeis_good_enjoy
Sun Oct 12, 2014 11:19 pm
Forum: Network / Wireless Issues
Topic: NAT Reflection with OpenVPN
Replies: 6
Views: 15322

Re: NAT Reflection with OpenVPN

I have tried fw3 -d reload 2>/tmp/iptables.log to get routing details with no success. It instead just prints the reload output to the log file and the iptables to the screen (shown below) Does anyone with a better understanding of iptables see the issue? iptables -t filter -P INPUT DROP iptables -t...
by lifeis_good_enjoy
Sun Oct 12, 2014 6:27 pm
Forum: Network / Wireless Issues
Topic: NAT Reflection with OpenVPN
Replies: 6
Views: 15322

NAT Reflection with OpenVPN

I have 1.6.2 installed on TP-Link TL-WDR4300 v1. NAT reflection works well with my forwarded ports on my LAN. However when I use Gargoyles OpenVPN Server, I am unable to access a server on my lan using my external domain name and forwarded ports. I am able to access that server directly using its la...